Skip to content

Commit

Permalink
import Feed-Find 0.06 from CPAN
Browse files Browse the repository at this point in the history
git-cpan-module:   Feed-Find
git-cpan-version:  0.06
git-cpan-authorid: BTROTT
git-cpan-file:     authors/id/B/BT/BTROTT/Feed-Find-0.06.tar.gz
  • Loading branch information
Benjamin Trott authored and schwern committed Dec 11, 2009
1 parent 1376c2a commit b8467c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# $Id: Changes 1787 2005-01-09 06:18:25Z btrott $
# $Id: Changes 1874 2005-09-09 05:40:22Z btrott $

Revision history for Feed::Find

0.06 2005.09.08
- Added application/xml as a valid feed type, because certain
services use that as the content type for RSS feeds.

0.05 2005.01.08
- Fixed bug where base URI would be unset if there was a <base>
tag without an href attribute.
Expand Down
2 changes: 1 addition & 1 deletion META.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feed-Find
version: 0.05
version: 0.06
abstract: Syndication Feed Discovery
author: Benjamin Trott <ben+cpan@stupidfool.org>
license: perl
Expand Down
9 changes: 5 additions & 4 deletions lib/Feed/Find.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $Id: Find.pm 1769 2005-01-03 17:45:19Z btrott $
# $Id: Find.pm 1875 2005-09-09 05:41:38Z btrott $

package Feed::Find;
use strict;
Expand All @@ -9,11 +9,12 @@ use HTML::Parser;
use URI;

use vars qw( $VERSION );
$VERSION = '0.05';
$VERSION = '0.06';

use constant FEED_MIME_TYPES => [
'application/x.atom+xml',
'application/atom+xml',
'application/xml',
'text/xml',
'application/rss+xml',
'application/rdf+xml',
Expand Down Expand Up @@ -134,8 +135,8 @@ The following techniques are used:
If the page contains any I<E<lt>linkE<gt>> tags in the I<E<lt>headE<gt>>
section, these tags are examined for recognized feed content types. The
following content types are treated as feeds: I<application/x.atom+xml>,
I<application/atom+xml>, I<text/xml>, I<application/rss+xml>, and
I<application/rdf+xml>.
I<application/atom+xml>, I<application/xml>, I<text/xml>,
I<application/rss+xml>, and I<application/rdf+xml>.
=item 2. Scanning I<E<lt>aE<gt>> tags
Expand Down

0 comments on commit b8467c8

Please sign in to comment.