Commit Graph
29 Commits
Author SHA1 Message Date
hius07 886a8cf400 Export highlights: filters (#15003) 2026-03-20 09:18:01 +02:00
Denis Iskandarov 0081546f9d Exporter: Correct MyClipping Page value parsing (#14583) 2025-11-16 11:10:09 +02:00
Denis Iskandarov 2e5d02c36b Exporter: Enhanced title and author parsing from MyClippings (#14578) 2025-11-07 11:10:00 +01:00
hius07 5c96555838 Exporter clip: fix number of stable pages (#14554) 2025-11-04 08:54:33 +02:00
hius07 2facbef59a Export highlights: export backlinks to markdown (#14233) 2025-09-02 08:54:55 +03:00
hius07 826455961d Export highlights: customizable export filename (#14212) 2025-08-26 09:41:09 +03:00
hius07 49e885321a Exporter: choose highlight styles to be exported (#12431) 2024-08-31 19:28:48 +03:00
hius07 a24bb70066 Annotations: fix exporting (#12261) 2024-08-01 13:14:46 +03:00
Piotrek Marciniak 9b1a21ef82 Export highlights: empty annotations as nil instead of empty string (#11912)
Fixes Readwise exports
2024-05-27 19:18:11 +02:00
hius07 d82815952e Annotations, part 1 (#11563)
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
2024-05-03 09:08:57 +03:00
hius07 cbcf03b1af Exporter: custom metadata (#10874) 2023-09-05 07:42:18 +03:00
hius07 7164bc2bd9 Exporter: fixes (#10765) 2023-08-01 08:46:38 +03:00
hius07 3d5775241d Exporter: selected files (#10453)
Export highlights for selected files.
Having a button "Select all files in folder", it is easy to export the whole folder.
So, closes #10402.

To keep even number of buttons, added a feature "Show selected files list". May be useful to check selections before an operation. Just a sorted list, no titlebar or popup menu, tapping a file jumps to its folder.
2023-05-19 09:55:49 +02:00
hius07 8665929a5e Exporter: correct access to doc settings (#10407) 2023-05-10 13:41:23 +03:00
Mochitto 53079441f9 Fix: exporting all notes and single doc now both use metadata for author and title (#10280) 2023-04-29 01:21:00 +02:00
Mochitto d39cc78f9c [plugin] Exporter: use util.getSafeFilename() to remove illegal characters from output filename (#10282)
Fixes #10281.
2023-04-01 23:32:30 +02:00
Mochitto 3a894f954c Fix: Updated legacy directory, which crashed the program (#10260)
Fixes #10259
2023-03-29 15:19:49 +02:00
hius07 d1081fa982 Docsettings: add centralized sdr storage (#10074)
Added an option to choose a new location to save document settings, highlights and bookmarks 
(koreader/docsettings folder).
2023-02-17 08:35:49 +02:00
hius07 1b066cf1de Exporter: fix orphan highlights (#9802) 2022-11-18 21:24:55 +02:00
NiLuJe 62059f8d68 Misc: Get rid of the legacy defaults.lua globals (#9546)
* This removes support for the following deprecated constants: `DTAP_ZONE_FLIPPING`, `DTAP_ZONE_BOOKMARK`, `DCREREADER_CONFIG_DEFAULT_FONT_GAMMA`
* The "Advanced settings" panel now highlights modified values in bold (think about:config in Firefox ;)).
* LuaData: Isolate global table lookup shenanigans, and fix a few issues in unused-in-prod codepaths.
* CodeStyle: Require module locals for Lua/C modules, too.
* ScreenSaver: Actually garbage collect our widget on close (ScreenSaver itself is not an instantiated object).
* DateTimeWidget: Code cleanups to ensure child widgets can be GC'ed.
2022-09-28 01:10:50 +02:00
Utsob Roy 6e647a6f4d [plugin] Exporter getTitle Fix fix (#9255)
replaced getTitle with newer parseTitleFromPath

Fixes #9253
2022-06-26 09:27:42 +02:00
Utsob Roy 74ca6fb317 Better meta parsing for exporter (#9220)
* Get title, author and number of pages from document's metadata
* Add exportable_title parsed from document's title, used in export file generation.
* JSON: export number of pages
2022-06-16 13:54:14 +02:00
Utsob Roy bc0a55f093 Refactor exporter.koplugin (#8944)
Changed:
  - select multiple targets and export to them in a single click.
  - local targets (html, json and text) now are timestamped. Exporting booknotes on already exported documents will generate a new file with all the highlights present at export time. Previous files won't be deleted.

Fixed:
  - chapters are now correctly represented in html output.
  - json issues when exporting the whole history.
  - joplin and readwise crashes when they're unable to reach the server
  - joplin update notes mechanism.
  - joplin is able to recreate the notebook if the user deletes or renames its current one.
  - highlights of read-only documents are also added when exporting the whole history (affects mostly android, might affect desktop targets)

Co-authored-by: Utsob Roy <roy@utsob.me>
2022-05-06 22:44:28 +02:00
Utsob Roy 4e517f4839 [plugin] Exporter: properly sort highlights when exporting (#9021)
Since the bookmarks table is sorted based on the bookmarks'
position in the book, it is possible to sort clippings in
the exporter plugin based on that.
2022-04-22 20:13:36 +02:00
NiLuJe 23cd7e24bb Minor Lua I/O cleanups (#8921)
Mostly making sure we always explicitly close io handles.
2022-03-19 23:57:31 +01:00
Utsob Roy d266d320e2 [plugin] Exporter: optimized JSON export (#8904)
I've implemented a better JSON export format that removes redundant lists and objects and introduces the `entries` key containing all the entries.

It also add `drawer` values from highlight so that user can use this piece of metadata to generate desirable output.
2022-03-19 09:59:04 +01:00
Martín Fernández 963970be8c exporter plugin: fix history dir (#8685)
for platforms where history dir don't match installation path.

Fixes #8675
2022-01-19 17:12:53 +01:00
Dylan Garrett 3cf3c97e87 [plugin] Exporter: add Readwise.io support (#8548)
This extends exporter.koplugin with support for [Readwise.io](https://readwise.io), a highlight/notes aggregation service.

[Readwise API documentation](https://readwise.io/api_deets)

This additionally improves the highlight exporter's ability to get the correct title and author of a document, by checking actual metadata instead of inferring from filename. It also includes a modification to the plugin's highlight parsing logic to separate the highlight contents in `.text` from the notes in `.note`. This change actually fixes an existing bug in the HTML export template note.tpl, which has been missing notes because of the lack of the `.note` field.
2021-12-25 10:24:48 +01:00
Martín Fernández 903646debe [plugin] Exporter plugin without evernote (#7983) 2021-08-30 09:11:23 +02:00