22 lines
953 B
Bash
Executable file
22 lines
953 B
Bash
Executable file
#!/bin/sh
|
|
|
|
export HTTP_USER_AGENT="Opera/7.10 (UNIX; U) [en]"
|
|
|
|
command="./curl_wrapper"
|
|
|
|
echo
|
|
echo "---- googlenews.sh ----"
|
|
echo
|
|
|
|
$command xml/googlenewsfr_une.rss http://news.google.fr/news?ned=fr\&topic=h\&output=rss
|
|
$command xml/googlenewsfr_int.rss http://news.google.fr/news?ned=fr\&topic=w\&output=rss
|
|
$command xml/googlenewsfr_france.rss http://news.google.fr/news?ned=fr\&topic=n\&output=rss
|
|
$command xml/googlenewsfr_eco.rss http://news.google.fr/news?ned=fr\&topic=b\&output=rss
|
|
$command xml/googlenewsfr_science.rss http://news.google.fr/news?ned=fr\&topic=t\&output=rss
|
|
$command xml/googlenewsfr_sante.rss http://news.google.fr/news?ned=fr\&topic=m\&output=rss
|
|
$command xml/googlenewsfr_sports.rss http://news.google.fr/news?ned=fr\&topic=s\&output=rss
|
|
$command xml/googlenewsfr_culture.rss http://news.google.fr/news?ned=fr\&topic=e\&output=rss
|
|
|
|
date +"(MAJ %d %b %Y @ %H:%M)">/www/website/webnews/modules/backends/googlenewsfr.date.txt
|
|
|
|
|