•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,589 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,998 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2312 | Replies: 13
![]() |
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:
<?php
$olderror_reporting =error_reporting(0);
include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Fvideogames&newpage=1&chead=&atl=&desc=&auth=&dts=1&width=250&max=10&tlen=33&rnd=1&bt=&bs=None&nmb=1&ntb=1&naf=1&nst=1&nwd=800&nht=600&dlen=85&lstyle=1&lc=%23cccccc&dlttime=0&bg=%23333333&bc=&spc=&ims=1&tc=%23ffffff&ts=9&tfont=Arial,+Helvetica,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
error_reporting($olderror_reporting);
?>
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
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:
http://rssfeedreader.com/php.html
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:
<?php
$olderror_reporting =error_reporting(0);
include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Fvideogames&newpage=1&chead=&atl=&desc=&auth=&dts=1&width=250&max=10&tlen=33&rnd=1&bt=&bs=None&nmb=1&ntb=1&naf=1&nst=1&nwd=800&nht=600&dlen=85&lstyle=1&lc=%23cccccc&dlttime=0&bg=%23333333&bc=&spc=&ims=1&tc=%23ffffff&ts=9&tfont=Arial,+Helvetica,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
error_reporting($olderror_reporting);
?>
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

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:
http://rssfeedreader.com/php.html
Gamer Tag: Xaminor
I'm trying to get the code above to generat RSS feeds to my geocities website. Now, that said, I have a professional domain as well.
www.fingerskills.com
But my brother hasn't given me access to updating this yet. And I haven't updated the site with this html code:
http://www.geocities.com/nenunenu1333//index.htm
Under the bar that reads "multiplatform" I am trying to get the RSS feeds to generate.
www.fingerskills.com
But my brother hasn't given me access to updating this yet. And I haven't updated the site with this html code:
http://www.geocities.com/nenunenu1333//index.htm
Under the bar that reads "multiplatform" I am trying to get the RSS feeds to generate.
Gamer Tag: Xaminor
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
access activation ajax api blog blogger blogging blogs code combo competition dani daniweb data debugging development dreamweaver dropdownlist gdata gentoo google gpl home html innovation internet key linux microsoft module net news openbsd php product programming reuse rss security serial site source spam tags vista web wysiwyg xml
- Previous Thread: snetence break
- Next Thread: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource


Linear Mode