Essential Blogging
by Cory Doctorow, Rael Dornfest, Scott Johnson, Shelley Powers, Benjamin Trott, Mena G. Trott
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access