vlion: (matrix)
vlion ([personal profile] vlion) wrote in [site community profile] dw_dev2013-02-24 01:30 am
Entry tags:

posterous->dw migration script

Hi,

I have a Posterous->dw migration script. It kind of works. It worked for me taking my Posterous backup and putting it on a Dreamwidth install foxfirefey has going.

However, it is a funky stanky horrid mash of Python and Ruby. It code smells like old socks.

It does:

- give you dates

- Give you titles.

- Give you actual post.

It does not

- Do formatting.

- Do images.

- Do easy. It requires a few rubygems[1].


---

So. Is this going to be useful? Helpful? I can stuff it up on a github and maybe someone can take this and turn it into mo' usable code. What needs to happen - IMO- for mo' happiness is:

- Username/password not on the CLI, instead, an interactive dialog

- Ruby removed and replaced with Python such that the Python default install works.

- Formatting handled appropriately. Python Etree explodes on posterous html; HTMLParser is underpowered and will require gyrations to do this right.


Let me know what people want, if this is something wanted, I'll upload it.



[1]. If you're not a developer on Linux/OSX, this is going to be (a) gibberishy and (b) impossible to deal with in any sort of way that doesn't involve grief.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org