Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1527 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Displaying Rss feeds

Thread title: Displaying Rss feeds
Closed Thread    
    Thread tools Search this thread Display Modes  
02-12-2006, 05:08 PM
#1
Zane is offline Zane
Status: Making Money
Join date: Aug 2005
Location: Surrey, England, UK
Expertise:
Software:
 
Posts: 1,674
iTrader: 0 / 0%
 

Zane is on a distinguished road

Send a message via MSN to Zane

  Old  Displaying Rss feeds

How do you display an rss feed in html ?

02-12-2006, 05:55 PM
#2
freedom is offline freedom
freedom's Avatar
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
 
Posts: 1,026
iTrader: 0 / 0%
 

freedom is on a distinguished road

  Old

I don't know about html, but if you're using php, you can use simplexml

02-12-2006, 06:03 PM
#3
AlexK is offline AlexK
AlexK's Avatar
Status: Request a custom title
Join date: Aug 2005
Location: Copenhagen
Expertise:
Software:
 
Posts: 1,691
iTrader: 0 / 0%
 

AlexK is on a distinguished road

Send a message via MSN to AlexK

  Old

Just search, there are plenty of scripts

02-12-2006, 06:21 PM
#4
sketchie is offline sketchie
sketchie's Avatar
Status: Senior Member
Join date: Jul 2005
Location:
Expertise:
Software:
 
Posts: 835
iTrader: 1 / 100%
 

sketchie is on a distinguished road

  Old

Originally Posted by freedom
I don't know about html, but if you're using php, you can use simplexml
You can only use that with PHP5.

02-12-2006, 08:03 PM
#5
patrickPaul is offline patrickPaul
Status:
Join date: Dec 2004
Location: California, US
Expertise:
Software:
 
Posts: 406
iTrader: 1 / 100%
 

patrickPaul is on a distinguished road

Send a message via AIM to patrickPaul Send a message via MSN to patrickPaul Send a message via Yahoo to patrickPaul

  Old

netspeak,

Since others didn't provide much help...

Check out the XML_RSS class from PHP's PEAR package
Link: http://pear.php.net/package/XML_RSS

Example implementation:

PHP Code:
<?php

// file nascar_rss.php

require('./includes/RSS.php');

$rss =& new XML_RSS("http://feeds.feedburner.com/foxsports/rss/NASCAR");

$rss->parse();

$headlines $rss->getItems();

foreach(
$headlines as $headline) {
    echo 
'<a href="'.$headline['link'].'" target="_blank">'.$headline['title'] . '</a><br />'."\n";
}



?>

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed