Jroller to Typo 4 migration 1323
XORBlog has finally moved to its rightful place at www.xorblog.com. This transition, however, would have been a lot harder had it not been for all the following help:
1. How to get Typo running on Dreamhost
Here are the instructions.
There were no additional steps. The instructions on Aiden's blog were spot on.
2. Get Jroller to generate full RSS 2.0 feed with comments
The instructions came from Null Pointer, but I made a minor change to add the IP tag in comment section with following line:
The full template is here.
3. Import with Typo converter script
Typo comes with a migration script called feed.rb in db/converters directory. Unfortunately, this script doesn't support import of comments, so I extended the script to also import the comment and publish the entries and comments upon import.
Here is the script.
Note: If you don't want the articles and comments to be published. Make sure to comment out following lines in the script:
Run the script:
That's all. Just go to your Shiny New Blog and it should have all the articles and comments.
1. How to get Typo running on Dreamhost
Here are the instructions.
There were no additional steps. The instructions on Aiden's blog were spot on.
2. Get Jroller to generate full RSS 2.0 feed with comments
The instructions came from Null Pointer, but I made a minor change to add the IP tag in comment section with following line:
<ip>$comment.remoteHost</ip>
.The full template is here.
3. Import with Typo converter script
Typo comes with a migration script called feed.rb in db/converters directory. Unfortunately, this script doesn't support import of comments, so I extended the script to also import the comment and publish the entries and comments upon import.
Here is the script.
Note: If you don't want the articles and comments to be published. Make sure to comment out following lines in the script:
a.published_at = a.created_at
a.state = ContentState::Factory.new('published')
a.publish!
Run the script:
ruby fullrssfeed.rb -a <blog_author_name> -u http://jroller.com/page/<username>/<template_name>That's all. Just go to your Shiny New Blog and it should have all the articles and comments.

