[Kmymoney] Help with new on-line quote

David Houlden djhoulden at gmail.com
Sat Apr 6 12:22:45 UTC 2013


On Saturday 06 April 2013 12:22:14 Nicholas Elliott wrote:
> Hi
> 
> Could someone please advise how I can add a new source - I have tried
> but as far as regular expressions go my ambition far outweighs my
> ability...
> 
> Here's an example link to the source I'm looking to add:
> 
> http://funds.ft.com/uk/Tearsheet/Summary?s=GB0033741223:GBP
> 
> I can get KMM to visit the page but it returns "no price or no date".
> 
> The price appears just above the text "NAV in GBP" and the date below
> it.
> 
> Many thanks
> 
> Nick

Hi Nick,

I can't remember if this is one of the KMyMoney provided sources for online 
quotes or whether I got it from somewhere else but I have the following in 
my settings. It worked ok when I just tried it.

URL:    http://funds.ft.com/uk/Tearsheet/Summary?s=%1:GBP
Symbol:    data-display-symbol="(.*):
Price:    class="text first">([\d,]*\d+\.\d+)</td>
Date:    As of market close\ (.*)\.
Date Format:    %m %d %y
Tick the box that says Skip HTML Stripping.

Regards,
Dave.


More information about the KMyMoney mailing list