PHP Classes

File: example1.php

Recommend this page to a friend!
  Classes of Piotr Malinski   Podcast Parser   example1.php   Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: Example 1
Class: Podcast Parser
Parse and generate RSS feeds for podcasts
Author: By
Last change:
Date: 18 years ago
Size: 218 bytes
 

Contents

Class file image Download
<?PHP
include 'podcast.php';
$p = new podcast();
$p->cast('podcast.xml');
echo
'<h1>Base data:</h1><pre>';
print_r($p->get_base_data_array());
echo
'</pre><h1>Podcasts</h1><pre>';
print_r($p->get_podcast_arrays());
?>