On Patching Wordpress with Atom 1.0

Niklas Lindblad, in the comments to the post on hAtom, wrote to remind me that James Snell has a drop-in replacement for wp-atom.php that will upgrade your Wordpress blog’s Atom feed to 1.0.

In order to use that with PHP 4, apply Niklas’ patch.

Finally, if you don’t want to syndicate your feed’s content as escaped HTML, apply my patch that combines my changes and Niklas’ to James’ code. However, you’re now responsible for making sure your entries are valid XHTML.

Note: after applying the patch, you’ll need to modify the format string passed to the_time to account for your offset from GMT. There’s probably another way to do this.

Possibly Related posts (machine generated):

  1. Crawling Back to 1.0
  2. Atom Feed Roundhouse Kicked in Face
  3. Atomic Live Journal
  4. Atom (0.3) to HTML
  5. Atom Roundup

More like this: , , .

blog comments powered by Disqus