Changeset 110

Show
Ignore:
Timestamp:
02/22/06 19:17:39
Author:
miyagawa
Message:

so Hatena fixed the form name duplicate problem

Files:

Legend:

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

    r107 r110  
    3737 
    3838    $mech->get("http://r.hatena.ne.jp/miyagawa/config"); 
    39  
    40     # HatenaRSS config has two different 'opml' forms :/ 
    41     # so we loop through it and use the latter one 
    42     for my $form ($mech->forms) { 
    43         $mech->{form} = $form if $form->attr('name') eq 'opml'; 
    44     } 
    45  
    46     $mech->submit_form(); 
     39    $mech->submit_form(form_name => 'opmlexport'); 
    4740 
    4841    my $opml = $mech->content;