Archive for December, 2005

XBEL to OPML

30 December 2005

Here's a tool to translate your XBEL bookmarks to OPML. It's just a quick hack, but it works.

Use Bookmarks Synchronizer to generate an XBEL file from your Firefox bookmarks, upload it, and your bookmarks will be returned in OPML format.

OPML Renderer Plugin

28 December 2005

I've been monkeying around with rendering OPML in WordPress. Finally, I learned how to create a WordPress plugin, so I've created OPML Renderer, a plugin that renders valid OPML from any source as an expandable/collapsible list.

Thanks to iconophobia and the inlineRSS plugin for some code and ideas.

OPML Pages and OPML Sidebar Revisions

12 December 2005

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 »

Firefox Extensions Pocket Lint

9 December 2005

A few Firefox items I need to record:

Hacking Firefox Extensions--ExtremeTech Feature

Bookmarks Synchronizer

When Bookmarks Synchronizer stops autosynchronizing:

When Firefox is started, the bookmarksftp.browsercount is incremented. When Firefox exits, bookmarksftp.browsercount is decremented. Every time Firefox ends abnormally, bookmarksftp.browsercount does not decrement. Autosynchronization only occurs when the browser count is zero. So...

  1. Type about:config in the Firefox location bar.
  2. Search for bookmarksftp.browsercount.
  3. Change the value to 1

All fixed!

WordPress Comment Moderation Tweak

5 December 2005

This is a tweak to the WordPress 1.5 comment moderation function that changes the pluggable function "wp_notify_moderator" to notify the author of the subject post, rather than the site administrator, that a comment is awaiting moderation. If the author does not have an email address or does not possess sufficient rights to moderate comments, then the notification is sen to the site administrator.

Read more »

ftpUpstream script for OPML Editor

4 December 2005

Update

Please refer to this page for a current version and any discussion of this script.

Read more »