Support » Fixing WordPress » Text to database?

Viewing 12 replies - 1 through 12 (of 12 total)
  • What kind of information did you have in the text site? Post title, text, category and timestamp?

    If so, code could to be written to parse it.

    Regards

    hello,
    I would like this type of text in a massive text file tobe converted to wordpress

    Johns Pizza
    NYC, New York
    24/7:1-800-555-4138
    Direct:212-555-3202
    Web site: http://www.joeschmo.com

    i would want a certain formatting and tagging to go in with it. Is this possible?

    Well… anything’s possible. 🙂

    Do you have some programming skills — or have a helpful coder nearby? One approach would be to write a little program that would go through your text file and re-write it in an RSS format.

    WordPress has a RSS importer that could then potentially pick that up and load it.

    HandySolo,
    Thts the solution I figured out. So I have setup the text file from the results from the web search. But I need it to be converted to RSS with specific formatting and tagging.

    I have no idea how to do this. Do you think you could help?

    Give this a read through:
    http://www.mnot.net/rss/tutorial/

    That will at least let you see what an RSS feed looks like.

    I know a little bit about it.
    But I have a text file with 437 entries with 3-5 pieces of info each and i need to convert it to rss with formatting. I am working on a community blog WPMU for a social cause and I dont have the resources right now to take time away and learn how to code this script. I really wish I did.

    If somebody can help me out, thank you.

    For a one shot deal, I wouldn’t be writing a script. I’d spend the few minutes it would take with a text editor doing search/replaces and produce an RSS from that.

    Yeah thats what I had to do to set it up and clean it from the results I got. But now there are things which I cant search/replace. 430 different names, 50+ different cities etc.

    I think this needs a script.

    If you can’t search and replace it, then a script probably can’t do it either. It’s not magically more intelligent than you are.

    uh ok. it seems you are having a long day or something.

    dont have to get personal. dont respond if you dont want to.

    scripts automate. they are not only for search/replace. they take away the monotony of a repeat task. thats what this script would do.

    thank you very much.

    bump..

    whooami

    (@whooami)

    Member

    I am working on a community blog WPMU for a social cause and I dont have the resources right now to take time away and learn how to code this script. I really wish I did.

    2 suggestions:

    1. rentacoder.com
    2. wp-pros list

    and a friendly reccomendation that most things related to wpmu prolly belong in their forums. Especially since in your case, the database bits are apt to be different.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Text to database?’ is closed to new replies.