ff
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-05-07 02:09:13 +02:00
parent b8e899e3d9
commit 07c2468f3b

View file

@ -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