add minute food, no more t21-cakes and no renamed posts pls

This commit is contained in:
Felix Van der Jeugt 2022-09-24 10:52:46 +02:00
parent 8e73e212d8
commit 8ddb2121cf
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 9 additions and 4 deletions

View File

@ -15,11 +15,15 @@ pgrep gpg-agent > /dev/null
d="$(mktemp -d)"
trap "rm -rf '$d'" EXIT KILL
mmkdir "$d"
sfeed_update > /dev/null 2>&1
sfeed_update > /dev/null 2>&1 || true
sfeed_mbox ~/.sfeed/feeds/* | mdeliver -M -v "$d" | while read mail; do
if ! mlist /data/mail/feeds | magrep -q message-id:"$(mshow -qh message-id "$mail" | cut -d' ' -f2)"; then
mdeliver /data/mail/feeds < "$mail" > /dev/null
if mlist /data/mail/feeds | magrep -q message-id:"$(mshow -qh message-id "$mail" | cut -d' ' -f2)"; then
continue
fi
if rg -qF "$(mshow -O "$mail" 1)" /data/mail/feeds; then
continue
fi
mdeliver /data/mail/feeds < "$mail" > /dev/null
done
rm -rf "$d"

View File

@ -12,6 +12,7 @@ feeds() {
feed "This week in Rust" "https://this-week-in-rust.org/rss.xml"
feed "Saturday Morning Breakfast Cereal" "https://www.smbc-comics.com/comic/rss"
feed "Minute Physics" "https://www.youtube.com/feeds/videos.xml?channel_id=UCUHW94eEFW7hkUMVaZz4eDg"
feed "Minute Food" "https://www.youtube.com/feeds/videos.xml?channel_id=UCA0g3liRXdpqyhxiQiE55tA"
feed "Primitive Technology" "https://www.youtube.com/feeds/videos.xml?channel_id=UCAL3JXZSzSm8AlZyD3nQdBA"
feed "Nicolaas" "http://feeds.soundcloud.com/users/soundcloud:users:454191234/sounds.rss"
feed "Jolla Blog" "https://blog.jolla.com/feed/"
@ -26,5 +27,5 @@ feeds() {
feed "FOSDEM" "https://fosdem.org/2021/rss.xml"
feed "BE-Alert" "https://www.be-alert.be/nl/rss.xml"
feed "Martanne" "https://www.brain-dump.org/blog/index.xml"
feed "Instagram T21" "https://bibliogram.snopyta.org/u/tvervack/rss.xml"
# feed "Instagram T21" "https://bibliogram.snopyta.org/u/tvervack/rss.xml"
}