Sunday, October 12, 2014

Older blog post imports

Been trying for a couple of days to import my old blog posts to blogger.
The Blogger API is a mess, so i decided to use an XML import.
I am almost there, and would have everything working if there were more test imports allowed by blogger in order to debug my xml.

Anyway, I will do it eventually. I think that I need to do some more text replacements in the xml and for that, I am going to use vim grouping regular expressions i think.

The regexp that worked is: %s/\(....-..-..\) \(..:..:..\)/\1T\2:00.000-00:00/gc

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.