Join 3,421 readers in helping fund MetaFilter (Hide)


Conversion therapy
November 10, 2009 1:51 PM   Subscribe

Turning 1800 text files into something more usable for Wordpress?

I have 1800 files I need to convert into Wordpress blog posts. Each file has merely the content, and nothing else, in text format. What's the best way to get them into Wordpress? Is there a text program or script (that will run on Windows7) that will convert them to HTML files for use with this plugin? Or an easy way to convert them to RSS somehow? I don't really have shell or perl access, so something local would be great, or even a script for Notepad++ or something. Thanks!
posted by yonation to Computers & Internet (5 answers total)
 
Do a google search for "txt to html". There are a bunch of items returned - and I am sure one of those would do the trick. One of those should hopefully create well-formed html, which you can hopefully then use with the plugin you mentioned..
posted by backwards guitar at 2:55 PM on November 10, 2009


I can't test it out because my server doesn't run PHP5, but I looked through the code for that plugin and I don't see why it couldn't import txt files. Have you tested importing your existing files?
posted by niles at 3:10 PM on November 10, 2009


I'd say niles has it, but if that doesn't work out, memail me and I can do the conversion for you to HTML files or a big RSS feed.
posted by pocams at 4:11 PM on November 10, 2009


wow guys good answers so far, and pocam, thats a fantastic offer! i'm going to try and let you know..
posted by yonation at 7:42 PM on November 10, 2009


Hey kids, thanks alot, i got it to work. for the record, i converted these files to HTML (using txt2html), then modified that plugin a little bit (ie to create a fake title and a few other minor things) and used it successfully to import. thanks for the clear advice!
posted by yonation at 8:31 PM on November 10, 2009


« Older Spilled a drink on my Lenovo T...   |  I am living a wasted life. Dep... Newer »
This thread is closed to new comments.