Webmastersite.net
Register Log In

RSS Feeds
How to add a field to input PHP RSS Feeds

Comments on RSS Feeds

mitchell@mchsi.com
Beginner

Usergroup: Customer
Joined: Jul 02, 2005
Location: Des Moines Iowa

Total Topics: 1
Total Comments: 3
Posted Jul 02, 2005 - 6:16 PM:

Help?! I am wanting to add a RSS feed for my Subcategories. I have created a category called {CATRSSFEEDS} from Add Fields. It is a text box and the PHP that I am trying to add is listed below.


<?php
include ("http://sportrow.com/rsscb/rss.php?url=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Fsports&newpage=1&chead=&atl=&desc=&auth=&dts=&width=600&max=5&maxfrom=10&maxto=10&tlen=0&rnd=1&bt=0&bs=None&nmb=1&ntb=1&naf=1&nst=1&nwd=0&nht=0&initime=1120342522&dlttime=0&dlen=0&bg=%23FFFFFF&bc=BLUE&tc=BLACK&ts=9&lc=BLUE&lstyle=5&rel=1&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
?>


When I add the code to the subcategory I get this.....at this link

www.sportrow.com/College_Sp...orts/Division_I-A_Football


Anyone have any suggestions in adding PHP within PHP? I am able to add a javascript code, but would like to add a PHP Solution as it is search engine friendly.

Thanks,
Cory Msmiling face
mitchell@mchsi.com
Beginner

Usergroup: Customer
Joined: Jul 02, 2005
Location: Des Moines Iowa

Total Topics: 1
Total Comments: 3
Posted Jul 03, 2005 - 10:58 PM:

Hey Everyone- I have figured it out. Soon all of my categories will have sports feeds. Thanks Corygrin
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.