Try xml as the data type. I was playing with the server side RFDa conversion tonight and it is pretty sexy.
FriendFeed required me to use the xml data type to accept data from libre.fm. I presume wordpress will behave simlarly? --Seth Woodworth 857-928-4997 sent from my mobile On May 16, 2009 10:21 PM, "James John Eaton" <[email protected]> wrote: Ok I need help. I have the following code in Wordpress <?php require_once (ABSPATH . WPINC . '/rss-functions.php'); // here's where to insert the feed address $rss = @fetch_rss(' http://alpha.libre.fm/rdf.php?fmt=rss&page=/user/bananabob/recent-tracks'); if ( isset($rss->items) && 0 != count($rss->items) ) { ?> <ul> <?php // here's (5) where to set the number of headlines $rss->items = array_slice($rss->items, 0, 5); foreach ($rss->items as $item ) { ?> <li> <a href='<?php echo wp_filter_kses($item['link']); ?>'> <?php echo wp_specialchars($item['title']); ?> </a> </li> <?php } ?> </ul> <?php } ?> I get nothing. However if I change the URL to my old last.fm feed http://ws.audioscrobbler.com/1.0/user/bananabob/recenttracks.rss I get some tracks. Why does this code not work with the libre.fm RSS feed? Cheers James _______________________________________________ Libre-fm mailing list [email protected] http://lists.autonomo.us/mailman/listinfo/libre-fm
_______________________________________________ Libre-fm mailing list [email protected] http://lists.autonomo.us/mailman/listinfo/libre-fm
