Jump to content

PHP RSS Feed script


hellssuperhero

Recommended Posts

this is the code im using in the files i created rssfeeds.php & testing.php

but when i goto wwwstoneramerica.com/rssfeeds.php or wwwstoneramerica.com/testing.php

both pages loads blank ( use to load an unspecific error till my hosting provider misunderstood a help request & removed the text that appears... anyone have any ideas what im doing wrong ?

I ran a phptest() you can see the results at http://stoneramerica.fatcow.com/test2.php

 

Testing.php

<?php
#Begin code - Feedzilla's news widget
include ("http://www.FeedZilla.com/tools/steppatch_nc.asp?lang=us&id=41041330112009981&mode=e&charset=iso-8859-1&lcid=1033&country=us&c=&code=php&scroll=&prov=news&width=170&height=400&cat=Top%20News&cat2=Top%20Stories&num_articles=10&show_border=Yes&show_summaries=Yes&show_sources=Yes&show_dates=Yes&title=&keywords=&andor=and&url=&headers_size=14pt&title_size=12pt&title_bold=Yes&font_size=10pt&font_family=Arial&text_alignment=Left&space=Yes&titlecolor=%2315aa15&fcolor=%232200cc&desccolor=%231b1b1b&sourcecolor=%23008000&datecolor=%23777777&bordercolor=%2300232c&bgcolor=%23ffffff&related_show=Yes&kwd=")
#End code - Feedzilla's news widget
?>

 

Rssfeeds.php

<?php $olderror_reporting =error_reporting(0);
include ("http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fbakedlife.blogspot.com%2Fatom.xml&newpage=1&chead=1&atl=&desc=1&owncss=&eleminate=&auth=&dts=1&width=300&max=5&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=150&nht=150&dlen=0&lstyle=2&lc=Blue&bg=%2300CC00&bc=%2399FF00&spc=&ims=&tc=%23CCFFFF&ts=11&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
error_reporting($olderror_reporting); ?> 

Link to comment
https://forums.phpfreaks.com/topic/183480-php-rss-feed-script/
Share on other sites

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.