PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of Matthew Boyle   Mixcloud API PHP RSS Generator   demo.php   Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: example
Class: Mixcloud API PHP RSS Generator
Generate RSS feed from episodes got from Mixcloud
Author: By
Last change:
Date: 5 years ago
Size: 199 bytes
 

Contents

Class file image Download
<?php

include('mixcloud.class.php');

$show = new MixCloudRSS('radiodeluxe');

// limit request to last ten episodes
$feed = $show->fetch(10);

$rss = $show->buildRss();

echo
$rss;

?>