1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to get RSS feed on site?

Discussion in 'XML & RSS' started by wholesalechecklist, Mar 1, 2007.

  1. #1
    I am designing a new version of www.missionenvironment.com at www.biggerhockey.com . See how I have that rss feed on the original website? I did that through Joomla, but now I need to know how to do that without Joomla. Anyone know?
     
    wholesalechecklist, Mar 1, 2007 IP
  2. tridean

    tridean Guest

    Messages:
    285
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    I used www.rssfeedreader.com - it got me started as I have little knowledge, but I have had issues to do with using php on html pages. Although they give a solution to this, I was still having time out issues. I'm just waiting on finding info on how to overcome this. You may not have the problems I did
     
    tridean, Mar 2, 2007 IP
    Brandon Sheley likes this.
  3. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I heard this is the best way but I dont know how to do it:

    choose an rss feed.
    use some sort of php or perl script to get the feed into static html.
    use a cron job to update the script every x hours.

    How do you do this?
     
    wholesalechecklist, Mar 2, 2007 IP
  4. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Monty, Mar 2, 2007 IP
  5. tridean

    tridean Guest

    Messages:
    285
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Wholesalechecklist

    www.rssfeedreader.com have all the instructions on how to do all of what you have asked except the part on
    use a cron job to update the script every x hours.

    I'm hoping someone on this forum can help with that
    Dean
     
    tridean, Mar 2, 2007 IP
  6. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #6
    When I am using rssfeedreader, is the code static html? I mean, does it update every time a user visits my website, or does is have a cron job in the background to parse the code and make it run smooth?
     
    wholesalechecklist, Mar 4, 2007 IP
  7. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #7
    thanks for the link :)
    I added it to one of my blogs, we'll see how that helps out :)

    thanks again, rep added
     
    Brandon Sheley, Mar 4, 2007 IP
  8. protocol96

    protocol96 Peon

    Messages:
    413
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    W3Schools RSS is good place for starters.

    I used it for an overview was pretty much happy after going it.
     
    protocol96, Mar 4, 2007 IP
  9. tridean

    tridean Guest

    Messages:
    285
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi,
    Rssfeedreader wont set up the cron task for you, you have to do this yourself, but if you go to the other post and see what MattD said to put in the command including the tho parts either side of the >

    Before the > is your rss.php file (or whatever it is you call it) and after the > is rss.html (or whatever you want to call it, the main thing is to have it end in html)

    No when you place this little code in your web site where you want the feed, it has to look like this
    <!--#include virtual="/rss.html"--> and NOT
    <!--#include virtual="/rss.php"-->


    What was confusing the heck out of me was that I didn't think you could place an html file inside an html page :eek: but there you go

    So far it is working, and to test it I set my cron jobs to perform every minute so I could see it working. What's also refreshing is that it is a busy period right now and on it's own my site was not loading, but after changing the little code above to <!--#include virtual="/rss.html"--> everything is working sweet

    Dean
     
    tridean, Mar 5, 2007 IP