Tuesday, August 08, 2006

Snag Two

This one might be bigger. Locations. City Names. Places. How to keep them alive when we send stuff to Blogger???

With luck, we'll be able to stuff a little extra information into the Atom XML when we reverse-publish into Blogger. And with even more luck, it will be available to us when we ask Blogger to publish back to us.

For the purposes of our test, let's see if we can convince this entry that it was written in Arusha, Tanzania.



Looks like we can solve it with a simple XML tag:
<blogabond:location locationID="2172"/>

The first big snag

Images. D'oh! Completely forgot about them.

At Blogabond, we store images locally and use little placeholders in the blog entry text to remind us where to show them on the page. I'm not sure quite what Blogger does, but we'll need to make sure we can switch back and forth without breaking anything or mangling anybody's blog. So here's a test:

Cool. Here's an image of Jackie eating tasty curry, and Blogger seems to have simply dumped it in as an HTML Anchor tag. That will be easy to play along with.

And here is an image being pulled straight out of the Blogabond Archives (of Yours Truly running with the bulls). Also done as simple HTML. Looks good so far!

One more photo, centered this time:


And finally, with no formatting at all:


Now to try sending it through the round trip...