Revision 090e3ff...
Go back to digest for 16th October 2011Features in Office
*New feature: Possibility to download values of units with regular expressions.
To add a new source of download, you just have to add a file in $HOME/.kde/share/apps/skrooge/quotes/
This file must be like this:
URL. %1 will be replaced by the internet code of the unit
HTML or CSV. In HTML mode, only one value will be extracted from downloaded page. In CSV mode, a value per line will be extracted.
Regular expression for the price (see http://doc.qt.nokia.com/latest/qregexp.html" target="_blank">http://doc.qt.nokia.com/latest/qregexp.html)
Regular expression for the date (see http://doc.qt.nokia.com/latest/qregexp.html" target="_blank">http://doc.qt.nokia.com/latest/qregexp.html)
Format of the date (see http://doc.qt.nokia.com/latest/qdate.html#fromString-2)
Example:
https://www.amundi-ee.com/part/home_fp&partner=PACTEO_SYS&code_pacteo=%1
HTML
VL : </span><span class="valeur">([^<]*)</span>
Valeurs au ([^<]*)
dd MMMM yyyy
File Changes
- /quotes
- skgbankmodeler/Amundi.txt
- skgbankmodeler/Stooq
- skgbankmodeler/Stooq.txt
- CHANGELOG
- TODO
- skgbankmodeler/CMakeLists.txt
- skgbankmodeler/skgdocumentbank.cpp
- skgbankmodeler/skgunitobject.cpp
- skgbankmodeler/skgunitobject.h
- skgbasemodeler/skgdocument.cpp
- tests/skgbankmodelertest/skgtestunit.cpp
- plugins/skrooge/skrooge_unit/skgunitpluginwidget.cpp
- plugins/skrooge/skrooge_unit/skgunitpluginwidget_base.ui