IETF drafts get no love from my Tablet. I 've tried sending drafts to Instapaper for offline reading, I've tried using Readability but all of these fail to render correctly. Is it too much to ask to be able to read RFC's on the go?
Fortunately I found that the RFCs and I-D's are published to tools.ietf.org in both epub and mobi formats. To pull the full list of epub:
rsync -avz --include="*.epub" --exclude="*" rsync.tools.ietf.org::tools/ebook/ /destination
And for mobi:
rsync -avz --include="*.mobi" --exclude="*" rsync.tools.ietf.org::tools/ebook/ /destination
These are pretty hefty downloads so you might want to tailor these to your current needs by creating using a txt file full of include rules, lets call it filter.txt
Working Group RFC & Internet Drafts
Add lines like this to your filter.txt to download the latest RFCs and I-Ds for the WGs you are following:
*lisp*.mobi
*conex*.mobiĀ
*nvo3*.mobi
*tsvwg*.mobi
Published RFCs
To download the mother load of RFCs add the following line:
rfc.mobi
Published RFCs by Area
To download RFCs by Area add the following:
area.rtg.mobi
area.tsv.mobi
Syncing
All you need to do then is run:
rsync -avz --include-from="/path/to/filter.txt" --exclude="*" rsync.tools.ietf.org::tools/ebook/ /destination
And you are done. The Ebooks are updated daily so to make sure you stay up to date set up a cron job to fetch them for you. First you need create a new file called ietf-ebook.sh and copy/paste the following:
#!/bin/bash
rsync -avz --include-from="/path/to/filter.txt" --exclude="*" rsync.tools.ietf.org::tools/ebook/ /destination
Then it is a case of setting up the cron job. Adding the following to your crontab will sync daily at 3am:
0 3 * * * username /path/to/ietf-ebook.sh