[Kmymoney] online quotes

Thomas Baumgart thb at net-bembel.de
Sun Oct 2 05:31:02 UTC 2011


Hi,

on Sunday 02 October 2011 00:31:17 Jochen Schmid wrote:

> Hello Volker,
> 
> On Sat, Oct 01, 2011 at 08:54:03PM +0200, you wrote:
> > My entry in /home/volker/.kde/share/config/kmymoney2rc looks like this:
> > 
> > [Online-Quote-Source-Wallstreet-Online.DE (Default)]
> > DateFormatRegex=%d %m %y
> > DateRegex="timeinfo">\\s*(\\d+\\.\\d+\\.\\d+)
> > PriceRegex=push="open_v">(\\d+,\\d+).*
> > SkipStripping=true
> > SymbolRegex=ISIN:\\s*(\\w+)
> > URL=http://www.wallstreet-online.de/si/?k=%1&spid=ws
> > 
> > Your DateFormatRegex is different, month before day.
> > Today, that gives a valid but wrong date (Jan 10 instead of Oct 1),
> > but yesterday that may have given an invalid date (9th day of 30th
> > month).
> 
> It works! Thank you.
> 
> @Thomas: Please improve logging of this process. Thank you.
> 
> > Check "Skip HTML stripping".
> 
> What does that mean? Stripping from what?

If not selected, the downloaded data will be modified such that:

- HTML tags are removed
- any '&...;' is replaced with ' '
- extra whitespace is removed (multiple occurrences are reduced to one, blanks 
at the beginning or end of a line are removed)

If you need the full HTML code for your regexp to match, then you need to 
check this option. In the above example it is required.
 
-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots.
-------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20111002/716004ed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20111002/716004ed/attachment.sig>


More information about the KMyMoney mailing list