[pmwiki-users] RSS Enclosure Usage
Mr Wappy
mrwappy at yahoo.co.uk
Sat Nov 19 09:18:09 CST 2005
Hello
I have been exploring the use of rssenclosures for use
with podcasting.
I believe I have followed the instructions but on
testing the feed channel was invalid. Upon inspection
at the xml produced - extract below - the URL for the
enclosure issn't being set. I wonder if there are
other assumptions being made about the configuration
that I need to set up to or others with similar
experiences. The examples are from a local
installation - running localhost.
Any help appreciated.
Thanks
====
Version of PMWiki
$Version="pmwiki-2.1.beta1"; $VersionNum=2000901;
====
XML extract
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <rss version="2.0">
- <channel>
<title>Latest Podtests</title>
<link>http://localhost/latest/pmwiki.php/Podtest/HomePage</link>
<description>This is latest 20051118 - used for the
development of his work</description>
<lastBuildDate>Sat, 19 Nov 2005 14:56:30
GMT</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>PmWiki pmwiki-2.1.beta1</generator>
- <item>
<title>Podtest / Test1</title>
<link>http://localhost/latest/pmwiki.php/Podtest/Test1</link>
<description>Here is my first podcast test1 test1
test2 ...</description>
<author>(AL)</author>
<pubDate>Sat, 19 Nov 2005 14:56:30 GMT</pubDate>
<enclosure url="RssItemEnclosureUrl" length="155129"
type="audio/mpeg" />
</item>
</channel>
</rss>
Is is the RssItemEnclosureUrl that I would have
expected to be replaced by the code.
====
config file - active elements
$EnableUpload = 1;
$UploadMaxSize=10000000;
$DefaultPasswords['upload'] = crypt('secret');
$RssFeedTitle ='Latest Podtests';
$RssFeedDesc = 'This is latest 20051118 - used for the
development of his work';
$RssMaxItems=20;
$EnableRssEnclosures =1 ;
$RssEnclosureTLA= 'mp3';
$RssSourceSize=400;
// load alternate rss.php
if ($action == 'rss' || $action == 'rdf')
include_once("cookbook/rssenclosures.php");
=====
Adrian
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
More information about the pmwiki-users
mailing list