Catalyst-Model-XML-Feed
view release on metacpan or search on metacpan
lib/Catalyst/Model/XML/Feed.pm view on Meta::CPAN
}
}
return $self;
}
=head2 register($uri_of_feed)
Registers a feed with the Model. If C<$uri_of_feed> points to a feed,
the feed is added under its own name. If $C<$uri_of_feed> points to
an HTML or XHTML document containing C<< <link> >> tags pointing to
feeds, all feeds are added by using their URIs as their names.
Returns a list of the names of the feeds that were added.
Warns if the C<$uri_of_feeds> doesn't contain a feed
or links to feeds, or it cannot be fetched.
=head2 register($name, $uri_of_feed)
Registers a feed with the Model. If C<$name> is already registered,
( run in 0.541 second using v1.01-cache-2.11-cpan-49f99fa48dc )