SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Embed RSS Feeder In A Web Page ** Newbie to RSS

    Hi All,

    I've only started looking at RSS Feeds over past couple of days and am wondering if its possible to embed a reader in a web page.

    What are the basic steps required/Can it all be done through javascript ?

    I've searched Google but only get converter services etc.

    I'd really like to code my own if thats possible

    cheers

    alan

  2. #2
    SitePoint Evangelist
    Join Date
    Apr 2006
    Location
    Halifax, Canada
    Posts
    498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It can't be done purely in JavaScript, unless the RSS feed is served from the same server as the website. Your best bet is to use PHP to parse the RSS and embed it in the website.

    The basic steps are:
    * Fetch the RSS feed
    * Use the DOM to crawl through each <item>
    * Put the <title>,<link>,<description>, etc. into an array
    * Display the array however you like
    Paul Butler.org
    JSSpamBlock - Reduce WordPress spam.

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cheers paul


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •