WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom Fields in old CMS's RSS Field and WordPress Recognizing Them (3 posts)

  1. SurferJon24
    Member
    Posted 5 years ago #

    Hi! I'm not sure if this is possible or if asking here will even help, but I figured I would try anyways!

    I am moving from an old, unpopular CMS to WordPress. I am trying to import the posts from the old CMS to WordPress through the old CMS's RSS feeds, but I have a few custom fields that I must have in my WordPress posts. For example, my posts in the old CMS had custom fields for an avatar, a small edit note, and a forum thread i.d. (each of which I would type in each time I made a post, so they are just textual information).

    My questions are, where would I include the custom information in the old CMS's RSS feed and how would I get WordPress to "plug in" the information to the correct fields in the new posts? WordPress already recognizes the post categories and the other common information, but I'm not sure how to include the custom information in the old CMS's RSS feed and how to get WordPress to know where to put the information when (and if) it imports the custom information.

    Thank you very much! I would really appreciate any help! :)

  2. SurferJon24
    Member
    Posted 5 years ago #

    Sorry for double posting...

    I played around with the RSS feed and am now able to extract any variable I want from my old news stories now. I can then use jEdit to format the data however I want. Is there a way to import the data into WordPress and have WordPress plug-in the information into the custom fields I already have for my posts?

    These are the fields I have:
    Title
    URL
    Time/Date Posted
    Content of post with HTML and everything
    Avatar image name (like surf.gif)
    Forum thread i.d. (a number)
    Small note

    So my question now is, is there a way to put that all into WordPress and WordPress know what to do with it? All of the above fields are available when I make a post in WordPress, so it's just getting the data into WordPress that's the problem now.

  3. mnr
    Member
    Posted 5 years ago #

    Seems like it's not possible to import custom fields in an rss file.
    Something like


    <wp:postmeta>
    <wp:meta_key>xyz</wp:meta_key>
    <wp:meta_value>value</wp:meta_value>
    </wp:postmeta>

    within an rss file doesn't get imported for me.
    I think I would have to create a wordpress wxr file instead.

Topic Closed

This topic has been closed to new replies.

About this Topic