diff --git a/filter.sh b/filter.sh index 226a2ce..dfae59d 100755 --- a/filter.sh +++ b/filter.sh @@ -183,8 +183,10 @@ function filter_entries { # das leerzeichen am anfang ist notwendig, trennt die zahlenwerte # suche in titel marked_entries+=" $(echo "$unread_entries" | jq --arg url "$url" --arg suchbegriff "$suchbegriff" '.entries[] | select(.feed.site_url | ascii_downcase | contains($url)) | select(.title | ascii_downcase | contains($suchbegriff)) | .id' )" + echo $marked_entries #d # suche in content marked_entries+=" $(echo "$unread_entries" | jq --arg url "$url" --arg suchbegriff "$suchbegriff" '.entries[] | select(.feed.site_url | ascii_downcase | contains($url)) | select(.content | ascii_downcase | contains($suchbegriff)) | .id' )" + echo $marked_entries #d fi fi done