Jump to content

[SOLVED] Reading in an RSS feed


jdubwelch

Recommended Posts

I'm trying to read in a rss feed and use it in my own php rss parser.

 

I'm reading in a lot of feeds, but some don't work.  I have an application on my computer called netNewsWire that reads tons of RSS feeds. I copied the feed url into my code and it errors out.  When I type in the url into my browser nothing shows up as well.

 

Is there a way to read it?  or is that some security type thing so I can't do anything with it?

 

an example url i'm trying to read in is: http://www.gazettetimes.com/?rss=sports/beaver_sports/football

 

I don't know if you need to see my code or not, I can post it if you want or you can see it at: http://www.jwelchdesign.com/rssDMX-code.txt

 

and this is the page that runs the script:  you'll see that it errors out because it can't read anything in.

http://www.jwelchdesign.com/rssDMX.php

 

Link to comment
https://forums.phpfreaks.com/topic/132357-solved-reading-in-an-rss-feed/
Share on other sites

When i look at this page:

http://www.gazettetimes.com/rss/

 

It appears the correct url for the feed is actually

http://www.gazettetimes.com/?rss=beavers_sports/mens_sports/football

 

Hope that helps. The feed url you provided also shows a blank page for me as well

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.