Changeset 103
- Timestamp:
- 04/23/06 22:28:39 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plagger/trunk/lib/Plagger/Plugin/CustomFeed/YajiumaWatch.pm
r102 r103 46 46 while (<$fh>) { 47 47 $_ = encode('euc-jp', $_); 48 m |<!-- ¡ü\d+yaji¡ü -->|48 m/<!-- ¡ü\d+yaji¡ü -->|<P>/ 49 49 and do { 50 50 $flag = 1; … … 64 64 and $entry->body(encode('utf-8', decode('euc-jp', $1))) if $flag == 1; 65 65 m|<BR><DIV align=right><FONT size=-1>(.+)</FONT></DIV></P>| 66 and $entry->author(encode('utf-8', decode('euc-jp', $1))) if $flag == 1; 66 and do { 67 $entry->author(encode('utf-8', decode('euc-jp', $1))) if $flag == 1; 68 $feed->add_entry($entry) if $flag == 1; 69 $entry = ''; 70 $flag = 0; 71 }; 67 72 } 68 73 $context->update->add($feed);
