You are not logged in.
After many years the acc_RSS script stopped working.
You know the reason.
The developers of AccuWeather have made changes.
I found the problem easily.
This part of the acc_RSS script needs to be changed:
wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address
EDIT
This error appears:
HTTP request sent, awaiting response... 403 Forbidden
I don't know how to work around it, but if we open the page with Firefox, it works as expected.
END EDIT
Bad news first:
I'm not too familiar with the curl and wget commands.
Good news:
I found a solution that temporarily works well, but not as we are used to.
1) Copy/Paste your address from acc_RSS into Firefox's URL bar > Enter.
Example for Paris (France):
https://rss.accuweather.com/rss/livewea … Code=paris
You will get something like this:
2) Open the Firefox menu > Save page as... > Save.
There is now a liveweather_rss.asp.xml file in your ~/Downloads folder.
Note: Make a copy of the accu_RSS script first
Currently, accu_RSS looks like this for me (hopefully temporarily):
#!/usr/bin/env bash
#function: test_image
test_image () {
case $1 in
1|01)
echo a
;;
2|02)
echo b
;;
3|03)
echo c
;;
4|04)
echo c
;;
5|05)
echo c
;;
6|06)
echo d
;;
7|07)
echo e
;;
8|08)
echo e
;;
11)
echo 0
;;
12)
echo h
;;
13|14)
echo g
;;
15)
echo l
;;
16|17)
echo k
;;
18|26)
echo i
;;
19)
echo p
;;
20|21|23)
echo o
;;
22)
echo r
;;
24|31)
echo E
;;
25)
echo u
;;
29)
echo v
;;
30)
echo 5
;;
32)
echo 6
;;
33)
echo A
;;
34|36|37)
echo B
;;
35|38)
echo C
;;
39|40)
echo G
;;
41|42)
echo K
;;
43|44)
echo O
;;
esac
}
#put your accuweather rss address here
#address="http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=paris"
#wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address
file=$HOME/Downloads/liveweather_rss.asp.xml
if [ -f "$file" ]; then
mv $HOME/Downloads/liveweather_rss.asp.xml $HOME/Accuweather_RSS_conky_script/weather_raw
sleep 0.2
if [[ -s $HOME/Accuweather_RSS_conky_script/weather_raw ]]; then
egrep 'Currently|Forecast<\/title>|_31x31.gif' $HOME/Accuweather_RSS_conky_script/weather_raw > $HOME/Accuweather_RSS_conky_script/weather
sed -i '/AccuWeather\|Currently in/d' $HOME/Accuweather_RSS_conky_script/weather
sed -i -e 's/^[ \t]*//g' -e 's/<title>\|<\/title>\|<description>\|<\/description>//g' $HOME/Accuweather_RSS_conky_script/weather
sed -i -e 's/<img src="/\n/g' $HOME/Accuweather_RSS_conky_script/weather
sed -i '/^$/d' $HOME/Accuweather_RSS_conky_script/weather
sed -i -e 's/_31x31.*$//g' -e 's/^.*\/icons\///g' $HOME/Accuweather_RSS_conky_script/weather
sed -i -e '1s/.$//' -e '3s/.$//' -e '6s/.$//' $HOME/Accuweather_RSS_conky_script/weather
##################### old ##############################
# for (( i=2; i<=8; i+=3 ))
# do
# im=$(sed -n ${i}p $HOME/Accuweather_RSS_conky_script/weather)
# sed -i $i"s/^.*$/$(test_image $im)/" $HOME/Accuweather_RSS_conky_script/weather
# done
#### @il.harun - Convert to PNG Images day_1.png, day_2.png, day_3.png
j=1
for (( i=2; i<=8; i+=3 ))
do
## cp $HOME/Accuweather_RSS_conky_script/images/Forecast_Images_2015/$(sed -n ${i}p $HOME/Accuweather_RSS_conky_script/weather | awk '{print int($1)}').png $HOME/Accuweather_RSS_conky_script/day_$j.png
## cp $HOME/Accuweather_RSS_conky_script/images/Forecast_Images_2016/$(sed -n ${i}p $HOME/Accuweather_RSS_conky_script/weather | awk '{print int($1)}').png $HOME/Accuweather_RSS_conky_script/forecast_$j.png
im=$(sed -n ${i}p $HOME/Accuweather_RSS_conky_script/weather)
sed -i $i"s/^.*$/$(test_image $im)/" $HOME/Accuweather_RSS_conky_script/weather
((j++))
done
fi
fi
Done.
Restart conky.
Now we have to manually update the script every few hours.
You will need to repeat steps 1) and 2) when you want fresh data.
If you add a page (address) to bookmarks, it only takes a few seconds.
P.S.
I'll try to find a better solution, but like I said, I'm not familiar with curl and wget commands.
It would be great if someone knows how to download a page like this (with curl or wget):
https://rss.accuweather.com/rss/livewea … Code=paris
In that case I would very easily change the accu_RSS script.
Last edited by marens (2024-04-15 02:40:00)
If people would know how little brain is ruling the world, they would die of fear.
Offline
It would be great if someone knows how to download a page like this (with curl or wget):
https://rss.accuweather.com/rss/livewea … Code=parisIn that case I would very easily change the accu_RSS script.
I'm probably missing something important here, but if I give that url to curl it comes back with what looks like an rss feed:
john@beryllium:~$ curl "https://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=paris"
<?xml version = "1.0"?>
<rss version="2.0">
<channel>
<title>Paris, FR - AccuWeather.com Forecast</title>
<link>https://www.accuweather.com/get/weather?page=extended&locationid=623</link>
<description>AccuWeather.com Forecast & Current Conditions</description>
<ttl>60</ttl>
<copyright>Copyright 2024, AccuWeather, Inc., All rights reserved. For personal use only.</copyright>
<pubDate>Mon, 15 Apr 2024 03:08:33 GMT</pubDate>
<language>en-us</language>
<image>
<title>Paris, FR - AccuWeather.com Forecast</title>
<link></link>
<description>AccuWeather.com The Best Weather on the Web!</description>
<url>https://vortex.accuweather.com/adc2004/pub/images/logos/adc_logo_187.gif</url>
<width>144</width>
<height>19</height>
</image>
<item>
<title>Currently: Mostly Cloudy: 11C</title>
<link>https://www.accuweather.com/get/weather?locationid=623</link>
<guid isPermaLink="false">https://www.accuweather.com</guid>
<description>Currently in Paris, FR: 11 °C and Mostly Cloudy
<img src="https://vortex.accuweather.com/phoenix2/images/common/icons/38_31x31.gif">
</description>
<pubDate>Mon, 15 Apr 2024 03:08:33 GMT</pubDate>
</item>
<item>
<title>4/15/2024 Forecast</title>
<link>https://www.accuweather.com/get/weather?locationid=623&day=1</link>
<guid isPermaLink="false">https://www.accuweather.com/get/weather?locationid=623&day=1</guid>
<description>High: 13 C Low: 6 C A couple of afternoon showers <img src="https://vortex.accuweather.com/phoenix2/images/common/icons/13_31x31.gif" ></description>
<pubDate>Mon, 15 Apr 2024 03:08:33 GMT</pubDate>
</item>
<item>
<title>4/16/2024 Forecast</title>
<link>https://www.accuweather.com/get/weather?locationid=623&day=2</link>
<guid isPermaLink="false">https://www.accuweather.com/get/weather?locationid=623&day=2</guid>
<description>High: 14 C Low: 4 C A shower; breezy in the p.m. <img src="https://vortex.accuweather.com/phoenix2/images/common/icons/14_31x31.gif" ></description>
<pubDate>Mon, 15 Apr 2024 03:08:33 GMT</pubDate>
</item>
<item>
<title>The AccuWeather.com RSS Center</title>
<description>To discover additional weather feeds, visit the AccuWeather.com RSS Center at https://corporate.accuweather.com/resources/downloads</description>
<link>https://corporate.accuweather.com/resources/downloads</link>
<guid isPermaLink="false">https://www.accuweather.com/en/downloads</guid>
<pubDate>Mon, 15 Apr 2024 03:08:33 GMT</pubDate>
</item>
</channel>
</rss>
It looks a bit short though.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^ Thanks @johnraff.
I already tried the same command (terminal), but unfortunately I didn't use ".
OK.
Thanks to John, fixing the script is very easy.
Go back to the beginning and just replace the line:
wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address
with:
#wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address
curl $address > $HOME/Accuweather_RSS_conky_script/weather_raw
P.S.
I am currently testing the acc_RSS script and so far everything is working as it should.
Last edited by marens (2024-04-15 12:42:41)
If people would know how little brain is ruling the world, they would die of fear.
Offline
@marens : thanks for above. It's working again here too.
Offline
I already tried the same command (terminal), but unfortunately I didn't use ".
Yes, that ? in the url would have caused unexpected behaviour from the shell unless it was wrapped in single or double quotes.
(It's possible wget might have worked too.)
Last edited by johnraff (2024-04-16 04:49:29)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
replace the line:
wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address
with:
#wget -O $HOME/Accuweather_RSS_conky_script/weather_raw $address curl $address > $HOME/Accuweather_RSS_conky_script/weather_raw
I think you want to quote the variables to be on the safe side:
curl "$address" > "$HOME/Accuweather_RSS_conky_script/weather_raw"
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^ Thanks again @johnraff.
Of course I take your advice since you have a lot of experience with curl (unlike me).
I think you want to quote the variables to be on the safe side:
curl "$address" > "$HOME/Accuweather_RSS_conky_script/weather_raw"
Done.
Yes, that ? in the url would have caused unexpected behaviour from the shell unless it was wrapped in single or double quotes.
(It's possible wget might have worked too.)
I tried in the terminal with wget and " " but the error remained.
$ wget -O "$HOME/weather_raw" "https://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=paris"
HTTP request sent, awaiting response... 403 Forbidden
Surely there is a way to download the file using wget, but that doesn't matter anymore because thanks to you we already achieved what we wanted and the acc_RSS script is working.
Last edited by marens (2024-04-16 16:43:55)
If people would know how little brain is ruling the world, they would die of fear.
Offline
There is probably a similar saying in your language:
Curiosity built the world.
I have been trying to see why the wget command does not work in the acc_RSS script after many years.
After a little research I found this:
https://bobcares.com/blog/wget-403-forbidden
And:
I quoted the variables per John's advice.
The result is:
wget -O "$HOME/Accuweather_RSS_conky_script/weather_raw" --user-agent=”Mozilla” "$address"
The solution with curl works perfectly, but if you want you can try with wget:
#curl "$address" > "$HOME/Accuweather_RSS_conky_script/weather_raw"
wget -O "$HOME/Accuweather_RSS_conky_script/weather_raw" --user-agent=”Mozilla” "$address"
P.S.
Let's hope nothing else changes in the next few years as we are used to.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Accuweather_RSS_conky_script - Conclusion
If we dive deep into the problem, several solutions are likely to emerge.
We have already successfully solved it in two ways (with curl and wget).
But then...
I remembered that Teo used a similar approach with the curl command in ACS.
Now we have three solutions, but out of great respect for Teo, I decided on the third.
Choose which one you like:
#curl "$address" > "$HOME/Accuweather_RSS_conky_script/weather_raw"
#wget -O "$HOME/Accuweather_RSS_conky_script/weather_raw" --user-agent=”Mozilla” "$address"
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -o $HOME/Accuweather_RSS_conky_script/weather_raw "$address"
Many thanks @johnraff for your support.
If people would know how little brain is ruling the world, they would die of fear.
Offline
hello
I suppose accu_rss is not possible to be in french .
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ I'm sorry.
I don't think it's possible.
If people would know how little brain is ruling the world, they would die of fear.
Offline
@ marens
oki-doki
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
@loutch
I found this today:
https://github.com/soimort/translate-shell
I'm using Ubuntu (with GNOME) and was surprised to see that I could easily install with sudo apt install translate-shell.
$ sudo apt install translate-shell -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
translate-shell is already the newest version (0.9.6.11-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
At the end of the acc_RSS script I just added these lines:
#### Marens - French Translation
sed -n '1p' $HOME/Accuweather_RSS_conky_script/weather | awk '{$NF="";sub(/[ \t]+$/,"")}1' | awk '{$1=""; print $0}' | awk '{print substr($0,2)}' | sed 's/://g' | trans -brief :fr | sed 's/u200b//g' | sed 's/ ;/;/g' > $HOME/Accuweather_RSS_conky_script/translate_fr
sed -n '4p' $HOME/Accuweather_RSS_conky_script/weather | cut -d ' ' -f7- | trans -brief :fr | sed 's/u200b//g' | sed 's/ ;/;/g' >> $HOME/Accuweather_RSS_conky_script/translate_fr
sed -n '7p' $HOME/Accuweather_RSS_conky_script/weather | cut -d ' ' -f7- | trans -brief :fr | sed 's/u200b//g' | sed 's/ ;/;/g' >> $HOME/Accuweather_RSS_conky_script/translate_fr
#### Marens - END French Translation
In the folder Accuweather_RSS_conky_script you get the file translate_fr (Currently, day_1, day_2):
Partiellement ensoleillé
Venteux; une douche l'après-midi
Un peu de soleil, puis des nuages
Maybe the translation will be weird sometimes, but it needs time to test.
I'm sure you'll manage easily.
P.S.
Here is a list of supported languages for those who are interested:
$ trans -R
┌───────────────────────┬───────────────────────┬───────────────────────┐
│ Afrikaans - af │ Hebrew - he │ Portuguese - pt │
│ Albanian - sq │ Hill Mari - mrj │ Punjabi - pa │
│ Amharic - am │ Hindi - hi │ Querétaro Otomi- otq │
│ Arabic - ar │ Hmong - hmn │ Romanian - ro │
│ Armenian - hy │ Hmong Daw - mww │ Russian - ru │
│ Azerbaijani - az │ Hungarian - hu │ Samoan - sm │
│ Bashkir - ba │ Icelandic - is │ Scots Gaelic - gd │
│ Basque - eu │ Igbo - ig │ Serbian (Cyr...-sr-Cyrl
│ Belarusian - be │ Indonesian - id │ Serbian (Latin)-sr-Latn
│ Bengali - bn │ Irish - ga │ Sesotho - st │
│ Bosnian - bs │ Italian - it │ Shona - sn │
│ Bulgarian - bg │ Japanese - ja │ Sindhi - sd │
│ Cantonese - yue │ Javanese - jv │ Sinhala - si │
│ Catalan - ca │ Kannada - kn │ Slovak - sk │
│ Cebuano - ceb │ Kazakh - kk │ Slovenian - sl │
│ Chichewa - ny │ Khmer - km │ Somali - so │
│ Chinese Simp...- zh-CN│ Klingon - tlh │ Spanish - es │
│ Chinese Trad...- zh-TW│ Klingon (pIqaD)tlh-Qaak Sundanese - su │
│ Corsican - co │ Korean - ko │ Swahili - sw │
│ Croatian - hr │ Kurdish - ku │ Swedish - sv │
│ Czech - cs │ Kyrgyz - ky │ Tahitian - ty │
│ Danish - da │ Lao - lo │ Tajik - tg │
│ Dutch - nl │ Latin - la │ Tamil - ta │
│ Eastern Mari - mhr │ Latvian - lv │ Tatar - tt │
│ Emoji - emj │ Lithuanian - lt │ Telugu - te │
│ English - en │ Luxembourgish - lb │ Thai - th │
│ Esperanto - eo │ Macedonian - mk │ Tongan - to │
│ Estonian - et │ Malagasy - mg │ Turkish - tr │
│ Fijian - fj │ Malay - ms │ Udmurt - udm │
│ Filipino - tl │ Malayalam - ml │ Ukrainian - uk │
│ Finnish - fi │ Maltese - mt │ Urdu - ur │
│ French - fr │ Maori - mi │ Uzbek - uz │
│ Frisian - fy │ Marathi - mr │ Vietnamese - vi │
│ Galician - gl │ Mongolian - mn │ Welsh - cy │
│ Georgian - ka │ Myanmar - my │ Xhosa - xh │
│ German - de │ Nepali - ne │ Yiddish - yi │
│ Greek - el │ Norwegian - no │ Yoruba - yo │
│ Gujarati - gu │ Papiamento - pap │ Yucatec Maya - yua │
│ Haitian Creole - ht │ Pashto - ps │ Zulu - zu │
│ Hausa - ha │ Persian - fa │ │
│ Hawaiian - haw │ Polish - pl │ │
└───────────────────────┴───────────────────────┴───────────────────────┘
Last edited by marens (2024-05-01 17:04:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
Many tanks marens , work great .
Ensoleillé
Ensoleillé et très chaud
Nuageux, un peu de pluie; glacière
@+
Last edited by loutch (2024-05-01 20:20:48)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ Yes.
It seems to work very well.
I checked how it would look with Accuweather_conky_script and daily_phrase file.
*Note
Just replace loutch with the real name.
$ trans -brief :fr file:///home/loutch/Accuweather_conky_script/daily_phrase | sed 's/u200b//g'
Un peu de soleil, puis devenant nuageux ; venteux ce matin, puis quelques averses cet après-midi
Beaucoup de nébulosité et plus frais avec quelques averses
Les nuages cèdent la place à un peu de soleil et de chaleur
Partiellement ensoleillé et agréable
...
Conclusion
You can translate the file daily_phrase to any (supported) language and use in conky.
German:
$ trans -brief :de file:///home/loutch/Accuweather_conky_script/daily_phrase | sed 's/u200b//g'
Etwas Sonne, dann wird es bewölkt; Heute Morgen ist es windig, heute Nachmittag gibt es ein paar Regenschauer
Erhebliche Bewölkung und kühler mit einigen Schauern
Wolken weichen etwas Sonne und es wird wärmer
Teilweise sonnig und angenehm
...
Dutch:
$ trans -brief :nl file:///home/loutch/Accuweather_conky_script/daily_phrase | sed 's/u200b//g'
Wat zon, daarna bewolkt; vanochtend winderig, vanmiddag enkele buien
Veel bewolking en koeler met enkele buien
Wolken maken plaats voor wat zon en het wordt warmer
Gedeeltelijk zonnig en aangenaam
...
Conky:
$ trans -brief :de file:///home/loutch/Accuweather_conky_script/daily_phrase | sed 's/u200b//g' > $HOME/Accuweather_conky_script/daily_phrase_de
$ trans -brief :nl file:///home/loutch/Accuweather_conky_script/daily_phrase | sed 's/u200b//g' > $HOME/Accuweather_conky_script/daily_phrase_nl
EDIT
Replaced command:
trans --brief
with:
trans -brief
Last edited by marens (2024-05-05 20:14:00)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
@ marens
GREAT job buti don't have any daily_phrase in my daily_forecast just this.
Thu
5/2
12
15
8
82%
Fri
5/3
12
15
5
55%
Sat
5/4
6
15
8
25%
Sun
5/5
12
15
8
85%
Mon
5/6
12
16
8
75%
Tue
5/7
13
17
7
58%
Oed
5/8
12
18
8
60%
Thu
5/9
6
18
6
3%
Fri
5/10
3
18
7
1%
Sat
5/11
3
20
8
1%
Sun
5/12
3
22
9
1%
Mon
5/13
6
21
10
2%
Tue
5/14
2
19
11
10%
Oed
5/15
18
20
11
69%
h
m
f
-
-
-
d
i
f
-
-
-
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ You probably haven't updated the accuweather script.
There have been several changes.
Look here first:
https://forums.bunsenlabs.org/viewtopic … 42#p127942
P.S.
My accuweather script is different and best to wait for someone with an updated base version (@ceeslans or @asqwerth).
If people would know how little brain is ruling the world, they would die of fear.
Offline
^ Then in this order (I hope I didn't skip anything):
https://forums.bunsenlabs.org/viewtopic … 88#p130188
If people would know how little brain is ruling the world, they would die of fear.
Offline
Re
many tanks
French phrase
Pluie
Un peu de pluie le matin ; sinon, plutôt nuageux
Plutôt nuageux avec quelques averses
Plutôt nuageux; un peu de pluie le matin suivie de quelques averses l'après-midi
Une couverture nuageuse épaisse avec un peu de pluie l'après-midi
Nuages bas avec averses éparses l'après-midi
Généralement nuageux avec quelques averses, principalement en fin de journée
Quelques averses le matin ; sinon, les nuages cèdent au soleil
Plutôt nuageux
Partiellement ensoleillé avec quelques averses, principalement en début de journée
Partiellement ensoleillé
Partiellement ensoleillé
Partiellement ensoleillé
Pluie
Une épaisse couverture nuageuse ; une averse matinale par endroits suivie d'un peu de pluie l'après-midi
Nébulosité considérable ; quelques averses le matin, puis des averses et des orages l'après-midi
Nuageux; zones de bruine le matin suivies d'un peu de pluie l'après-midi
Pluie
Nuageux avec quelques averses suivies d'une pluie plus constante
Restant nuageux avec de la pluie occasionnelle
Partiellement ensoleillé avec quelques averses l'après-midi
Nuages considérables ; une averse matinale par endroits suivie d'un peu de pluie l'après-midi
Nuageux avec quelques averses
Nuageux; une averse par endroits le matin suivie d'un peu de pluie l'après-midi
Une épaisse couverture nuageuse ; un peu de pluie le matin suivi de quelques averses et d'un orage l'après-midi
Nébulosité importante avec orages par endroits
Nuageux avec quelques averses et orages l'après-midi
Nuageux; un orage par endroits le matin suivi d'un orage par endroits dans l'après-midi
Restant nuageux; un orage le matin suivi d'un orage l'après-midi
Plutôt nuageux avec un peu de pluie l'après-midi
Nuageux; un peu de pluie le matin suivi d'un orage par endroits dans l'après-midi
Soleil suivi de nuages croissants
Un peu de soleil, puis des nuages croissants
Soleil et nuages épars
Nuageux
Une épaisse couverture nuageuse ; un peu de pluie le matin suivi d'averses par endroits l'après-midi
Plus de nuages que de soleil avec un orage par endroits dans l'après-midi
Nuageux avec quelques averses et orages l'après-midi
Partiellement ensoleillé
Partiellement ensoleillé
Nébulosité croissante
Partiellement ensoleillé
Ciel couvert avec pluie intermittente et orage l'après-midi
Passages nuageux et soleil avec quelques averses et orage
Nébulosité considérable ; pluie intermittente le matin suivie de quelques averses et d'un orage l'après-midi
classu003d"phrase">Plutôt nuageux avec un peu de pluie l'après-midi</div>
<div classu003d"phrase">Nuageux ; un peu de pluie le matin suivi d'un orage par endroits dans l'après-midi</div>
<div classu003d"phrase">Soleil suivi de nuages croissants</div>
<div classu003d"phrase">Un peu de soleil, puis nuages croissants</div>
<div classu003d"phrase">Ensoleillement et nuages épars</div>
<div classu003d"phrase">Nuageux</div>
<div classu003d"phrase">Une épaisse couverture nuageuse ; un peu de pluie le matin suivi d'averses ponctuelles l'après-midi</div>
<div classu003d"phrase">Plus de nuages que de soleil avec un orage par endroits dans l'après-midi</div>
<div classu003d"phrase">Nuageux avec quelques averses et un orage dans l'après-midi</div>
<div classu003d"phrase">Partiellement ensoleillé</div>
<div classu003d"phrase">Partiellement ensoleillé</div>
<div classu003d"phrase">Nébulosité croissante</div>
<div classu003d"phrase">Partiellement ensoleillé</div>
<div classu003d"phrase">Couvert avec pluie intermittente et orage dans l'après-midi</div>
<div classu003d"phrase">Intervalles de nuages et de soleil avec quelques averses et un orage</div>
<div classu003d"phrase">Nébulosité considérable ; pluie intermittente le matin suivie de quelques averses et d'un orage l'après-midi</div>
daily_phrase
Rain
A touch of rain in the morning; otherwise, mostly cloudy
Mostly cloudy with a couple of showers
Mostly cloudy; a little morning rain followed by a couple of showers in the afternoon
A thick cloud cover with a touch of rain in the afternoon
Low clouds with a stray shower in the afternoon
Mostly cloudy with a couple of showers around, mainly late in the day
A couple of showers in the morning; otherwise, clouds yielding to sun
Mostly cloudy
Partly sunny with a couple of showers, mainly early in the day
Partly sunny
Partly sunny
Partly sunny
Rain
A thick cloud cover; a morning shower in spots followed by a little rain in the afternoon
Considerable cloudiness; a couple of morning showers, then afternoon showers and thunderstorms
Cloudy; areas of drizzle in the morning followed by a little rain in the afternoon
Rain
Cloudy with a couple of showers followed by a steadier rain
Remaining cloudy with occasional rain
Partly sunny with a couple of showers in the afternoon
Considerable clouds; a morning shower in spots followed by a little rain in the afternoon
Cloudy with a stray shower
Cloudy; a shower in spots in the morning followed by a little rain in the afternoon
A thick cloud cover; a little rain in the morning followed by a couple of showers and a thunderstorm in the afternoon
Considerable cloudiness with a thunderstorm in spots
Cloudy with a couple of showers and a thunderstorm in the afternoon
Cloudy; a thundershower in spots in the morning followed by a thunderstorm in spots in the afternoon
Remaining cloudy; a thundershower in the morning followed by a thunderstorm in the afternoon
Mostly cloudy with a little rain in the afternoon
Cloudy; a little morning rain followed by a thunderstorm in spots in the afternoon
Sun followed by increasing clouds
Some sun, then increasing clouds
Sunshine and patchy clouds
Cloudy
A thick cloud cover; a little rain in the morning followed by a shower in spots in the afternoon
More clouds than sun with a thunderstorm in spots in the afternoon
Cloudy with a couple of showers and a thunderstorm in the afternoon
Partly sunny
Partly sunny
Increasing cloudiness
Partly sunny
Overcast with periods of rain and a thunderstorm in the afternoon
Intervals of clouds and sun with a couple of showers and a thunderstorm
Considerable cloudiness; periods of rain in the morning followed by a couple of showers and a thunderstorm in the afternoon
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ Your daily_phrase file looks fine, but the French phrase doesn't.
This shouldn't be there:
classu003d"phrase">Plutôt nuageux avec un peu de pluie l'après-midi</div>
<div classu003d"phrase">Nuageux ; un peu de pluie le matin suivi d'un orage par endroits dans l'après-midi</div>
<div classu003d"phrase">Soleil suivi de nuages croissants</div>
<div classu003d"phrase">Un peu de soleil, puis nuages croissants</div>
...
I can't see what command you used.
If people would know how little brain is ruling the world, they would die of fear.
Offline