A simple RSS feed downloader that saves items in a Maildir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Shokara Kou 6fe3d8dc04 parse date format without timezone 3 months ago
.gitignore save items in a Maildir/ 4 months ago
LICENSE relicense back under the ISC license 2 years ago
LICENSE.xmlparser prepare to use codemadness's xmlparser instead of yxml 4 months ago
Makefile add strlcpy compatibility file for non-openbsd 4 months ago
README add support for dc:date with sed's help 3 months ago
atom_content.sed added a sed file to wrap the inside of <content> in a CDATA 4 months ago
config.mk add strlcpy compatibility file for non-openbsd 4 months ago
main.c save items in a Maildir/ 4 months ago
parse.c parse date format without timezone 3 months ago
parse.h save items in a Maildir/ 4 months ago
rssdl.1 update manual page 1 year ago
save.c save items in a Maildir/ 4 months ago
save.h save items in a Maildir/ 4 months ago
strlcpy.c add strlcpy compatibility file for non-openbsd 4 months ago
strlcpy.h add strlcpy compatibility file for non-openbsd 4 months ago
xml.c save items in a Maildir/ 4 months ago
xml.h prepare to use codemadness's xmlparser instead of yxml 4 months ago

README

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.

Dependencies
------------
- C99 compatible compiler
- POSIX-compliant libc
- a way to pipe the feed data to rssdl

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

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