Bug 474061

Summary: Add csv download support to alkimia
Product: [Frameworks and Libraries] libalkimia Reporter: Ralf Habacker <ralf.habacker>
Component: GeneralAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: 8.2   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 8.1.72
Bug Depends on:    
Bug Blocks: 416523    

Description Ralf Habacker 2023-09-02 16:23:55 UTC
SUMMARY
KMymoney online quote support provides fetching data in csv format.. To replace online quote support from kymoney by alkimia it would be required to add such functionality to alkimia   


STEPS TO REPRODUCE
1. start kmymoney from 5.1 or master branch
2. open settings dialog for online quote sources
3. inspect the available fields

OBSERVED RESULT
There is an input field called "CVS Url" for specifying a URL to download data in csv format. 

EXPECTED RESULT
alkimia should have similar functionality.

ADDITIONAL INFORMATION
To be ready for more file formats, it is useful to add support for a download file format (html, csv, ...), so that a separate online quote source must be added for each file format. When selecting another format, the input fields may change, because e.g. with csv other parameters like line separators, whether with or without quotes, EOL characters, etc. are needed.
Comment 1 Bug Janitor Service 2023-09-22 08:55:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/alkimia/-/merge_requests/22
Comment 2 Ralf Habacker 2023-09-28 13:32:21 UTC
Git commit b33df865d77e6d5ebf1307d95f10e0c4223f2032 by Ralf Habacker.
Committed on 28/09/2023 at 15:05.
Pushed by habacker into branch 'master'.

Migrate config entry "SkipStripping" to "DataFormat"

With this commit AlkOnlineQuote::Private::slotParseQuote() has been split
to simplify extensions.

M  +3    -3    autotests/alkonlinequotesourcetest.cpp
M  +85   -53   src/alkonlinequote.cpp
M  +29   -34   src/alkonlinequotedetails.ui
M  +44   -22   src/alkonlinequotesource.cpp
M  +22   -3    src/alkonlinequotesource.h
M  +10   -6    src/alkonlinequoteswidget.cpp

https://invent.kde.org/office/alkimia/-/commit/b33df865d77e6d5ebf1307d95f10e0c4223f2032