how can I add a cnn news feed to my directory

Discussion in 'XML & RSS' started by jminscoe, May 19, 2007.

  1. #1
    I am trying to add a cnn news feed to my directory at www.directory.jodee.biz but it doesn't show here are the directions to do it http://rssfeedreader.com/php.html ,but I can't get it to work any ideas as I tried the instructions for both html and to php
    Here is the code
    <?php
    $olderror_reporting =error_reporting(0);
    include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Frss.cnn.com%2Frss%2Fcnn_us.rss&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=1&auth=1&dts=1&width=300&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=White&bc=%23000099&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);
    ?>
    Code (markup):
    I have also tried changing <?php to {php} and ?> to {/php}
     
    jminscoe, May 19, 2007 IP