Jump to content

Quick Wordpress question


mcvoid

Recommended Posts

I noticed that the Hak.5 web site was put together by Wordpress and that it also has an RSS feeder - Is that a feature of wordpress, a separate plugin, or an entirely different entity.

I'm wondering because I'd like to get some easy RSS action going on my news page, but I don't want to ditch my existing stuff I coded by hand for a one-click install thing (wordpress is a 1 click install option with my provider) if it doesn't have the features that I want to add.

Pride vs Practicality - what a bitch.

Anyhoo, even a yes or no would be fine. Thanks, guys.

Link to comment
Share on other sites

The RSS fead is a feature of wordpress, but if you don't want to abandon your existing code, it probably wouldn't be too difficult to implement one yourself, since RSS is just XML.

If you have a news page that gets its info from a database, just make a php (or whatever language) page, feed.php, and have that page conform to one of the RSS standards. So basically, you would just have a loop to generate:

    

<item>

      <title>your article title</title>

      <link>a link for more info</link>

      <description>Any info</description>

      <pubDate>Tue, 15 Oct 2003 10:39:00 GMT</pubDate>

    </item>

Check out http://en.wikipedia.org/wiki/RSS_(file_format)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...