View Full Version : v0.2 : Desk-Weather, a Weather Applet for Desktop 2.0
Ytorres
8 Jan 2008, 6:37 AM
Desk-Weather is a simple Weather Applet for Desktop 2.0.
Data are fetch from Weather.com (http://weather.com).
You can load multiple city, configure witch units you want to use (metric / english).
You can configure each city to be loaded automatically at StartUp.
Required
* Php >= 5.2.0
* MySql 4 or later
Translator(s)
* Once installed, go to folder plugins/Desk-Weather/locale/, edit file Desk-Weather-en.js, translate it into your own language & rename it to, for example in french, Desk-Weather-fr.js. Then include it to default.php.
Feel free to post your translation & i will add it to official release.
Version
10-12-08 : 0.4
* Port to qWikiOffice version 0.8.1
10-02-08 : 0.3
*Nothing new. Just port to latest qWikiOffice version
01-17-08 : 0.2
* Correct bug witch prevents display some weather icons
* Add Icon & title window like Lev_A suggest (taskbar title can't be change for this moment, we must wait the next Desktop release for this)
* Dblclick on search result open the details window
* Add Russian and Ukrainian languages provides by Lev_A
01-08-08 : 0.1
* First public release in LGPL.
Demo
http://qo-modules.tuxfamily.org/demo/
Download
Desk-Weather (http://qo-modules.tuxfamily.org/index.php?option=com_docman&task=cat_view&gid=40&Itemid=58)
Screen
http://extjs.keliglia.com/app/screen/Desk-Weather/screen1.png
http://extjs.keliglia.com/app/screen/Desk-Weather/screen2.png
http://extjs.keliglia.com/app/screen/Desk-Weather/screen4.png
http://extjs.keliglia.com/app/screen/Desk-Weather/screen3.png
Cool plugin!
Feature request:
1.remove "Display" button and select city directly from list on doubleClick.
2.create MyWeather desktop icon - that keep saved city location and updates when changed temperature - change Title to "In Toronto 12C", when changed weather - change icon - to rain or sun or something else ;)
I think you need more work on that. So take ~o) and I-| and after that you can do it ;)
Good luck!
And waiting new updates and new plugins.
You are Number One, who creates plugins and shared them!
Ytorres
8 Jan 2008, 9:11 AM
Cool plugin!
Feature request:
1.remove "Display" button and select city directly from list on doubleClick.
2.create MyWeather desktop icon - that keep saved city location and updates when changed temperature - change Title to "In Toronto 12C", when changed weather - change icon - to rain or sun or something else ;)
I think you need more work on that. So take ~o) and I-| and after that you can do it ;)
Good luck!
And waiting new updates and new plugins.
You are Number One, who creates plugins and shared them!
Thanks for your comment :)
So :
NextRelease TodoList
* Icon on window is icon for the current day's weather
* Add temperature in window title
create MyWeather desktop icon
What do you thinks when you say that ? don't understand the principle..
Lev_A
8 Jan 2008, 10:45 AM
Thanks for your comment :)
So :
NextRelease TodoList
* Icon on window is icon for the current day's weather
* Add temperature in window title
Correct
What do you thinks when you say that ? don't understand the principle..
Now on desktop you have "Dev docs", "Grid window", "Accordion window" and "Weather" - that icon can be related and show weather and temperature in My City. - I think it should be like one more "Auto Run" module "MyWeather" - that making periodical requests to server and showing current weather (icon) and temperature(title) right on desktop not like separate window.
And you can add Russian and Ukrainian languages to weather ;)
Ytorres
8 Jan 2008, 10:57 AM
Correct
Now on desktop you have "Dev docs", "Grid window", "Accordion window" and "Weather" - that icon can be related and show weather and temperature in My City. - I think it should be like one more "Auto Run" module "MyWeather" - that making periodical requests to server and showing current weather (icon) and temperature(title) right on desktop not like separate window.
And you can add Russian and Ukrainian languages to weather ;)
Thanks for translations ! i will add it in next release ;)
For your suggestion....... hutch ! For doing that, Desk-Weather must be integreated into the Desktop and a task will be set. Each time mxracer release a new version, all people who use this feature must update the source code.... not realy nice... :/
We can imagine this :
When user logging into the Desktop, he start Desk-Weather just one time ; a task will be set into global app, a desktop icon is set on the desktop and your idea can be done :)
What do you think about this ?
Have you a better idea ?
PS : re re re sorry for my poor english....... :/
Lev_A
8 Jan 2008, 11:17 AM
We can imagine this :
When user logging into the Desktop, he start Desk-Weather just one time ; a task will be set into global app, a desktop icon is set on the desktop and your idea can be done :)
What do you think about this ?
Have you a better idea ?
It could be done another way:
when Desk-Weather starts - it create desktop icon, like
Ext.DomHelper.append('x-shortcuts', {
tag: 'dt', cls: 'myWeather-Icon', html:'<a href="#"><img src="resources/images/default/s.gif" /><div>My Weather</div></a>'
});
I'm not sure about that code, but you can get idea.
And than just use that icon
PS : re re re sorry for my poor english....... :/
You have pretty good English ;)
But you have good js-skills ;)
franckxx
8 Jan 2008, 11:28 AM
Hi Yannick,
This is very nice plugin, very interesting.
I like your tooltip for prev days..
I think the LEV_A proposition is great (for have prevision icon on desktop) !, certainly hard to do !! .............OUPS, NOT FOR U :D:D:D !
For me, it will be better to have tabpanels (and add this plugin : http://extjs.com/forum/showthread.php?t=20662) for unDock the panels individualy...
Whe have 2 windows... the search form and the city. It will be better to have just one layout with search and citys... ?
certainly same APPLE weather widgets. Search form is in the option panel... I don't know if it's the best way.
http://daringfireball.net/misc/2005/07/vancouver-weather-1.png
----------------------
In french (sorry for english Exters...but it's so hard for me ARF...) :
Il y a un petit soucis de retour a la ligne parfois :
http://img211.imageshack.us/img211/7402/sanstitre1af4.png
Sinon, je sais que je suis relou, mais :
- Tu ne crois pas que ce serait quand m
Ytorres
17 Jan 2008, 1:25 PM
Hi guys,
New little release ;) See first post for details.
franckxx
17 Jan 2008, 2:08 PM
Hi Yannick,
happy to see this new update !!:)
thx for this last work before your start.....snif :(( !
byebye ;-)
brian.moeskau
17 Jan 2008, 3:08 PM
Very slick looking. Really nice job!
Ytorres
17 Jan 2008, 3:19 PM
Very slick looking. Really nice job!
Thanks Brian ;)
Hi Yannick,
happy to see this new update !!:)
thx for this last work before your start.....snif :(( !
byebye ;-)
arf ;)
Don't worry :) I will be back, promise ;)
I have a lot of ideas and after this internship, i will restart to work on this with even more energy ;)
ajaxvador
18 Jan 2008, 5:43 AM
Very nice job =D>
How to adapt your Weather module in Ext portal ?
Thanks ....
Ytorres
18 Jan 2008, 6:24 AM
Very nice job =D>
How to adapt your Weather module in Ext portal ?
Thanks ....
Hi AjaxVador,
Sorry but i have never play with Ext Portal. Feel free to adapt this plugins to it.
The must big work on this plugin is about Php file witch parse Weather Xml.
You can use it as you want ;)
ajaxvador
18 Jan 2008, 6:48 AM
thanks for your replay,
I will try to adapt your module weather at my portal, and of course the share for the community EXTJS.
i can to modify your module deskmail monitor for portal ?
nice job =D>
Ytorres
18 Jan 2008, 7:26 AM
thanks for your replay,
I will try to adapt your module weather at my portal, and of course the share for the community EXTJS.
i can to modify your module deskmail monitor for portal ?
nice job =D>
Absolutly, all my plugins are release under LGPL. So, you can modify & re-distribute its as you want until you stay under this licence ;)
ajaxvador
18 Jan 2008, 7:50 AM
No problems, I share all the changes made to your modules.
thanks
razor
25 Jun 2008, 6:44 AM
Anybody got this sweet module working with the revised qWikiOffice version?
I am working on it currently, but no luck so far. I would greatly appreciate any help!
razor
25 Jun 2008, 9:01 AM
Ok, the plugin is now working under the new qWikiOffice. Database functionality is not working yet, this has to be rebuilded somewhat. I will post when this works.
What I have done is first changed all paths and replaced the Plugin namespace and vars with QoDesk vars. Afterwards you will need to add the module with the QoAdmin, which is fairly easy.
razor
30 Jun 2008, 6:24 AM
Please find the updated code here:
http://www.tokina.eu/qwiki/weather.zip
The DB/json code is now working (as mentioned in post on next page). The Desk-Weather applet no longer breaks in IE.
And here is the screenshot under the new qwikioffice:
http://www.tokina.eu/qwiki/weather.jpg
Animal
30 Jun 2008, 6:29 AM
What's that big, round, orange fiery thing in those pictures?
It's like no meteorological phenomenon I can remember! :(:(:(:(
razor
30 Jun 2008, 8:16 AM
Haha- that long ago that the sun has touched your skin? ;)
Ytorres
30 Jun 2008, 12:12 PM
Please find the updated code here:
http://www.tokina.eu/qwiki/weather.zip
Please note that the DB/json code is not yet functional, the qwikioffice breaks under IE, but works find under firefox.
Hi Razor !
Great work :)
Pleased to see that :)
cobnet
30 Jun 2008, 10:58 PM
....
Please note that the DB/json code is not yet functional, the qwikioffice breaks under IE, but works find under firefox.
....
Is this the latest version of the desktop?
// get the desktop
require_once("../../../source/desktop.php");
should this be:
// get the desktop
require_once("../../../system/os.php");
Is this the latest version of the desktop?
// get the desktop
require_once("../../../source/desktop.php");
should this be:
// get the desktop
require_once("../../../system/os.php");
You are very correct. I have just updated the code, and the JSON/db functionality is now working again.
The code changes are listed below, these apply to both the php load and save file. The archive has been updated.
// get the desktop
require_once("../../../core/os.php");
if(class_exists('os')){
$desktop = new os();
Stay tuned for the update sometime this week.
-- UPDATE: the archive has been updated (see post on previous page).
Ytorres
1 Oct 2008, 10:32 PM
Hi all,
New release.
Nothing new, just port to latest qWikiOffice.
Please, see http://qo-modules.tuxfamily.org/
mjlecomte
2 Oct 2008, 3:14 AM
What's that big, round, orange fiery thing in those pictures?
It's like no meteorological phenomenon I can remember! :(:(:(:(
LOL. I used to live someplace like that, now I live in the "sunshine state" as they call it. :)
Ytorres
12 Oct 2008, 9:59 AM
New release.
Just a port to qWikiOffice version 0.8.1 ^^
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.