Changeset 107

Show
Ignore:
Timestamp:
02/22/06 18:41:31
Author:
miyagawa
Message:

Added HatenaRSS Subscription using HTML scraper

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Subscription/OPML.pm

    r106 r107  
    2828 
    2929    my $xml; 
    30     if ($uri->scheme =~ /^https?$/) { 
     30    if (ref($uri) eq 'SCALAR') { 
     31        $xml = $$uri; 
     32    } 
     33    elsif ($uri->scheme =~ /^https?$/) { 
    3134        $context->log(debug => "Fetch remote OPML from $uri"); 
    3235        my $response = Plagger::UserAgent->new->get($uri);