[OGDev] OpenGuides 0.55 released

Nick Burch openguides at gagravarr.org
Wed Jun 14 18:36:29 BST 2006


On Wed, 14 Jun 2006, Dominic Hargreaves wrote:
> Finally, as promised, here is OpenGuides 0.55. It's tested and works
> beautifully.

Whoops. It doesn't quite, in my overhaul of the feeds, I somehow managed 
to let this howler past, in OpenGuides/Feed.pm:

      my %known_types = (
                           'rss'  => \&atom_maker,
                           'atom' => \&rss_maker,
                        );

Anyone spot the inversion?

So, you'll want to apply the following patch:


--- Feed.pm     (revision 793)
+++ Feed.pm     (working copy)
@@ -95,8 +95,8 @@
      my ($self,$feed_type) = @_;

      my %known_types = (
-                          'rss'  => \&atom_maker,
-                          'atom' => \&rss_maker,
+                          'atom'  => \&atom_maker,
+                          'rss' => \&rss_maker,
                        );

      croak "No feed type specified" unless $feed_type;


/me -> make sure the OpenGuides feed tests actually check what feed they
        get back, and not just the contents of them

Nick



More information about the OpenGuides-Dev mailing list