Karamba Weather Modified

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

This is basically a modification of the karamba weather theme by Rodion.

The changes I've made are:
o Modified output so two word forcasts split onto two lines so there is no overlap
o Added time conversion so last update time appears in local time
o Added Wind speed and direction
o Enlarged display to fit everthing
o Output lines have been modified, so check output of k_weather.py

The installation instructions have not changed (much):
o Installation Instructions
- Visit http://weather.interceptvector.com/list.php to find the URL of your home city.
- Copy the full URL to k_weather.py, at the 'url =' line.
- append &celsius=true to end of url for celsius
- Place k_weather.py somewhere in your path and run it to be sure that it works.

janet

15 years ago

It seems http://weather.interceptvector.com/ does not exist anymore. I like your theme very much - how can I use it now?

Report

rrichie

17 years ago

hi all,

when i run it, it fails. Here is the traceback :
Traceback (most recent call last):
File "./k_weather.py", line 35, in ?
dom = parseString(xmlweather)
File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: junk after document element: line 2, column 0
Can anyone help me?

Report

Rodion

17 years ago

Would you mind if I included this in the next release of Karamba Weather? I'm soliciting for other themes that use k_weather.py. You don't have to, of course, but it seems easier to me to bundle them all together for ease and comfort. I've going to upload the latest version of Karamba Weather now, since I promised a couple of people that I would do so, but I will be sure to look over your changes and see what I can incorporate into it. Thanks!

Report

C

brennanmh

17 years ago

Yeah, no problem. It would be
alot easier anyway.

Take what you want, discard the rest. The timezone thing is a bit of a hack. There might be a better way. I haven't used python in years so I'm a bit rusty.

-Brennan

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Apr 15 2003
added Apr 15 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0