Welcome to Geoffrey Swift's βlog. Please subscribe to the Atom feed.


delicious fixes / permalink titles

After an extensive break from working on the code for my website, I had a session involving PHP, XSL and C.

The egosurfing page didn't display all links, since del.icio.us limits the number of items returned in an RSS feed. It was trivial to adapt the XSL to use the XML produced by the del.icio.us API, although the HTTP-Authentication aspect was a bit trickier. Since it was necessary to hardcode my password somewhere, I wrote a setgid binary (chmod 2711) in C which is a wrapper for wget. Only my user can read the file which contains the password, but it can still be executed by the Apache process.

Individual blog posts now have a more appropriate <title>, when the permalink is used. The motivation being better exposure in the blogosphere, since the <title> tag being of importance for SEO. This wasn't so much trouble to implement, as I already had the Atom post and web page XHTML in DOM documents.

Comments for this post are now closed.