[Kmymoney-devel] Regular Expressions for Quote Sources not working
Thomas Baumgart
thb at kmymoney.org
Fri Sep 9 05:44:12 UTC 2011
Hi,
on Thursday 08 September 2011 23:12:42 gnu wrote:
> Hello Developers,
>
> hope this is the right place to ask for some help. At least I found
> the hint in the kmymoney handbook.
> http://kmymoney2.sourceforge.net/online-manual/details.investments.prices.h
> tml
>
> The regular expressions are not working anymore for me.
> I was using
> http://www.boerse-online.de/tools/boerse/einzelkurs_kurse.htm?&s=%1
>
> It seems they changed the website within the last days. When trying to
> fetch prices I always get the "no price or date found" error message.
>
> I tried with
> price: Aktuell(\d+,\d\d)
> date: Kursdatum(\d+\.\d+\.\d+)
> but it seems not to work.
>
> Could you provide some help?
I took a quick look at the site and came up with the following information:
Link:
http://aktien.boerse-online.de/deutsche-boerse/de000a1krnd6.html
Price
<span class="shm_focusElementPrice">41,00</span><span
class="shm_focusElementLastCurrency"> EUR</span>
Date
Kursdatum</td><td class="shm_numericField">08.09.2011</td>
So the link for KMyMoney would be
http://aktien.boerse-online.de/deutsche-boerse/%1
Not sure if de000a1krnd6 is the symbol name or what. Regular expressions have
to be developed.
> Btw, is there somewhere a list with working websites for stock data /
> price fetching?
No, and even if we would have it, chances are it is outdated by the time we
release it.
> Any other pre installed url with reg.expression doesn't work either....
Might not work for you but for others :)
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
"Hey! I could use Tex!" and I've only gotten to use it a little
so far but it's so far superiour to MS Words "be everywhere do
everything"-ness it's not even funny... (lordSauron)
-------------------------------------------------------------
-------------- 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-devel/attachments/20110909/f370bf0d/attachment.sig>
More information about the KMyMoney-devel
mailing list