Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
hello, translation from english to chinese does not work in the translation widget. in the translation.js file, not the parser, i changed the "iso" value from "zh-Hans" to just "zh". this seemed to fix it. although now i am unsure if it is simplified or traditional.
 
alright! new widget fix drop! i managed to get the espn widget working using espn's "official" undocumented api endpoint, http://site.api.espn.com/apis/site/v2/sports/basketball/nba/news. it uses json instead of xml, so i had to ask gemini for a bit of help with "converting" it. someone reported that the score numbers dont show up, but it works fine for me. anyways, news does work and scores will display the team names. please let me know if the scores show up!
 

Attachments

  • ESPN.zip
    2.9 MB · Views: 30
hello, translation from english to chinese does not work in the translation widget. in the translation.js file, not the parser, i changed the "iso" value from "zh-Hans" to just "zh". this seemed to fix it. although now i am unsure if it is simplified or traditional.
Thank you! I've fixed this, in the same way you did; it looks like Deepl changed something since I'm pretty sure this used to work. "zh" should still be simplified, although Deepl's API docs are not entirely clear.

I've also taken this opportunity to add a few new languages to the widget, which Deepl now supports.

Is it okay if I add your fixed widgets to mavericksforever.com? I'll say "created by iPodNano3", of course!
 
Thank you! I've fixed this, in the same way you did; it looks like Deepl changed something since I'm pretty sure this used to work. "zh" should still be simplified, although Deepl's API docs are not entirely clear.

I've also taken this opportunity to add a few new languages to the widget, which Deepl now supports.
alright, thanks!
Is it okay if I add your fixed widgets to mavericksforever.com? I'll say "created by iPodNano3", of course!
yes, that would be great. thank you!
 
  • Like
Reactions: Wowfunhappy
sorry, i didnt realize until now, that i set the path for the espn widget parser to /library/widgets/espn.wdgt, instead of the current directory. this meant the widget would not function if it was not placed inside /library/widgets. here is the updated version to use the parser in its current directory. i apologize!
 

Attachments

  • ESPN.zip
    3 MB · Views: 34
  • Like
Reactions: Wowfunhappy
espn update:
enabled golf (pga), soccer (intl, us, eu, uk), tennis (atp) and auto racing (f1). golf, tennis and racing scores are currently broken. i haven't had much luck with golf as it cannot be parsed the same as other sports. it is an individual sport as opposed to a team sport, so no <home> and <away> values. news is ok on all of them. soccer scores are functional.
stocks update:
nothing much, just enabled the ability to view more up to date, live stock data on yahoo finance's website. you can activate this feature by double clicking on the symbols on the front side of the widget. it will open the page in your default browser.
 

Attachments

  • ESPN 2.zip
    3 MB · Views: 33
  • Stocks 2.zip
    925.8 KB · Views: 28
  • Like
Reactions: Wowfunhappy
stocks update: switched charts, stats, symbol validation to Requis's YQL server because it provides more up to date and accurate data compared to the previous one by Electimon. news will continue to use Electimon's server as Requis's server does not provide news.

heads up: when testing i found that requis's server is a little bit slow when requesting the stock data. charts load fine, but you will have to wait around 10 seconds for numbers.
 

Attachments

  • Stocks.zip
    926.3 KB · Views: 21
  • Like
Reactions: Wowfunhappy
@Wowfunhappy, I have a couple of the pirateweather_apiable_io Weather widget questions:
  1. Have you added a pirate weather backside logo? Combing through the /Images folder, I saw yahoo and weatherdotcom.
  2. Have you updated your new widget since the introduction?
  3. What files inside the widget package have you updated compared to the HERE version?
 
@Wowfunhappy, I have a couple of the pirateweather_apiable_io Weather widget questions:
  1. Have you added a pirate weather backside logo? Combing through the /Images folder, I saw yahoo and weatherdotcom.
  2. Have you updated your new widget since the introduction?
  3. What files inside the widget package have you updated compared to the HERE version?
They don't have a logo, so the backside just uses text. I haven't updated it since the switch to PirateWeather, you can tell by the "Last Updated" date on MavericksForever.com; I promise to keep that timestamp up to date.
 
ok so i made some smaller changes to the stocks widget.

fixed the issue where it said "undefined" as the source for news. i removed it entirely since the server doesn't provide the source; mostly for a cleaner look.
fixed the 52w low/high not appearing.
fixed the vol (volume) and avg vol (average daily volume) not showing up.
fixed an issue where when you added a new symbol it was case sensitive, meaning you could have 2 of the same symbols added to the list, one lowercase and one uppercase. the lowercase one would not be able to receive any data because the server only accepts uppercase symbols. now, they are all converted to uppercase when adding and it will check for existing symbols in uppercase as well.

p.s. @Wowfunhappy please refer to me as Pod on mavericksforever.com if you're adding this to the site!
 

Attachments

  • Stocks.zip
    926 KB · Views: 8
  • Like
Reactions: Wowfunhappy
This is the same location, date and time, but different readings. The official Apple widget is on the right.

pirate_accu.jpeg
 
  • Like
Reactions: chown33
This is the same location, date and time, but different readings. The official Apple widget is on the right.

View attachment 2577907
Well, yes, they get weather from different data sources. Just like how if you watch the weather report on two different TV channels they may make different predictions. (The high and low temperature is still a prediction since you're predicting for the day.)
 
hey, i think at this point most of the default widgets work, with the exception of flight tracker, ski report, and movies.

flight tracker looks like it doesn't use apple's widget server (wu.apple.com, the one that shut down 5 years ago), it uses flytecomm's own server. however, that server is no longer up either and after some research i think flytecomm might have gone bankrupt, and had to cease their services as a result. it seems like a complicated widget to fix.

movies, i don't see it contact any server through the proxy, but according to the parser.js, it uses wu.apple.com to get the ticket purchase page url, but other than that its trailers.apple.com and apple.com/trailers to get movie/theater data. both of which now redirect to tv.apple.com, which is probably why the widget is failing. also seems difficult to fix.

i think ski report may be an easier one, but i just can't find a reliable api for it. i didn't want to use a json one, since the widget expects xml. there were few xml ones i found, and they all had low quotas or just had terrible documentation. i am still trying to find a way to get this widget working, but if someone could suggest a stable ski resort api (preferrably in xml), please let me know! thank you.
 
@iPodNano3 I think your contributions warrant branching to a separate thread titled smth like "I fixed other Dashboard widgets".

On a side note, could you post a screenshot or a video of the Stocks widget after your patches?
 
  • Like
Reactions: iPodNano3
@iPodNano3 I think your contributions warrant branching to a separate thread titled smth like "I fixed other Dashboard widgets".

On a side note, could you post a screenshot or a video of the Stocks widget after your patches?
 

Attachments

  • Screen Shot 2025-11-18 at 23.21.19.png
    Screen Shot 2025-11-18 at 23.21.19.png
    470.1 KB · Views: 6
  • Screen Shot 2025-11-18 at 23.18.51.png
    Screen Shot 2025-11-18 at 23.18.51.png
    461.8 KB · Views: 8
  • Screen Shot 2025-11-18 at 23.19.12.png
    Screen Shot 2025-11-18 at 23.19.12.png
    478.3 KB · Views: 8
  • Like
Reactions: maverick28
Hi, I just replaced your 2020 widget (weather for existing places was still working but it was impossible to add new ones.) The new one just hangs when I try to add places (validating...). Is this because the generic API has run out of calls? I am on 10.5 so I guess the personal API key won't work. Thanks for all your amazing work on this!
 
Hi, I just replaced your 2020 widget (weather for existing places was still working but it was impossible to add new ones.) The new one just hangs when I try to add places (validating...). Is this because the generic API has run out of calls? I am on 10.5 so I guess the personal API key won't work. Thanks for all your amazing work on this!
Hi, it's still working for me! Anything in the Console?
 
Hi, I just replaced your 2020 widget (weather for existing places was still working but it was impossible to add new ones.) The new one just hangs when I try to add places (validating...). Is this because the generic API has run out of calls? I am on 10.5 so I guess the personal API key won't work. Thanks for all your amazing work on this!
iirc the pirate weather api did go offline temporarily sometime this week. i dont remember when but i remember it was broken for me as well.
 
I get this message in the console:
24/11/2025 08:56:16 [0x0-0x7007].com.apple.dock[118] 2025-11-24 08:56:16.099 DashboardClient[178:10b] (com.apple.widget.weather) undefined: ReferenceError: Can't find variable: knownDataForString (line: 0)

Picture 1.png


The widget hangs on "validating".


Update:

I am still getting the same message after adding an API key to the WeatherParser file. Maybe this website won't talk to a Leopard PPC computer?
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.