Thread: Aura H2O Bulk editing Pocket articles
View Single Post
Old 02-06-2017, 10:47 AM   #1
ceridwen
Enthusiast
ceridwen began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2017
Device: Kobo Aura H2O
Bulk editing Pocket articles

I have a bunch of Pocket articles that I have downloaded to my Kobo at some point and then archived using another Pocket client, usually because the article was broken on the Kobo. Unfortunately, archiving an article with one of the other clients still leaves the article downloaded on my Kobo, and they're now consuming a couple of hundred megabytes of space. I want to delete the files on my Kobo without deleting them from my Pocket account, and without going one-by-one through my 800+ archived articles.

The files for the articles live in .kobo/articles, as far as I can tell. Is there metadata stored somewhere else? I'm probably going to have to write a script that uses the Pocket API to figure out what articles are archived and then delete the files, but I'm not sure about the best way to connect the files for an article and the article metadata retrieved from the API. I also want to know, before deleting the files directly, if there are any other edits I need to make elsewhere to avoid breaking the software on the Kobo that handles Pocket articles.

I tried some searches on this forum, but I couldn't find any technical information on the Kobo Pocket software or file layout.
ceridwen is offline   Reply With Quote