david-caro / erex_yomi

Generate and e-mail a daily selection of the Hebrew Wikipedia to a(n external) list of subscribers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

erex_yomi

Generate and e-mail a daily selection of the Hebrew Wikipedia to a(n external) list of subscribers.

The template names are all hard-coded out of sheer laziness, but it should be trivial to adapt to other Mediawiki-based sites, and you're very welcome to do so.

It is designed to be run via toolforge jobs. Here's a sample way to run it:

# build it
toolforge build start https://github.com/abartov/erex_yomi
# schedule the cron
toolforge job run \
    --mount=all \
    --schedule '0 19 */2 * *' \
    --command run-cron \
    --image tool-erex-yomi/tool-erex-yomi:latest \
    erex_yomi

Author

This is an afternoon hack by Asaf Bartov asaf.bartov@gmail.com

About

Generate and e-mail a daily selection of the Hebrew Wikipedia to a(n external) list of subscribers.

License:The Unlicense


Languages

Language:Ruby 96.9%Language:Shell 2.4%Language:Procfile 0.7%