I'm trying to add an RSS feed to my videogame website, but it isn't working.
These are the steps I have done so far:
A) I have copy and pasted the RSS reader to a blank notepad file, and named it rssfeed.php.
This is that code:
B) I uploaded the file to the root folder of my site.
C) I pasted the following (below) into the area of my page I want the news generated which is within a div tag:
<!--#include virtual="/rssfeeds.php" -->
D) Nothing happened.
Now this is where I am having problems (I'll link the source below).
"In order for a .html or .htm site to parse a PHP script on it's pages, you need to have some instructions in your website's .htaccess file. (For this step you will need access to the .htaccess file on your server.)"
My account is "geocities" and I'm not sure if I can use the control panel in order to use Apache Handlers?
I would rather do this manually, regardless.
So if anyone can help, this is where I'm at:
If the above does not work you can try adding this line below, which does the same as the two lines above.
Addhandler application/x-httpd-php .html .php
I don't know where to "add" this :confused:
Or I can do this:
If you cannot use "Apache Handler" or if you do not have Cpanel you can manually modify the .htaccess file by adding these two lines below;
.htm server parsed
.html server parsed "
Again, I don't know where to add this text, and the source does not explain this.
Thanks in advance, here is the source: