// Weather Icons, Forecast, temps..
Dmeerpa was perfectly right, worse: both high and lo temps also where the forecast ones.
>Code modded to have the current temps/icons.
// Weather Update:
I Met today the Firebug addon for Firefox which really helps in debugging all this JavaScript.
For last “weather update” problem, theme keeps on updating every 0.1 secs (independently of what updateinterval was set)
this could lag the iPhone a lot. (even if i did not notice XD !!)
>found the code bug, modded, now refreshes when asked (update interval)
more debugging to come to be sure the icon/temps refreshes after code change.
EDIT: Looks ok.
New Problem on my iPhone: when i put refresh interval to 15mins and the phone is in standby (black screen) my iPhone looses wi-Fi connection,
what happens is: if the wi-fi was down during the moment of update, there is no update.
No solution to this since there is no trigger for “back on-line” in the iPhone. Setting to 1min can do the trick..
// added Twitter support.
Twitter should be ok:
data recieved by theme comming from twitter plugin:
var twitter = {"tweets":[
{"tweet":"Geeeez","name":"ame235","date":(new Date()).getTime()},
{"tweet":"hello","name":"ame235","date":(new Date()).getTime()+76*3654000},
{"tweet":"Blah","name":"JASPER","date":(new Date()).getTime()}
]};
no debugging available (I have no twitter account…)
if someone wants too debug this please ask in comments (i’ll send to comment mail address).
//PUSH Notifications:
if anyone has the same data output as the one for Twitter for Push notifications,
please post so i can integrate Push Notifications.. (with Facebook 3.1 will add support to facebook also!!)

January 11th, 2010 at 01:27
How do you get the output for push? Have you downloaded the push beta from David Ashman’s repo? Maybe you can get the info from there?
January 11th, 2010 at 01:37
2 days search, i can’t get any info, maybe i should just ask for it from Mr. Ashman.
for twitter i just found some info already made.. so no real deal, format: tweets.tweet, tweets.name, tweets.date.
but push could be formatted in lots of ways… and i have no clue.
i cannot install the push plugin since proswitcher would have to go and i don’t want to.. ashman’s beta repo doesn’t install it if you have the proswitcher installed.
By reading the plugin content i should be able to do all the adaptation work.
so if anyone outhere has the plugin please send me a zip
can be found in /Library/LockIno/Plugins/..
BTW, added feature: by clicking somewhere on the weather you refresh it immediately.
January 11th, 2010 at 01:44
In that case you should go to mac themes and ask David Ashman for the data. He’s a really cool guy and he should be able to help you out better.
That’s great news about the weather and twitter portion. Once push is complete this theme will be a 10 out of 5
January 11th, 2010 at 01:47
if there is no other bug
lol
i couldn’t imagine so many bugs in such a simple theme!
January 11th, 2010 at 02:07
I know what you mean. I use to create themes for android and the amount of people that needed help was a nightmare. Your theme doesn’t have too many bugs. It’s just one weather bug and once that’s fixed you’re all set. Good luck getting everything together. I and many other people are counting on you.
January 11th, 2010 at 09:35
// asked to Mr. Ashman by mail for the output data.
)
waiting…(might have lots to do, o I’ll wait in silence
// Rest of the code looks ok now,
On-click weather update works: that should be a palliative to possible refresh problem due to network loss during standby.
January 11th, 2010 at 15:05
Sounds nice ame235
January 11th, 2010 at 16:58
Hi,
please, I need an help.
Is there someone that has teehanlax-235 lockinfo? I’ve, but I can’t change the default weather icon (Luxemburg), in some posts I’ve seen this path:
Open up the config.js file found under:
/Library/Themes/235_teehanlax_Lockinfo.theme/Bundles/com.ashman.LockInfo/
but, WHAT IS THIS? Where I can find this?
Do I need a SSH connection? Here I can’t have a wifi connection so it’s a problem for me…
Please help me!
January 11th, 2010 at 17:42
@MIKKE76
If you don’t have wifi try diskaid or iphone browser. Both programs allow you to go into the iphone through USB instead. Also if you have the updated version then the config file name is now “config_weather.js”
January 11th, 2010 at 18:06
@MIKKE76:
or if you have you can use iFile directly on the iPhone (i use it for my bed work … LOL XD
January 12th, 2010 at 16:50
Thank you very much everything ok!
Yust another help…How can I change the clock mode? I need a change from AM to PM mode…
Thank you very much guys!
//ame235 edit:
look for it in the locale you use (language)
i you us english just mod the en.js file in strings/
January 15th, 2010 at 19:18
Great great great!
Maybe…is possible to put near the degree the Humidity %?
Thank you!
January 15th, 2010 at 19:29
@MIkke76
no it’s not: weahterplugin does not provide that info as far as i can see.