Announcement

Collapse
No announcement yet.

Adding php rss feeds to a page.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding php rss feeds to a page.

    Hi I've followed the threads advised on this subject and they're great for java rss but it's php rss that I'm after. I've read the thread that dealt with this issue, but as it was about to be sorted the thread disappears as Nyoman helped deal with it direct.

    Well I have the exact same problem. The Apache server has new handlers for htm and html server-parsed, I have a rssfeeds.php file with the appropriate php script and have pasted
    <!--#include virtual="/rssfeeds.php" -->
    into a blank pages html.

    But to no avail.

    Anyone got any thoughts as its turning my hair grey!

    John Snodgrass
    www.npda.co.uk

  • #2
    Re: Adding php rss feeds to a page.

    I have the exact same problem...

    I am using the codes from http://rssfeedreader.com

    The code that was provided is:
    <?php
    $olderror_reporting =error_reporting(0);
    includeed ("http://rssfeedreader.com/rss3/rss.php?url=&newpage=1&chead=1&atl=1&desc=1&owncss =&eleminate=&auth=1&dts=1&width=300&max=5&tlen=0 &r nd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=300&nh t=250&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=%23FF6600&spc=&ims=&tc=&ts =1 1&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
    error_reporting($olderror_reporting);
    ?>


    1. I have Defined the Apache Handlers to:
    .htm server-parsed
    .html server-parsed
    2. I saved this as rssfeed.php
    3. I have published it to: public_html/
    4. I have created a test page: www.kgcinternational.com/test.html
    5. I have included the following html code in that page: <!--#include virtual="/rssfeed.php" -->
    6. I saved and published this page online

    No FEEDS?

    Any expert on this matter?
    Fadi Kaouk

    http://www.kgcinternational.com - Recruitment Firm
    http://www.moneymachineguide.com - Make Money Online
    http://fadikaouk.blogspot.com - Make Money Blog
    http://www.pokerguideservice.com - Learn the game of Poker
    [B][COLOR=Lime][COLOR=Black]

    Comment

    Working...
    X