WordPress.org

Ready to get started?Download WordPress

Forums

creating an rss feed? (7 posts)

  1. hobblinharry
    Member
    Posted 8 years ago #

    Before I started using WordPress, my website had it's own posting script which I created myself. I never set up an RSS feed when I began my website though. Is there anyway I can implement RSS, which will then catalogue all of my old entries. That way I can save the RSS file and import it into WordPress. If this is possible, I have no idea where to begin (I am new to RSS) so any help or links to help would be appreciated!

  2. manstraw
    Member
    Posted 8 years ago #

    You're asking how you can implement rss on a non-wordpress site? I don't think you'll find much advice for that here amoungst the wordpress gurus.

  3. hobblinharry
    Member
    Posted 8 years ago #

    Well yeah, but I want to implement the RSS on the non WordPress site, so I can then import into my WordPress site.

  4. Nicki Faulk
    Member
    Posted 8 years ago #

    Is the non-WP site database driven? (in other words, does it require use of mySQL or something similar?) If not, then you may be better off importing everything by hand.

    Trust me, going from a non-database site to WordPress isn't fun, but you'll be less frustrated doing it yourself. (or that was my experience)

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

    Doing this really depends on how you have the data from your old site stored. If you can pull out the posts and titles and such using scripts or code, then you can probably reformat it into an XML file using the RSS format. Enough to be able to import it into WordPress anyway.

    I'd suggest looking at the RSS specification:
    http://blogs.law.harvard.edu/tech/rss

    And also looking at the content of some RSS feeds. It's an exceedingly simple format, so if you can write code to pull out your existing data, then writing it to an XML file in the RSS format would be relatively little trouble.

  6. hobblinharry
    Member
    Posted 8 years ago #

    Yeah my old site is mysql database driven, with the title, the article, date, and user all stored in separate rows. I'll look into that site.

  7. rcade
    Member
    Posted 8 years ago #

    The current version of the RSS 2.0 specification is here:

    http://www.rssboard.org/rss-specification

    I wrote a tutorial a few years ago on how to take MySQL records and publish them as an RSS 2.0 feed using PHP. That's one way to get the data out as a feed:

    http://www.cadenhead.org/workbench/stories/2004/05/22/publish-mysql-data-in-rss.html

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags