OPML Sidebar Revisions
I made some revisions to my OPML sidebar hack.
I added a more graceful failure when the checkCache function cannot retreive the OPML file, and I also changed the $maxage variable so that its value can be passed via the function call.
In addition, I changed the HTML output to be expandable/collapsible lists. The javascript for this feature is generated by the XSL stylesheet. N.B. Be sure to drop some images in your images subdirectory and edit the XSL to set the appropriate variables to point to your images.
Most importantly, I've renamed the file from opmlSidebar.php to opmlHtmlXslRenderer.php. Why? Because I'm also using it to generate pages in WordPress!
Read more »