# Wordpress converter

**URL:** <https://www.ruby-forum.com/t/wordpress-converter/165446>\
**Category:** Typo\
**Created:** [April 14, 2009, 1:39am UTC](https://www.ruby-forum.com/t/wordpress-converter/165446 "2009-04-14T01:39:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Ostrom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d26b3c/32.png) [@Erik\_Ostrom](https://www.ruby-forum.com/u/Erik_Ostrom)\
**Post date:** [April 14, 2009, 1:39am UTC](https://www.ruby-forum.com/t/wordpress-converter/165446/1 "2009-04-14T01:39:38Z")

</div>

Hi. I’m checking out Typo, with an eye to switching my WordPress blog  
away  
from it. It’s neat that there’s a WordPress converter, but it doesn’t  
seem  
to go as far as it could. The first three issues I’ve found:

- It didn’t honor the ‘more’ line in my WordPress posts, although it  
did  
copy the ‘more’ line over. If I go to each post’s edit page and then  
save it  
without making any edits, the ‘more’ line takes effect.
- It copied all my spam comments over from WordPress, but didn’t mark  
them as spam in Typo. That’s how I got 304 comments on a pretty  
obscure  
post.
- When I went to look at the post with 304 comments, it took long  
enough  
that I opted to shut down the server instead. It’s not surprising  
that 304  
comments would take a long time, but it turns out generating HTML for  
just  
one comment takes roughly 30 seconds. It was a long comment, but  
that’s  
excessive.

I’d be happy to try to help fix any or all of these - I think I have a  
grip  
on the first two problems already. I wanted to get some guidance on a  
few  
things:

- It seems the slow part of rendering those comments is BlueCloth.  
First,  
I don’t think these comments are even in Markdown (the legit ones or  
the  
spam). It looks like the default in WordPress is “HTML plus  
blank-lines-indicate-paragraphs”. Should I just set the filter for  
these  
comments to something else? (If so, what?)
- Is BlueCloth really this slow? I noticed that last week marked the  
release of BlueCloth 2, which speeds things up dramatically by using  
Discount (written in C). Is there any interest in updating Typo to  
include  
this new version?
- There don’t seem to be any tests for the converters, and I intend  
to  
uphold that tradition. I also don’t plan to get my hands on a  
WordPress 2.5  
database; I’m using 2.6. Should I just copy the wp25 converter to  
wp26, make  
it work for me, and leave wp25 alone?

Thanks  
–Erik Ostrom  
removed\_email\_address@domain.invalid
