Bug#477394: missing ability to specify feed type

martin f krafft madduck at debian.org
Tue Apr 22 20:58:55 UTC 2008


Package: libxml-feed-perl
Version: 0.12-1
Severity: minor

XML::Feed can't parse e.g.
http://blog.jroes.net/feeds/posts/default/-/netconf properly and
errors with "Cannot detect feed type" in identify_format().

Unfortunately, I also cannot use

  my $feedobj=XML::Feed->new("Atom");
  $f=eval{$feedobj->parse(\$content)};

either, because parse() doesn't care about the object having been
previously initialised with a type.

It's probably best to allow parse() to take an optional format
parameter.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxml-feed-perl depends on:
ii  libclass-errorhandler-perl 0.01-2        Base class for error handling
ii  libdatetime-format-mail-pe 0.3001-1      Convert between DateTime and RFC28
ii  libdatetime-format-w3cdtf- 0.04-3        Parse and format W3CDTF datetime s
ii  libdatetime-perl           2:0.41-1      perl DateTime - Reference implemen
ii  libfeed-find-perl          0.06-2        Syndication feed auto-discovery
ii  libhtml-parser-perl        3.56-1        A collection of modules that parse
ii  liburi-fetch-perl          0.08-1        Smart URI fetching/caching
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  libwww-perl                5.812-1       WWW client/server library for Perl
ii  libxml-atom-perl           0.28-1        Atom feed and API implementation
ii  libxml-rss-perl            1.32-1        Perl module for managing RSS (RDF 
ii  perl                       5.8.8-12      Larry Wall's Practical Extraction 

libxml-feed-perl recommends no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080422/090a578e/attachment.pgp 


More information about the pkg-perl-maintainers mailing list