Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
A quick and dirty one, it shows the content of an rss feed. I had one feed it didn't work with, and a few others it did work with. It just shows the headers+the link to the article.

Code
/* PHP CODE HERE */
$display="";
$count=0;
$xml = getFeed('http://www.fotogalerijen.be/parkcast/parkcast.xml');
foreach( $xml as $feed ) {
if ($count>=10) {
break;
}
if( ! $feed['title'] ) {
break;
}
$display.="<a href=\"".$feed['link']."\">".$feed['title']."</a><br />";
$count++;
}

/* BODY HERE */
$body = <<<EOF
$display
EOF;

Just copy/paste above code in a custom field, set the caching time on some value, edit the hardcoded feed url, and edit the max number of entries (10 now).

Sponsored Links
Entire Thread
Subject Posted By Posted
Custom island that shows an rss feed blaaskaak 02/28/2008 10:29 PM
Re: Custom island that shows an rss feed Stephen G 02/28/2008 10:57 PM
Re: Custom island that shows an rss feed blaaskaak 02/29/2008 12:05 AM
Re: Custom island that shows an rss feed Stephen G 02/29/2008 4:23 AM
Re: Custom island that shows an rss feed blaaskaak 02/29/2008 10:48 AM
Re: Custom island that shows an rss feed Stephen G 03/01/2008 2:48 AM
Re: Custom island that shows an rss feed Stephen G 04/06/2008 3:07 AM
Re: Custom island that shows an rss feed blaaskaak 04/06/2008 5:27 AM
Re: Custom island that shows an rss feed Stephen G 04/06/2008 6:20 AM
Re: Custom island that shows an rss feed AllenAyres 04/08/2008 11:49 PM
Re: Custom island that shows an rss feed blaaskaak 04/09/2008 10:19 PM
Re: Custom island that shows an rss feed Myke 04/25/2008 1:36 PM
Re: Custom island that shows an rss feed blaaskaak 04/25/2008 1:55 PM
Re: Custom island that shows an rss feed Gizmo 04/25/2008 2:36 PM
Re: Custom island that shows an rss feed blaaskaak 04/25/2008 5:23 PM
Re: Custom island that shows an rss feed Jaymo 04/29/2008 10:17 PM
Re: Custom island that shows an rss feed Ian_W 04/30/2008 7:53 AM
Re: Custom island that shows an rss feed Jaymo 04/30/2008 9:18 PM
Re: Custom island that shows an rss feed blaaskaak 05/01/2008 8:25 PM
Re: Custom island that shows an rss feed arentzen 05/02/2008 2:14 AM
Re: Custom island that shows an rss feed Ian_W 05/02/2008 10:16 AM
Re: Custom island that shows an rss feed Gizmo 05/02/2008 10:55 AM
Re: Custom island that shows an rss feed arentzen 05/02/2008 6:00 PM
Re: Custom island that shows an rss feed Jaymo 05/03/2008 1:03 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)