WordPress.org

Ready to get started?Download WordPress

Forums

Text to database? (13 posts)

  1. phaishazamkhan
    Member
    Posted 8 years ago #

    Short of updating everything manually, how can one migrate a site that's mostly text to WordPress? Is this thing on?

  2. Cypher
    Member
    Posted 8 years ago #

    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

  3. abhic
    Member
    Posted 7 years ago #

    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?

  4. Chris_K
    Member
    Posted 7 years ago #

    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.

  5. abhic
    Member
    Posted 7 years ago #

    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?

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

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

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

  7. abhic
    Member
    Posted 7 years ago #

    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.

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

  9. abhic
    Member
    Posted 7 years ago #

    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.

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

  11. abhic
    Member
    Posted 7 years ago #

    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.

  12. abhic
    Member
    Posted 7 years ago #

    bump..

  13. whooami
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.