Marking of new entries is now mostly implemented.

This commit is contained in:
Daniel Mowitz 2021-10-16 20:18:50 +02:00
parent 324fb24b45
commit abf6f8a5c7

View file

@ -1,11 +1,14 @@
#!/bin/sh #!/bin/sh
get-feeds get-feeds
combine-md-files Feeds $HOME/xslfeed/feeds/* > $HOME/xslfeed/feeds.md
for file in $HOME/xslfeed/feeds/* for file in $HOME/xslfeed/feeds/*
do do
mark-new-feed-entries $file > $file other_file="$file.prev"
cp $file $other_file
mark-new-feed-entries $other_file > $file
rm $other_file
done done
combine-md-files Feeds $HOME/xslfeed/feeds/* > $HOME/xslfeed/feeds.md
generate-website-from-md $HOME/xslfeed/feeds.md /etc/xslfeed/style.css generate-website-from-md $HOME/xslfeed/feeds.md /etc/xslfeed/style.css