Summary: | Import online quote sources from kmymoney | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libalkimia | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | General | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 8.2 | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | Version Fixed In: |
Description
Ralf Habacker
2019-01-09 11:36:25 UTC
> [2] Currently only HTML is supported, CSV support would have to be imported > from kmymoney5, json and xml require a new parser implementation. Parsing online quotes in Json format is already supported and can be checked with the Alkimia online quote for Alphavantage.co (https://store.kde.org/p/1284585/) (In reply to Ralf Habacker from comment #1) > > [2] Currently only HTML is supported, CSV support would have to be imported > > from kmymoney5, json and xml require a new parser implementation. > Parsing online quotes in Json format is already supported and can be checked > with the Alkimia online quote for Alphavantage.co > (https://store.kde.org/p/1284585/) This quote has been moved to https://store.kde.org/p/1291552/ (In reply to Ralf Habacker from comment #0) > Required activities: > 4. extension of AlkOnlineQuotesProfile and AlkOnlineQuoteSource to find and > load these files > 5. specify locations for read only and modified online quote source files > 6. Add support to detect and updated new files It turned out that these files need to be installed into a directory independently from the directory where the GHNS files are downloaded to avoid file name clashing. Based on the system data pathes: kde4-config --path data /home/xxx/.kde4/share/apps/:/usr/share/kde4/apps kf5-config --path data /home/xxx/.local/share/:/usr/share/ with recent implementation the following pathes would be used: read only location (installed by build system) kde4:/usr/share/kde4/apps/alkimia/quotes kf5:/usr/share/alkimia/quotes location after modifying by the user (installed by online quote editor or kmymoney online quote settings page) kde4:/home/xxx/.kde4/share/apps/alkimia/quotes kf5:/home/xxx/.local/share/alkimia/quotes The GHNS files are installed by the newstuff library always into the writable location, which is defined by the related knsrc config file and points currently to: kde4:/home/xxx/.kde4/share/apps/alkimia/quotes kf5:/home/xxx/.local/share/alkimia/quotes In git master the commit https://invent.kde.org/office/alkimia/-/commit/f88014cffc91b8837cfba8333957fcadbe43bb9a has been added which uses a shared config file as different approach. |