posterous->dw migration script
Feb. 24th, 2013 01:30 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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.
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.