Package: libxml-feed-perl Version: 0.08-1 Severity: normal Working with Jeff Waugh's feed, I noticed that XML::Feed fails to get any dates from it. The feed is atom and the dates look fine:
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" > <updated>2006-07-28T13:03:16Z</updated> <published>2006-07-28T09:36:43Z</published> <updated>2006-07-28T09:39:53Z</updated> (Full feed attached as index.html.) Seems that XML::Feed::Atom does not look for the right xml element names. Instead of looking for updated and published elements, it looks for "modified" and "issued" elements. Are those old names from an earlier version of atom? RFC 4287 uses the updated and published elements. With the attached patch, it can now parse this feed's dates, and should still support any feeds out there using the other tag names. Please apply as soon as you can, this is breaking my aggregator. :-) -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libxml-feed-perl depends on: ii libclass-errorhandler-perl 0.01-2 Base class for error handling ii libdatetime-format-mail-per 0.2901-2 Convert between DateTime and RFC28 ii libdatetime-format-w3cdtf-p 0.04-2 Parse and format W3CDTF datetime s ii libdatetime-perl 1:0.2901-1.1 perl DateTime - Reference implemen ii libfeed-find-perl 0.06-2 Syndication feed auto-discovery ii libhtml-parser-perl 3.55-1 A collection of modules that parse ii liburi-fetch-perl 0.06-1 Smart URI fetching/caching ii liburi-perl 1.35-2 Manipulates and accesses URI strin ii libwww-perl 5.805-1 WWW client/server library for Perl ii libxml-atom-perl 0.16a-0.1 Atom feed and API implementation ii libxml-rss-perl 1.05-1 Perl module for managing RSS (RDF ii perl 5.8.8-6 Larry Wall's Practical Extraction libxml-feed-perl recommends no packages. -- no debconf information -- see shy joTitle: eighty-eight miles per hour
The bottom line is that even this informal analysis shows there are definitely differences in how fast Linux distributions develop and issue security patches. Security managers should keep that in mind when their organizations are in the process of selecting a version of Linux. Timeliness of security updates may prove to be a key issue that differentiates manufacturers of otherwise-similar operating systems.
Martin Pitt, Ubuntu’s security czar, flat out rocks!
]]>In your latest post, you ask, “Don’t you see how evil Israel is?“
I’d say that perhaps their leadership has been foolish, inappropriately violent, morally bankrupt and self-destructive, but I wouldn’t say evil. Characterising an enemy’s behaviour as evil means that you are putting yourself in absolute opposition to them, unwilling to sympathise or empathise with their position, and totally dismissing the possibility that a peaceful resolution could be made between philosophies and beliefs. In some cases, that is actually true, but the word is bandied about far too often for us to use it in a realistic way.
I hope you don’t actually think that Israel — the country and its people — is evil, because I think you’re far too reasonable to think that the situation is ultimately a zero sum game.
]]>Suggestions for suitable punishments we can dole out to Rusty at linux.conf.au 2007 in the comments, please.
]]>No, I’m not going to space. But I’ve stung myself with a similar dilemma — what if “do what you love” means taking bare-knuckled, stomach-churning risk head on? There’s only one answer that I know I’ll be able to live with: DO IT. POP THE TRUNK.
So today, I resigned from Canonical. I finish up at the end of the month.
It seems like an insane time to step off the merry-go-round, considering the ever-rising crescendo in the Ubuntu community, and the incredible progress I have been privileged to watch within Canonical — the juggernaut is in fifth gear, heaving and chomping at the bit to shift up to sixth.
So, why now? I’m excited about Ubuntu, passionate about its mission, confident in its future, and have thoroughly enjoyed being part of it from the very beginning… But ultimately, my heart lies with another, and I have to take that chance, face that risk, while my family commitments and responsibilities allow it. (To avoid any confusion this will inevitably bring — no, Pia is not pregnant! Stop asking that!)
What’s next? Swimming upstream.
]]>I probably say it all too often here, but this is a familiar story for many GNOMErs. With such a fantastic community of fun, smart and committed people, it is extremely challenging to resist GNOME’s unique gravitational pull.
]]>Shit! Now I have to get rid of two mullets.
I’ll be at OSCON, speaking about building the Ubuntu community.
]]>I can understand his frustration — gnome-screensaver has been flicking the hate switches for a lot of our traditional, tech-savvy users. I’m hearing about it a lot. It’s a great example of GNOME shipping software a teeny-weeny bit too early, building dependencies around it, and frustrating a bunch of our early adopters.
So if anyone’s looking for a good way to make our early adopters and momentum users happier — and by “happier” I mean “kick arse” — give your love to gnome-screensaver today. Delight them with a bit of just works… and a bit of just works personalisation to boot!
]]>Will miss you at OSCON, but for very good reasons!
(For the GNOMies who don’t know Stormy, she was the HP representative to the GNOME Foundation for quite some time, and was always great at cutting to the chase and shining a light on what really mattered. Also, it was entertaining to have Stormy and Havoc at the same meetings.)
]]>--- Atom.pm.orig 2006-07-30 11:46:29.000000000 -0400
+++ /usr/share/perl5/XML/Feed/Atom.pm 2006-07-30 11:58:30.000000000 -0400
@@ -59,7 +59,8 @@
if (@_) {
$feed->{atom}->modified(DateTime::Format::W3CDTF->format_datetime($_[0]));
} else {
- iso2dt($feed->{atom}->modified);
+ return iso2dt($feed->{atom}->modified) if $feed->{atom}->modified;
+ return iso2dt($feed->{atom}->updated);
}
}
@@ -162,7 +163,9 @@
if (@_) {
$entry->{entry}->issued(DateTime::Format::W3CDTF->format_datetime($_[0])) if
$_[0];
} else {
- $entry->{entry}->issued ? iso2dt($entry->{entry}->issued) : undef;
+ return iso2dt($entry->{entry}->issued) if $entry->{entry}->issued;
+ return iso2dt($entry->{entry}->published) if $entry->{entry}->published;
+ return undef;
}
}
@@ -171,7 +174,9 @@
if (@_) {
$entry->{entry}->modified(DateTime::Format::W3CDTF->format_datetime($_[0])) if
$_[0];
} else {
- $entry->{entry}->modified ? iso2dt($entry->{entry}->modified) : undef;
+ return iso2dt($entry->{entry}->modified) if $entry->{entry}->modified;
+ return iso2dt($entry->{entry}->updated) if $entry->{entry}->updated;
+ return undef;
}
}
signature.asc
Description: Digital signature

