n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/scripts/dazibaweb/lemondeint.sh

16 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
repdest="/var/www/website/backends"
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_web.rss http://xml.newsisfree.com/feeds/34/1234.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_objets.rss http://xml.newsisfree.com/feeds/33/1233.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_tendances.rss http://xml.newsisfree.com/feeds/21/821.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_semaine.rss http://xml.newsisfree.com/feeds/61/1361.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_logiciel.rss http://xml.newsisfree.com/feeds/37/1237.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_systemes.rss http://xml.newsisfree.com/feeds/36/1236.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_institution.rss http://xml.newsisfree.com/feeds/35/1235.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_jeux.rss http://xml.newsisfree.com/feeds/32/1232.xml
wget --user-agent="Mozilla/4.0" -O $repdest/xml/mondeint_articles.rss http://xml.newsisfree.com/feeds/63/3163.xml
date +"(MAJ %d %b %Y @ %H:%M)">/var/www/website/webnews/modules/backends/lemondeint.date.txt