View Single Post
Old 10-03-2022, 05:43 AM   #1
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Create an epub from JSON data

Hello
I want to create an ebook filled by JSON data
The source is an json api URL, one per day
https://api.aelf.org/v1/messes/AAAA-MM-DD/france
It contains the french biblical lectures of the day.
I want to get an epub containing the lectures for the next 3 months, a page per day and some formatting to highlight the titles and so on.
I don't think there is a quick way to extract and transform this 90 jsondata files. I want the operation to be redone easily eevry 3 months.

I am considering writing scripts to get the data and reformatting them.
either by using MSWord or OOWriter and creating an unique docx file I will then convert to epub with Calibre.
either by using notepad++ and creating a unique or 90 html files to be converted in epub;
I am not very familiar with scripts or macros, but genererally I can find advice and solutions.
Wich way will you advice or perhaps a better other way ?
Thanks per advance
Villard
Villard is offline   Reply With Quote