Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Apr 2003
    Location
    Hampshire, United Kingdom
    Posts
    602
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Stand-alone RSS scripts

    I've been hunting around for a javascript (or a tutorial) for placing content from RSS feeds onto my website - for <img src=/S/free.gif border=0 alt=free width=30 height=15>, of course. There are a number of useful script generators out there, but when you look at the scripts they generate, you find that they are actually just references to code stored on their own servers, usually in php files. I'd much rather have a completely stand-alone script to live entirely on my own website, whose only "external" reference is to the RSS feed itself - for two reasons:

    <UL><LI>I don't want to burden someone else's server
    <LI>If they move their script or their server goes down, I still want my script to work![/list]Any ideas? <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>
    Waggers
    If at first you do succeed, you&#39;ve probably missed something.

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Stand-alone RSS scripts

    You're probably going to have to do this server-side(ASP, ASP.NET, PHP, Perl, etc) rather than client-side (Javascript).

    The goal for the script/method is to read and parse the external RSS feed (basically an XML file), and display the desired parts in a formatted fashion on your page. This is a little (well, a lot) beyond the capabilities of basic to moderate (i.e practical) javascript programming.

    With that in mind, you might change your search criteria and look again. You'll most likely find a lot of server-side options for the flavor of your choice. For example, here's a good article on consuming an RSS feed with ASP.NET.

    Hope this helps

  3. #3
    5 Star Lounger
    Join Date
    Apr 2003
    Location
    Hampshire, United Kingdom
    Posts
    602
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Stand-alone RSS scripts

    Thanks, Mark. I do have a problem in that my ISP doesn't support server-side scripting. Funnily enough I did find a few claims of RSS parsers written in Javascript - but every time I clicked on such a link I got an Error 404. <img src=/S/sneaky.gif border=0 alt=sneaky width=15 height=15>

    My best option is probably to revert to using a third-party server to do the parsing for me. I found quite a few that were happy for people to use their bandwidth.

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> anyway <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Waggers
    If at first you do succeed, you&#39;ve probably missed something.

Posting Permissions

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