I've added an RSS news feed to my site. On my test site at home it works fine, but at Frihost nothing shows. I originally had a horoscope feed and that worked fine.
Here's the code I'm trying to use now...
(I've added line feeds so that it doesn't make the page a mile wide, but that whole middle part is on 1 line in my actual code)
and here's the old code that worked...
I note that the new feed uses a php include from an external source whereas the old 1 is in Javascript. Does that make a difference?
Here's the code I'm trying to use now...
| Code: |
| <?php
$olderror_reporting =error_reporting(0); include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fnews.google.com%2Fnews %3Fned%3Dus%26topic%3Dw%26output%3Drss,http%3A%2F%2Fnews.google.com%2Fnews %3Fned%3Dus%26topic%3Dt%26output%3Drss,http%3A%2F%2Frss.news.yahoo.com%2Frss %2Fentertainment,http%3A%2F%2Frss.news.yahoo.com%2Frss%2Foddlyenough,http%3A%2F %2Fwww.variety.com%2Frss.asp%3Fcategoryid%3D1023,http%3A%2F%2Fnewsrss.bbc.co.uk %2Frss%2Fnewsonline_uk_edition%2Fworld%2Frss.xml,http%3A%2F%2Ftoday.reuters.com%2Frss %2FtopNews,http%3A%2F%2Ftoday.reuters.com%2Ftv%2Frss%2Fworld,http%3A%2F %2Ftoday.reuters.com%2Frss%2FscienceNews,http%3A%2F%2Ftoday.reuters.com%2Frss %2FoddlyEnoughNews&newpage=1&chead=1&atl=1&desc=1&owncss=1&eleminate=&auth=1& dts=1&width=300&max=3&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=600 &nht=0&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=1&tc=&ts=11&tfont=Verdana, +Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']. "&phpout=1"); error_reporting($olderror_reporting); ?> |
(I've added line feeds so that it doesn't make the page a mile wide, but that whole middle part is on 1 line in my actual code)
and here's the old code that worked...
| Code: |
| <div align="center"><script type="text/javascript" src="http://pub22.bravenet.com/history/remote.php?usernum=1859319634&cpv=2">
</script></div> |
I note that the new feed uses a php include from an external source whereas the old 1 is in Javascript. Does that make a difference?
