I've been working on and off on the next version of the Counter addin for Ode sites.
The last update added counts of photos in the blog's filesystem to the original counts of entries with breakouts for traditional blog entries and social updates (basically counting everything in the whole
documents directory and the
updates directory, then using a little math.
I used the
File::Find CPAN module as the backbone of the addin.
The next thing I wanted to do, also using
File::Find, was to crawl the blog's filesystem and generate a categories list that can be displayed on the site.
So I've been playing with
File::Find, Perl regular expressions and arrays.
I am able to generate an array made up of every directory that contains Ode posts, and I'm working on the regex to make the HTML and display text look exactly the way I want.
At this point I have a pretty good looking array, and I'm ready to move the
Categories code (which I'm developing in a local directory with a "dummy" filesystem) into the main
Counter addin code.
There are still some issues to work out, but as soon as I get the next version of the Counter addin ready, I will make it available for download and also hopefully have it on Github.
That's how it is with @fedora -- something breaks every once in awhile, but it's almost always fixed rather quickly.
Fedora 23 has been suffering from a
sqlite updating issue for the past week or so, but it looks like a fix is on the way.
.@Linux_Mint dammed, no faint praise in sight, for security, packaging and professionalism issues https://lwn.net/Articles/676664
The @reddit community responds to @Linux_Mint's security (and other) issues https://www.reddit.com/r/linux/comments/470pvo/to_conclude_i_do_not_think_that_the_mint
Can't the feds just image an iPhone, reimplement it in software and crack it at their leisure?
How #UbuCon brings a new element to LA's #SCALE show https://daniel.holba.ch/blog/2016/02/trip-report-ubucon-summit-scale14x #Ubuntu @Mark_SABDFL
VCs who miss the point of open source shouldn't fund it http://www.infoworld.com/article/3032120/open-source-tools/vcs-who-miss-the-point-of-open-source-shouldnt-fund-it.html by @webmink
What is @standstormIO? An open-source, easy-to-use server platform for web apps featuring sandbox-based security https://sandstorm.io/
I learn better, or should I say I only learn how to program when I have an actual problem to solve.
My current "problem" is figuring out how to generate more data out of my Ode blog's filesystem for my Ode Counter add-in.
I already report on the number of blog entries, how many are "real" entries and how many are Ode-generated social-media updates, plus how many images are in the filesystem and how many of those appear in actual blog posts.
Another thing I have wanted to do since I began using Ode was have the system generate a Categories/directories list in HTML for both a dedicated "site map" page as well as a sidebar display.