Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Adding Dublin Core to RSS 2.0 via XML::RSS?

by Anonymous Monk
on Sep 01, 2022 at 06:48 UTC ( [id://11146592]=note: print w/replies, xml ) Need Help??


in reply to Adding Dublin Core to RSS 2.0 via XML::RSS?

Dublin core? Which version are you running XML::RSS
  • Comment on Re: Adding Dublin Core to RSS 2.0 via XML::RSS?

Replies are listed 'Best First'.
Re^2: Adding Dublin Core to RSS 2.0 via XML::RSS?
by mldvx4 (Friar) on Sep 01, 2022 at 14:09 UTC

    Wait. I'm not sure any more since the source says one thing and the running module seems to say something else:

    $ perl -MXML::RSS -e 'print $XML::RSS::VERSION,"\n";' 1.59 $ grep -E '1.59|1.62' /usr/local/share/perl/5.34.0/XML/RSS.pm $XML::RSS::VERSION = '1.62'; $VERSION = '1.59'; version 1.62

    I've deleted the existing module, reinstalled it (again) via CPAN, and double checked that there is only one instance:

    $ find /usr -type f -name 'RSS.pm' -print 2>/dev/null /usr/share/perl5/XML/Feed/Entry/Format/RSS.pm /usr/share/perl5/XML/Feed/Format/RSS.pm /usr/local/share/perl/5.34.0/XML/RSS.pm $ perl -e 'print join("\n",sort @INC),"\n";' /etc/perl /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/local/lib/site_perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/share/perl/5.34 /usr/share/perl5

      Looking at the code, I'm fairly confident that you have v1.62, and that the claim of v1.59 is a release-process bug. I've reported this as a perl-XML-RSS issue.

Re^2: Adding Dublin Core to RSS 2.0 via XML::RSS?
by mldvx4 (Friar) on Sep 01, 2022 at 10:38 UTC

    It appears to be XML::RSS version 1.62:

    $ head -n2 /usr/share/perl5/XML/RSS.pm package XML::RSS; $XML::RSS::VERSION = '1.62';

    That supports RSS 2.0 and that, if I read the spec correctly, allows additional namespaces, such as Dublin Core.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-17 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found