Hello,
I can't seem to be able to post an RSS feed in the news section using javascript or php codes...
To be clear, I'm trying to put in the code, so my news section updates automatically from the rss feed
Here's the two codes..I am trying to put one of them into the news section.
php first and i tried to link the rss feed url, still doesn't work...
created rss.php page, etc...
Code<?php
$olderror_reporting =error_reporting(0);
include ("http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Ffeeds2.feedburner.com%2FPokerNewsDaily%2F&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=&auth=&dts=1&width=400&max=5&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=%23CCCCFF&bc=Gray&spc=&ims=&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);
?>
Now for the Javascript code...
Code<script language=javascript src="http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Ffeeds2.feedburner.com%2FPokerNewsDaily%2F&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=&auth=&dts=1&width=400&max=5&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=%23CCCCFF&bc=Gray&spc=&ims=&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif"></script>
Any help will be greatly appreciated....
Edited by Basti on 12-03-2009 19:31
|