All pastes #394741 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-03-14 15:21 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>VCMol Video Podcast (Stream)</title>
<link>http://www.vcmol.net</link>
<image><title>VCMol Video Podcast (Stream)</title><link>http://stream.vcmol.net</link><url>http://www.vcmol.net/images/vcmol.jpg</url></image>
<description>This is the VCMol.net Video Podcast (Stream). It contains all elements of the Live Video Casts.</description>
<language>en-us</language>

<itunes:category text="Education">
<itunes:category text="Higher Education" />
</itunes:category>
<itunes:explicit>no</itunes:explicit>

<itunes:summary>This is the VCMol.net Video Podcast (Stream). It contains all elements of the Live Video Casts.</itunes:summary>

<itunes:subtitle>This is the VCMol.net Video Podcast (Stream). It contains all elements of the Live Video Casts.</itunes:subtitle>

<itunes:author>VCMol.net</itunes:author>

<itunes:owner>
<itunes:email>live@vcmol.net</itunes:email>

<itunes:name>VCMol.net</itunes:name>
</itunes:owner>

<itunes:image href="http://www.vcmol.net/images/vcmol.jpg" />
<itunes:keywords />

<?php require_once('/Connections/sql.php');
$result = mysql_query("SELECT * FROM podcast");
if(!$result)
{
        die("<database-error/>");
}
while ($row = mysql_fetch_assoc($result)) {
?>

<item>
<title><?php $row['title'] ?></title>
<link>http://stream.vcmol.net/</link>

<description>
<?php $row['description'] ?>
</description>

<author><?php $row['author'] ?></author>
<pubDate><?php $row['pubDate'] ?></pubDate>
<itunes:explicit>no</itunes:explicit>
<itunes:keywords>vcmol</itunes:keywords>
<itunes:author><?php $row['author'] ?></itunes:author>
<itunes:subtitle>
<?php $row['description'] ?>
</itunes:subtitle>

<guid>
<?php $row['enclosureurl'] ?>
</guid>

<enclosure url="<?php $row['enclosureurl'] ?>" type="<?php $row['enclosuretype'] ?>" />
</item>


<item>
<title>VCMol Test</title>
<link>http://stream.vcmol.net/</link>

<description>
A small Test Episode.
</description>

<author>VCMol.net Team</author>
<pubDate>Wed, 14 Mar 2007 03:00:00 GMT</pubDate>
<itunes:explicit>no</itunes:explicit>
<itunes:keywords>vcmol</itunes:keywords>
<itunes:author>VCMol.net Team</itunes:author>
<itunes:subtitle>
A small Test Episode.
</itunes:subtitle>

<guid>
http://stream.vcmol.net/files/file.wmv
</guid>

<enclosure url="http://stream.vcmol.net/files/file.wmv" type="video/x-wmv" />
</item>

</channel>
</rss>