View Single Post
Old 11-08-2006, 04:47 PM  
dotcommer
Confirmed User
 
Join Date: Sep 2006
Location: Scottsdale, AZ
Posts: 312
Quote:
Originally Posted by Jace View Post
any chance you will actually respond to the things I mentioned above?
Jace,

I appreciate you taking the time to try our feeds out. I spoke with our programmer who created the RSS version of our feeds and he said that most likely you will have to create a parser for the images.

We have two versions of the RSS, a formatted version and a Raw RSS version. My programmer explained why he chose to do the Java Script version first because any webmaster could very easily get it up and working. The RSS version is for more advanced webmasters like your self. Depending on your server etc? you may have to write additional code to parse all of the RSS feed.

We had another programmer who used PHP to parse it and he had it up and running within a few minutes, and this is what he wrote.

This is a quick and dirty script I wrote (there are better ways to it).

First you have to edit it with a simple text editor to change the RSS url. It's within the first line of code.

If you put it on a php page, you just include it with this code:
<? include 'feed.php'; ?>

Or If you wanna include it with SSI (server side includes) in an shtml (or html) file, you can use this code:
<!--#include virtual="feed.php" -->
And you need to make sure your server has SSI support enabled.

Here is the PHP code.
<?
$o = implode(file("http://www.celebritycashrocks.com/f/topcelebs/via_rss/wmr-link/site-fcQQfsQQchQQnct/rsid-819231/g-f/items-25/headshots-1/icons-0/columns-1/hsiz-m/ho-t/si-1/marker-Feed_Topf"));
$p = simplexml_load_string($o, 'SimpleXMLElement', LIBXML_NOCDATA);
print ($p->channel->description);
?>
dotcommer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote