MozillaZine

[EXT] Forecastfox (fix version)

Announce and Discuss the Latest Theme and Extension Releases.
Marky Mark DE
 
Posts: 6
Joined: October 4th, 2009, 10:42 pm

Post Posted February 21st, 2015, 1:27 am

Is it possible to show the also translated weather conditions the forecast tooltip too?
Mean something like "Clody with a shower and spots" or "A rain or snow shower early".
Can remember a older version of the originally add-on had this.

And the day/month inside the same tooltip should have the leading "0" if the day or month is under two digits
mean 01.01.1970 instead of 1.1.1970

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 6:26 am

Marky Mark DE wrote:Is it possible to show the also translated weather conditions the forecast tooltip too?
Mean something like "Clody with a shower and spots" or "A rain or snow shower early".
Can remember a older version of the originally add-on had this.

XML from http://accuweather.com/ is broken for non-english lang
in future version I will integrate "S3.Google Translator" for translate forecasts
https://addons.mozilla.org/addon/s3google-translator/

Marky Mark DE wrote:And the day/month inside the same tooltip should have the leading "0" if the day or month is under two digits
mean 01.01.1970 instead of 1.1.1970

please wait new version

Ark42
 
Posts: 18
Joined: February 27th, 2004, 8:43 am

Post Posted February 21st, 2015, 6:31 am

pag77 wrote:XML from http://accuweather.com/ is broken for non-english lang


Can you give an example URL? In what way is it broken?


Ark42
 
Posts: 18
Joined: February 27th, 2004, 8:43 am

Post Posted February 21st, 2015, 6:49 am

Wow, they really do just cut off the XML at the date. Has anybody contacted AccuWeather to see if they'll fix that?

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 6:53 am

Yes, many people have written a year ago

Ark42
 
Posts: 18
Joined: February 27th, 2004, 8:43 am

Post Posted February 21st, 2015, 6:59 am

I see... Have you looked into switching from their Legacy API http://api.accuweather.com/developers/legacyAPIGuide to their new API in JSON format http://api.accuweather.com/developers/ ?
It would probably be a bit of work, but I guess their old API is not supported anymore. Seems better to use the new API than to live Google translate things though.

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 7:06 am

you will pay each month for access to the api? :)
I have no extra money.. :(

Ark42
 
Posts: 18
Joined: February 27th, 2004, 8:43 am

Post Posted February 21st, 2015, 7:09 am

Where does it list prices, I missed that? It seems like you just email them to get a key?

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 7:26 am

Accuweather API-data is not free, I asked them...

Basic service (current conditions only) for $650/month
...and +$10 per block of 10,000 requests per month

total: if users ForecastFox(fix version) =~ 50,000
1 user =~ 10 request in day
1 month =~ 30 day
-----
650 + (50.000 * (10 * 30)) / 10.000 = 650 + 1500 =~ $2000 / month

Brummelchen
 
Posts: 3799
Joined: March 19th, 2005, 10:51 am

Post Posted February 21st, 2015, 8:46 am

lol? not seriously...
although - 2000 bucks /50.000 users make 4 cent a user. up to a year makes 50 cent.
some people spend more money on more stupid things.

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 8:54 am

> some people spend more money on more stupid things.

left to figure out how to get them to pay :mrgreen: :mrgreen: :mrgreen:

Brummelchen
 
Posts: 3799
Joined: March 19th, 2005, 10:51 am

Post Posted February 21st, 2015, 9:10 am

with paypal? people love PP :D

foxyproxy offers also a version which is only available when paid, no demo.

Ark42
 
Posts: 18
Joined: February 27th, 2004, 8:43 am

Post Posted February 21st, 2015, 10:56 am



The XML content looks different, but if AccuWeather really just won't cooperate (because they don't want free traffic I guess?) You could always try just using the Legacy API from some popular source that they can't shut down, like the Samsung Galaxy line of phone's default weather widget that's preinstalled on all their models:
http://samsungmobile.accu-weather.com/w ... 5&langId=3

Notice they changed the domain to use a hyphen, changed adcbin to widget, and forecast-data.asp to weather-data.asp, but the general format is the same, and this copy seems to include valid French text.

pag77
 
Posts: 1590
Joined: December 26th, 2013, 10:46 pm

Post Posted February 21st, 2015, 1:48 pm

Ark42 wrote:like the Samsung Galaxy line of phone's default weather widget that's preinstalled on all their models:

xml is a little different, but I can use it, THANK YOU!!! :)

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 3 guests