Browse Source

* add note about 'linktype' option

* change default handling for 'lookup' option
master
Alex 'AdUser' Z 10 years ago
parent
commit
2c79ec538b
  1. 8
      twatch-lite

8
twatch-lite

@ -126,9 +126,9 @@ sub process_feed {
_log(debug => "Already seen before: $time");
next;
}
my $text = ($feedconf->{lookup} eq 'title')
? $entry->title
: $entry->content->body;
my $text = ($feedconf->{lookup} eq 'body')
? $entry->content->body
: $entry->title;
_log(info => "Processing: " . $entry->title);
_log(debug => "Match text is: ". $text);
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:
* 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

Loading…
Cancel
Save