View Full Version : php rss feed on html page.
Does anyone know how to add php rss feed to a html page?
i am having lots of trouble with this. Do you have to add some comands to htacess. in your server?
Any help will be great. thanx
08-02-2005, 04:41 AM
08-02-2005, 08:20 PM
Maybe this thread will help
08-02-2005, 08:27 PM
Sorry Aaron, but none of those posts address the problem of putting dynamic content onto a static html page - or did I miss something?
Cheers for the help Sarah and Aaron.
Still very confused, program called RSS Reader creates rss php code to put on your websites and it says how to put it on html pages here http://rssfeedreader.com/php.html when i do what it says it doesnt work.
Il have to try somthing else i spose.
08-03-2005, 12:24 AM
Oh, ok. I thought that the question was simply how to display an rss feed on your website.
If your server supports php then you can use any of those php scripts.
Obviously there is no way to put dynamic into static, that doesn't really make sence. But you can use mod_rewrite in you .htaccess file to make them apear "as if" the pages are static html. Maybe I am totally off track here.. :-) Just tryin' to help out :D
RewriteRule ^([^/]+).html $1.php [L]
thanx for that Aaron, see how i go
08-03-2005, 10:51 PM
[QUOTE=sarahk]HTML pages are static and are not able to have serverside changes[/QUOTE]
You can set your .htaccess to treat html pages like php pages. The script will work then ;)
Ok no worries jlknauff,
Thought it could be done because of the information provided in the link in my second post. but when i put what it says into my .htacccess it doesnt work and my webpage stuffs up.
08-04-2005, 08:45 PM
Do you have the ability to run php scripts?
What happens if you create a script called phpinfo.php and try to run it?
the script should be
08-04-2005, 08:48 PM
You can set your .htaccess to treat html pages like php pages. The script will work then ;)[/QUOTE]I guess I was keeping it simple. A standard HTML page is static. You can however give a PHP script a .html extension and still have it processed - but it's not an html page.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.