<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Thank you to Thomas and Cristian  for their guidances (and for "subscribing" me to the mailing list)<br>Regards<br>Pascal.<br><br><hr id="zwchr"><br>De: "Cristian Oneț" <onet.cristian@gmail.com><br>À: "KMyMoney Users' mailing list" <kmymoney@kde.org><br>Envoyé: Vendredi 3 Octobre 2014 16:07:54<br>Objet: Re: [Kmymoney] KMM - still other questions ...<br><br>2014-10-03 17:01 GMT+03:00 Thomas Baumgart <thb@net-bembel.de>:<br><blockquote> Hi,<br><br> On Friday 03 October 2014 15:26:05 pjp13@free.fr wrote:<br><br><blockquote> Hello,<br><br> To improve my knowledge of KMM (windows version), I still have questions for<br> which I cannot find answers in the manual or on the web.<br><br> First, thanks to the help from Koos and Thomas, I now have a better<br> understanding of regular expressions, and this led me to better locate<br> where my online quotation update problem lies. I realized that KMM<br> downloads a csv file from the financial website an then uses regex to<br> extract code, quotation and date from this csv file. The trouble is that in<br> some instances the csv file doesn't contain the correct values of quotation<br> and date. Therefore I suspect that the problem comes from the URL used<br> (http://finance.yahoo.com/d/quotes.csv?s=%1&f=sl1d1 in the case of Yahoo<br> for instance). This finally brings me to my question : where could I find<br> informations on how to build/adapt such URLs ? I understand that %1 is used<br> to pass the equitie code but that's about all, I am puzzled by the<br> "&f=sl1d1" for instance.<br></blockquote><br> The %1 is about the only special part introduced by KMyMoney at this point. As<br> you already mention, it is the code for the security. Another one would be %2<br> which is used to retrieve currency exchange information where %1 is a<br> placeholder for the code of the 'from currency' and %2 the counterpart for the<br> code of the 'to currency'.<br><br> The "&f=sl1d1" is something that controls the output of the Yahoo page.<br> Details are unknown and the part is usually obtained by trial and error.<br><br>A search reveals some documentation like this [1] and [2].</blockquote><br><br>Regards,<br>Cristian<br><br>[1] https://code.google.com/p/yahoo-finance-managed/wiki/csvQuotesDownload<br>[2] https://code.google.com/p/yahoo-finance-managed/wiki/enumQuoteProperty<br><br><blockquote><br><blockquote> Second, and it is more a comment than a question, when I try to export a<br> report it always comes out in html format, even if I chose csv format. This<br> is not really a problem as I found an even quicker way to export to Libre<br> Office Calc : a simple copy/paste does the job.<br><br> Thank you in advance, whatever you can do.<br><br> Regards.<br> Pascal<br> _______________________________________________<br> KMyMoney mailing list<br> KMyMoney@kde.org<br> https://mail.kde.org/mailman/listinfo/kmymoney<br> --</blockquote><br><br> Regards<br><br> Thomas Baumgart<br><br> GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA<br> -------------------------------------------------------------<br> Two of the most famous products of Berkeley are LSD and UNIX.<br> I don't think that this is a coincidence. (anonymous)<br> -------------------------------------------------------------<br><br> _______________________________________________<br> KMyMoney mailing list<br> KMyMoney@kde.org<br> https://mail.kde.org/mailman/listinfo/kmymoney<br><br>_______________________________________________</blockquote><br>KMyMoney mailing list<br>KMyMoney@kde.org<br>https://mail.kde.org/mailman/listinfo/kmymoney<br></div></body></html>