Introduction
Introduction Statistics Contact Development Disclaimer Help
gutenberg-news - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
gutenberg-news (340B)
---
1 #!/bin/sh
2
3 export PATH="$PATH:/home/annna/bin"
4
5 bookchannel="#bitreich-books"
6
7 bookrec="$(curl -s gopher://gopher.icu/0/gutenberg/newbooks.atom.xml \
8 | sfeed \
9 | sed 's,^[0-9]*\t\([^\t]*\)\t\([^\t]*\).*,\1 ( \2 ),' \
10 | shuf -n 1)"
11 if [ -n "${bookrec}" ];
12 then
13 annna-say -c "${bookchannel}" "Today's book recommendation: ${bo…
14 fi
15
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.