Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

SSI and RSS question

adding rss to personal websites



10:10 pm on May 11, 2007 (gmt 0)

5+ Year Member

Im wanting to add RSS to my sites and I have managed to enter HTT access and have an example of my site <snip>

My trouble is editing the php file.

Ive entered
<p><!--#include virtual="/rssfeeds.php" --> </p>
to my website.

I have my PHP file as
$olderror_reporting =error_reporting(0);
include ("http://www.example.com/rss3/rss.php?url=http%3A%2F%2Fnews.google.com%2Fnwshp%3Fhl%3Den%26tab%3Dwn%26q%3D%26

My question is how to edit the above text to include
my RSS link

Any help would be much appreciated.

[edited by: werty at 10:51 pm (utc) on May 11, 2007]
[edit reason] Snipped urls (please see TOS # 13). Also broke scrolling in code [/edit]


12:17 am on May 12, 2007 (gmt 0)

5+ Year Member

RSS link to add to pages is an .xml file


6:51 pm on May 30, 2007 (gmt 0)

5+ Year Member

I have added several RSS feeds into more than one web site without any modification to the .htaccess file. However, the process involved Java Script rather than PHP. Actually, there is a site that will process the RSS feed (xml format) and convert into Java Script which can then easily be added into your existing site's html. Check <snip> and see if that approach is not more practical.

Good luck...


[edited by: werty at 9:58 pm (utc) on May 30, 2007]
[edit reason] Snipped url (please see TOS # 13) [/edit]


Featured Threads

Hot Threads This Week

Hot Threads This Month