jdubwelch Posted November 12, 2008 Share Posted November 12, 2008 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 More sharing options...
premiso Posted November 12, 2008 Share Posted November 12, 2008 I would think that you need to type in the whole url, IE: http://www.site.com/sports/beaver_sports/football If you do not it attempts to access a "non-existant" file on the server. Link to comment https://forums.phpfreaks.com/topic/132357-solved-reading-in-an-rss-feed/#findComment-688152 Share on other sites More sharing options...
mikeschroeder Posted November 12, 2008 Share Posted November 12, 2008 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 Link to comment https://forums.phpfreaks.com/topic/132357-solved-reading-in-an-rss-feed/#findComment-688206 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.