BaldPenguin has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to generate RSS2 feeds that use custom or non-default namespaces. I have the following restriction, the solution must be Pure Perl, not requiring any compilation before I upload to a hosted server.
I can create the RSS2 feed fine enough with XML::RSS but I need to add some custom data to the feed. I was trying to follow the examples of itunes and yahoo by adding a custom namespace (module) to the feed (ala add_module), but that only seems to work for RSS1 and below.
I am using v1.12, because at v1.20 the module is no longer PP and it's prerequisites require compilation. The code I am using is almost straight out of the docs.
Updated: XML::RSS depends on XML::Parser which is not PurePerl. v1.20 added some date formatting routines that require DateTime to be installed which I cannot load on the remote machine.
Has anyone else had any luck with this?
Don
Everything I've learned in life can be summed up in a small perl script!
I can create the RSS2 feed fine enough with XML::RSS but I need to add some custom data to the feed. I was trying to follow the examples of itunes and yahoo by adding a custom namespace (module) to the feed (ala add_module), but that only seems to work for RSS1 and below.
I am using v1.12, because at v1.20 the module is no longer PP and it's prerequisites require compilation. The code I am using is almost straight out of the docs.
Updated: XML::RSS depends on XML::Parser which is not PurePerl. v1.20 added some date formatting routines that require DateTime to be installed which I cannot load on the remote machine.
Has anyone else had any luck with this?
Don
Everything I've learned in life can be summed up in a small perl script!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::RSS and RSS2 with custom namespaces
by idsfa (Vicar) on Nov 15, 2006 at 21:48 UTC | |
by BaldPenguin (Friar) on Nov 15, 2006 at 22:35 UTC | |
by brig (Scribe) on Nov 16, 2006 at 00:14 UTC | |
by BaldPenguin (Friar) on Nov 15, 2006 at 21:55 UTC | |
Re: XML::RSS and RSS2 with custom namespaces
by pKai (Priest) on Nov 15, 2006 at 21:57 UTC | |
Re: XML::RSS and RSS2 with custom namespaces
by nicholasrperez (Monk) on Nov 16, 2006 at 17:18 UTC | |
Re: XML::RSS and RSS2 with custom namespaces (website address update)
by barrycarlyon (Beadle) on Nov 20, 2006 at 02:26 UTC | |
by BaldPenguin (Friar) on Nov 20, 2006 at 03:32 UTC |
Back to
Seekers of Perl Wisdom