Some CLUG Park work

I’ve spent some hours wasted on CLUG Park :-) Here are some improvements:

Rafiq is back:

I’ve been trying to get him to give me a feed to only his posts, but got no response. For a while, I told the park that his feed was, to make my point in 404s in his apache logs, but that didn’t bring me a reply, either :-)

So now I’ve got an XSLT filter in place that strips out other webaddict’s posts.

The Atom feed now has the person’s name at the beginning of the title (like the RSS feed has)


I’ve spent some time beefing up CLUG Park.

All the people who seem clueless about making avatars of the correct dimensions (ahem Rafiq), or cropping all the uncessary transparency around their avatar, I’ve sorted them out.

I’ve also switched us from Planet 2.0, to Planet Venus. This allows us to do funky things like filters (for you geeks with nasty RSS feeds). It also partitions out the theme far better, and above all does multi-threaded RSS harvesting.

Is anyone is keen on a tech-only (or CLUG-only) CLUG park, where we limit the subscriptions down to posts about CLUG or technology (using category RSS feeds), let me know, we can easily do this. While some of us like to read all about what CLUG Park members are up to, others probably only want to read tech-related articles?

More ClugPark work

Well, we’ve now got a custom theme for (by superfly, thanks!) I still want to hack planetplanet to death, but that can wait until they decide on their direction…

In the meantime, I’ve been brushing up my mediawiki hacking for the ClugPark gallery. Mediawiki is a monster! The select query looks like this:

$select = "SELECT page_namespace, page_title, old_text, img_description "
          . "FROM " . $dbr->tableName(‘page’) . " "
          . "LEFT JOIN " . $dbr->tableName(‘revision’) . " ON page_latest = rev_id "
          . "LEFT JOIN " . $dbr->tableName(‘text’) . " ON old_id = rev_text_id "
          . "LEFT JOIN " . $dbr->tableName(‘image’) . " ON page_title = img_name "
          . "INNER JOIN " . $dbr->tableName(‘categorylinks’) . " "
          . "ON page_id = cl_from AND cl_to = " . $dbr->addQuotes($catKey) . " ";
$where = " WHERE page_namespace = " . $wgContLang->getNsIndex(‘Image’) . " "
         . "ORDER BY page_title ";

Yup. Lovely stuff. Anyway, when I’m happy with the extension, I’ll post it somewhere… (Same goes for my other mediawiki extenisons)


I’ve been doing some themeing work on Clug Park, and it’s pretty much ready to go now. It could still do with some theming work, and probably some more blogs (I bet there are other blogging CLUGgers out there).

It seems that PlanetPlanet might switch to an entirely re-written version of it’s software. That shouldn’t be a problem, I think the themes are still compatible.

We’ve hacked our planet to always display 2 entries from every member. If we switch, the hack will have to be ported. Which isn’t a bad thing, I don’t want to pass the patch upstream if planetplanet is about to switch to another trunk, anyway :-)

Syndicate content