Masatoshi Mizuno
and 1 contributors


Egg::Release::XML::FeedPP - XML::FeedPP module kit for Egg.


When RSS Feed is treated, XML::FeedPP is very convenient.

MODEL and VIEW to use the XML::FeedPP were enclosed.


Mounting Model arrives and the method of XML::FeedPP is called with AUTOLOAD easily.

Therefore, it is recommended to receive the XML::FeedPP object by the feed method, and to operate it directly.

  my $feed= $e->model('FeedPP')->feed('');

Please see the document of XML::FeedPP in detail.

see Egg::Model::FeedPP.


Mounting VIEW is a little tactful from MODEL.

After content_type and charset are set, the content trained to XML::FeedPP is output.

The character-code should be likely to be converted. You will use the Encode plug-in for it.

  my $feed= $e->default_view('FeedPP')->feed;
  $feed->title('MY BLOG');
  for my $item (@items) {
        $feed->add_item( $item->{url},
          title       => $e->utf8_conv(\$item->{title}),
          description => $e->utf8_conv(\$item->{description}),
  # The output is left to Egg.

see Egg::View::FeedPP.


Egg::Model::FeedPP, Egg::View::FeedPP, XML::FeedPP, Egg::Release,


Masatoshi Mizuno <>


Copyright (C) 2007 by Bee Flag, Corp. <>, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.