Repeated RSS elements
by Juan Julian Merelo Guervos other posts by this author
Nov 24 2005 4:19AM messages near this date
view in the new Beta List Site
Re: Perl-XML Digest, Vol 22, Issue 7
|
Re: Repeated RSS elements
& XSLT Hi,
I'm trying to create a RSS 1.0 file for Google Bulk uploads using
XML::RSS. These RSS 1.0 files have an extension that allows multiple
<g:label> elements, and I'm trying to add them using something like:
$rss-> add_item( title => $titulo,
link => "http://$blog.blogalia.com/historias/$id",
description => $contenido,
g => { expiration_date => join( '-', @caduca ),
publish_date => $estaFecha,
label => $estasCategorias[0] } );
However, if I change this last line to, for instance, label =>
['a','b'], it plainly writes out the ARRAY ref.
One way to fix this is quite obviously to create the xml file using
another module; but before I'd like to know if there's a way of using it
via the XML::RSS module. BTW, I'm using XML::RSS 1.05
JJ
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
David Craig
Juan Julian Merelo Guervos
David Holden
|