O'Reilly logo

Essential Blogging by Mena G. Trott, Benjamin Trott, Shelley Powers, Scott Johnson, Rael Dornfest, Cory Doctorow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exporting Blogger Data

When you publish within Blogger, you are, in actuality, exporting Blogger data in a templated format, which just happens to be readable in a browser. However, there’s no reason why you can’t export the data using any other template.

As an example of this process, if you eventually decide to move from Blogger to another blog tool such as Movable Type, you can export your existing posts and all associated information into a format that Movable Type can then import.

To demonstrate exporting the Blogger Data, we’ll use the Movable Type Blogger Export template. To download and learn about this, visit:

http://www.movabletype.org/docs/mtmanual_importing.html#exporting%20blogger%20entries

This template is shown in Example 6-9. As you can see, it’s much smaller than your existing template.

Example 6-9. Movable Type blogger export template

<Blogger>
AUTHOR: <$BlogItemAuthor$>
DATE: <$BlogItemDateTime$>
-----
BODY:
<$BlogItemBody$>
--------
</Blogger>

Once you’ve backed up your existing template, copy the Movable Type export template over it and save the change. Next, access the Settings view and the Publishing tab and change the name of the generated file to export.txt, to prevent overwriting your existing blog page. Save this change. Access the Formatting tag next and change the count of postings to cover the number that you want to export. At this time, the value is set to seven days’ worth of posts, which we’ll leave as is.

Tip

If you want to export all your data, just ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required