|
|
|
@ -3,11 +3,6 @@ rssdl |
|
|
|
|
Simple RSS/Atom feed downloader that saves items in a Maildir that can be read |
|
|
|
|
with a MUA that supports Maildirs like (neo)mutt or aerc. |
|
|
|
|
|
|
|
|
|
License |
|
|
|
|
------- |
|
|
|
|
rssdl itself is licensed under the ISC license while yxml.{c,h} are under MIT |
|
|
|
|
from Yoran Heling. |
|
|
|
|
|
|
|
|
|
Dependencies |
|
|
|
|
------------ |
|
|
|
|
- C99 compatible compiler |
|
|
|
@ -16,10 +11,17 @@ Dependencies |
|
|
|
|
|
|
|
|
|
Usage |
|
|
|
|
----- |
|
|
|
|
curl rss_url | ./rssdl maildir |
|
|
|
|
./rssdl maildir <feed.rss |
|
|
|
|
curl rss_url | rssdl maildir |
|
|
|
|
rssdl maildir <feed.rss |
|
|
|
|
|
|
|
|
|
For atom feeds, pipe the feed through atom_content.sed and then through rssdl. |
|
|
|
|
|
|
|
|
|
curl atom_url | sed -f atom_content.sed | ./rssdl maildir |
|
|
|
|
sed -f atom_content.sed feed.atom | ./rssdl maildir |
|
|
|
|
curl atom_url | sed -f atom_content.sed rssdl maildir |
|
|
|
|
sed -f atom_content.sed feed.atom | rssdl maildir |
|
|
|
|
|
|
|
|
|
For certain feeds that use Dublin Core for specifying the published date, you |
|
|
|
|
can use sed to change the timezone portion of the date to workaround strftime(3) |
|
|
|
|
not recognizing colons in timezone offsets (%z). |
|
|
|
|
|
|
|
|
|
curl rss_url | sed '/dc:date/s,:,,4' | rssdl maildir |
|
|
|
|
sed '/dc:date/s,:,,4' feed.rss | rssdl maildir |
|
|
|
|