While the rest of the UK was enjoying a Good Friday lie-in, I dragged myself into Yalding House (home of BBC Radio 1) at 7.30am. I was there to see our new text message system get its first live broadcast use on the Chris Moyles show in a preview of the Ten Hour Takeover.
Noticing the variety in popularity amongst the different topics that the pieces on this site cover, I added a “Most Popular Entries” sidebar to keep track of what people are reading. This is done with a simple application of Apache::ParseLog, XML::RSS, movabletype’s XML-RPC interface and a movabletype plugin.
Today I discovered that a new module, Triplestore.pm, has appeared on CPAN. To my surprise, my triplequerying algorithm is cited at the end of the documentation. Looking through the code, it’s not directly built on the sample code I provided. The implementation looks way cleaner, and has many more features beyond querying. I’m overjoyed to have had some part in this.
New in the right-hand sidebar on the site front page is a little lineup of the 3 latest pictures from picdiary, my photos website. This is created by parsing the RDF in the latest photo collection RSS feed and extracting rss:title, dc:date and foaf:thumbnail information via an MT plugin (src).
Having created RDF summaries for each Movable Type entry, I wanted a way to add extra triples to that RDF. For a first go, it seems reasonable to make any triple that can be added to an entry have that entry as its subject, so I used a shorthand (no subject, namespace-abbreviated) syntax inspired by N-Triples and wrote an MT global filter plugin (src) to transform it into RDF/XML.