New Articles Section

Well, we have a new articles section here on PigPog. Well, i say have – we don’t quite have it yet. But it’s getting there. It’s all done with a PHP page that gets it’s info from a whole pile of text files, much like a lot of PigPog. The files all have dates, authors, sections, and titles encoded into the filename, though, so the PHP page can build various different views from the same data.

Because it knows who wrote the article, and what date, it can make it look like a blog – showing just my entries, or just Sam’s entries, ordered by date. Because it knows what section they go in, though, it can break everything down into sections and subsections neatly too, making a more flexible system than the old alphabetical articles list we had before. It should be fairly easy to make it pick out the newest entries to put on the front page, too.

It’ll probably take until sometime next week to start integrating it into the rest of PigPog, but it should make for a few improvements once it does.