|
|
@ -126,9 +126,9 @@ sub process_feed { |
|
|
|
_log(debug => "Already seen before: $time"); |
|
|
|
_log(debug => "Already seen before: $time"); |
|
|
|
next; |
|
|
|
next; |
|
|
|
} |
|
|
|
} |
|
|
|
my $text = ($feedconf->{lookup} eq 'title') |
|
|
|
my $text = ($feedconf->{lookup} eq 'body') |
|
|
|
? $entry->title |
|
|
|
? $entry->content->body |
|
|
|
: $entry->content->body; |
|
|
|
: $entry->title; |
|
|
|
_log(info => "Processing: " . $entry->title); |
|
|
|
_log(info => "Processing: " . $entry->title); |
|
|
|
_log(debug => "Match text is: ". $text); |
|
|
|
_log(debug => "Match text is: ". $text); |
|
|
|
foreach my $match (@{ $feedconf->{matches} }) { |
|
|
|
foreach my $match (@{ $feedconf->{matches} }) { |
|
|
@ -299,7 +299,7 @@ Lookup this field in RSS/ATOM entry for wanted keywords. Acceptable values: 'bod |
|
|
|
Type of link in RSS/ATOM entry. Possible values: |
|
|
|
Type of link in RSS/ATOM entry. Possible values: |
|
|
|
|
|
|
|
|
|
|
|
* direct -- link points directly to torrent file (default) |
|
|
|
* direct -- link points directly to torrent file (default) |
|
|
|
* page -- link points to page with link to torrent file |
|
|
|
* page -- link points to page with link to torrent file (not implemented yet) |
|
|
|
|
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
|
|
=head1 SEE ALSO |
|
|
|
|
|
|
|
|
|
|
|