Inline Musilog

·

My main Webjay playlist, Compendium Musicalis, is now inline on the left of HubLog's main page, between the bookmarks and 'offline media' sections.

Used Magpie RSS parser, with this code:

define('MAGPIE_DIR', '../magpie/');
require_once(MAGPIE_DIR.'rss_fetch.inc');
$rss = fetch_rss( 'http://webjay.org/by/hubjay/compendiummusicalis.xml' );
$items = array_slice($rss->items, 0, 10);
echo "document.write(\"<ul>";
foreach ($items as $item) {
    $href = $item['link'];
    $title = $item['title'];
    echo "<li><a href=$href>$title</a></li>";
}
echo "</ul>\")";