Revision 679022

Go back to digest for 24th June 2007

Features in Office

Sebastian Sauer committed changes in /trunk/koffice/kspread/plugins/scripting:

Added the yweather.py script that provides us the KSpread YWEATHER scripting function.

Those function does use the YAHOO! Weather web service to provide a scripting function that displays the current temperature of a defined location.

So, once those script got executed we are able to;
=YWEATHER("GMXX0151";"c")
where the "GMXX0151" is a US zip code or a Location ID.

You are also able to reference a cell where those location is defined;
=YWEATHER("=C13";"c")

File Changes

Added 1 files
  • /trunk/koffice/kspread/plugins/scripting/scripts/yweather.py
Modified 4 files
  • /trunk/koffice/kspread/plugins/scripting
  •   /ScriptingFunction.cpp
  •   /ScriptingFunction.h
  •   /scripts/CMakeLists.txt
  •   /scripts/scripts.rc
5 files changed in total