webOS Nation Forums >  Homebrew >  webOS Patches > [Patch] Statusbar Weather Widget
[Patch] Statusbar Weather Widget
  Reply
Like Tree4Likes

 
Thread Tools Display Modes
Old 04/06/2011, 03:53 AM   #1 (permalink)
Homebrew Developer
 
Garrett92C's Avatar
 
Posts: 401
Development of this app/patch/theme has been halted, so this thread is no longer relevant. I'll be putting all my effort into cross-platform Enyo2 applications from now on. If you'd like to keep up with me and my latest work, you know where to find me.

Garrett

Last edited by Garrett92C; 04/02/2013 at 07:21 PM. Reason: attachments deleted per OP request
Garrett92C is offline   Reply With Quote
Old 04/06/2011, 04:41 AM   #2 (permalink)
Member
 
Posts: 99
Wow, looks great!

Thanks a lot
Dreamcatcher is offline   Reply With Quote
Old 04/06/2011, 04:51 AM   #3 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,804
wow and I was just thanking about this.
tooooooooo coooooooool

you the man. ty
warlord9159 is offline   Reply With Quote
Old 04/06/2011, 06:09 AM   #4 (permalink)
Member
 
Posts: 358
What's about Celsius?
Thanks.
Pilotovef is offline   Reply With Quote
Old 04/06/2011, 06:54 AM   #5 (permalink)
Member
 
Posts: 924
This is... AWESOME. This is exactly what I've been wanting, I've been using weathericon, but I feel I can replace it with this. Hopefully this works well.

Although, I have the date replacing the provider string, I assume I'm going to have to uninstall that ya?

Edit:

I just saw you have to edit a file to change the zip, I travel a bit so I'd like to see an easier way. Maybe a GUI frontend or something so it's easy. Or GPS location. But so far, this is awesome. Thanks for your awesome work.
__________________
Sprint Love

Last edited by tooearly; 04/06/2011 at 07:25 AM.
tooearly is offline   Reply With Quote
Old 04/06/2011, 08:45 AM   #6 (permalink)
Member
 
Posts: 58
very nice patch ...thanks...... could you update it to make it easier to intall ?
sunsealeo is offline   Reply With Quote
Old 04/06/2011, 09:21 AM   #7 (permalink)
Member
 
Posts: 924
Quote:
Originally Posted by Garrett92C View Post

I'll make this much easier in the near future.
He will eventually.
__________________
Sprint Love
tooearly is offline   Reply With Quote
Old 04/06/2011, 09:37 AM   #8 (permalink)
Member
 
Posts: 3
Quote:
Originally Posted by Pilotovef View Post
What's about Celsius?
Thanks.
I think adding "&u=c" to line 17, eg :

"+var url = "http://weather.yahooapis.com/forecastrss?w=12772646&u=c";"

Should work.

I'm trying this right now
Fiaxhs is offline   Reply With Quote
Old 04/06/2011, 09:42 AM   #9 (permalink)
Member
 
Posts: 200
Quote:
Originally Posted by Pilotovef View Post
What's about Celsius?
Thanks.
Theoretically if you append the url with &u=c

Code:
http://weather.yahooapis.com/forecastrss?w=27191985&u=c
and change

Code:
+    Mojo.Dom.get('weather-temp').innerHTML = objectTemp + "°F";
to

Code:
+    Mojo.Dom.get('weather-temp').innerHTML = objectTemp + "°C";
It should work ..
__________________
Like Palm, idiots not so much? Visit MockTheAfflicted



twitter: @benfysh
Benuk is offline   Reply With Quote
Thanked By: tklr
Old 04/06/2011, 09:42 AM   #10 (permalink)
Homebrew Developer
 
Posts: 46
that is brilliant!
pigsflew is offline   Reply With Quote
Old 04/06/2011, 09:46 AM   #11 (permalink)
Member
 
Posts: 924
I'm not a super programmer or anything, but (for anyone who has looked at his patch) isn't there a way to use case instead of if/elseifs ?
__________________
Sprint Love
tooearly is offline   Reply With Quote
Old 04/06/2011, 09:49 AM   #12 (permalink)
Moderator

 
sledge007's Avatar
 
Posts: 6,335
High 5 brother!! That is pretty cool. I'm going to put this on right away

That was fairly simple, I haven't messed around with Notepad++ before, but it wasn't that hard. Just out of curiousity, what are those 2 lines (18 & 19) for?
__________________
Due to the cancellation of the penny, I no longer give 2˘ about anything. I may however, give a nickel

Last edited by sledge007; 04/06/2011 at 10:06 AM.
sledge007 is offline   Reply With Quote
Old 04/06/2011, 09:59 AM   #13 (permalink)
Member
 
Jake_M's Avatar
 
Posts: 1,468
Does it poll even if the phones data/WiFi is turned off?
__________________
Quote:
Originally Posted by rwhitby View Post
We always prefer that people donate in response to tangible items they can use today, rather than for intangible promises about the future that may or may not be possible to achieve.
Jake_M is offline   Reply With Quote
Old 04/06/2011, 10:09 AM   #14 (permalink)
Member
 
Posts: 87
@Garrett92C @benuk Awesome to the max!
You made my day!
T.
tklr is offline   Reply With Quote
Old 04/06/2011, 10:11 AM   #15 (permalink)
Moderator

 
sledge007's Avatar
 
Posts: 6,335
I enabled show hidden files on my control panel and don't see the ".scrims" folder in /media/internal.....How do I make that happen?
__________________
Due to the cancellation of the penny, I no longer give 2˘ about anything. I may however, give a nickel
sledge007 is offline   Reply With Quote
Old 04/06/2011, 10:14 AM   #16 (permalink)
Member
 
Posts: 289
Awesome!!!! I've been using the weather icon app. This will allow me to place another app in the quick launch bar. Once this gets updated to locate my GPS, i'm on it! I'll be keeping a close eye on this thread.

Thanks again Garrett, you are off tha chain!!!!
kristoffer10 is offline   Reply With Quote
Old 04/06/2011, 10:14 AM   #17 (permalink)
Member
 
Posts: 87
@sledge007

If the folder´s not already there you´ve to create it first.
tklr is offline   Reply With Quote
Old 04/06/2011, 10:18 AM   #18 (permalink)
Moderator

 
sledge007's Avatar
 
Posts: 6,335
Quote:
Originally Posted by tklr View Post
@sledge007

If the folder´s not already there you´ve to create it first.
I tried to create it as ".scrims" but it says "You must type a file name". (When I put the . in front) I also tried to just name it "scrims" and then set the properties to hidden, but that didn't work either.
__________________
Due to the cancellation of the penny, I no longer give 2˘ about anything. I may however, give a nickel
sledge007 is offline   Reply With Quote
Old 04/06/2011, 10:21 AM   #19 (permalink)
Member
 
Posts: 87
@sledge007 In case you´re using Internalz you could simply create such a directory with it.
tklr is offline   Reply With Quote
Thanked By: sledge007
Old 04/06/2011, 10:24 AM   #20 (permalink)
Member
 
Posts: 66
Quote:
Originally Posted by sledge007 View Post
I tried to create it as ".scrims" but it says "You must type a file name". (When I put the . in front) I also tried to just name it "scrims" and then set the properties to hidden, but that didn't work either.
I assume you're using Windows. Name it as .scrims. (period in front and at end) and it will work. Windows will think there's no extension and "helpfully" remove the last period.
art_sjc is offline   Reply With Quote
Thanked By: sledge007
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0