evbacher / gd2md-html

Convert a Google Doc to Markdown or HTML. This Docs add-on converts a Google Doc to simple Markdown and/or HTML.
Apache License 2.0
650 stars 58 forks source link

Batch processing? #78

Open jucor opened 3 years ago

jucor commented 3 years ago

Hi @evbacher

Thanks for the great tool :) Do you think there would be a way (with some user-side scripting if needs be) to use it in batch-mode, to convert a lot of GDocs in one go and save each one to a markdown file? Use case: importing lots of notes from Google Docs to Obsidian.md. Would be very helpful! Thanks for any idea!

evbacher commented 3 years ago

Hi @jucor -- thanks for the suggestion. I would love to be able to make batch processing possible! I'm not sure how difficult it would be to pull off, but I suspect you're right that some client-side scripting (outside of Apps Script) would be required. I'm in the midst of a move now, but will spend some time thinking about this. If you have any suggestions, feel free to contact me via this bug or via email.

Also, Obsidian looks very cool -- I'll have to check that out. How are you using it?

evbacher commented 3 years ago

If someone would like to investigate batch processing, I'm open to discussion, but I don't have time to pursue this myself right now.

jucor commented 3 years ago

Thanks @evbacher for your open-mindedness and having considered it :) I have never gotten around to using Obsidian full-blown, in part because of the migration hassle :/ I know where to find this repo if I ever get around to biting the bullet!

evbacher commented 3 years ago

I'm still curious -- so I did a bit of poking around. There's some information and a batch library that might provide some clues. See http://patt0.blogspot.com/2014/08/continuous-batch-library-update-for.html for a blog post and https://gist.github.com/patt0/8395003 for some code. I have not tried any of this out, but it does look interesting.

jucor commented 3 years ago

Honestly, I gave up on transferring for now, it's a huge task and I haven't found the dream tool yet, so not worth the endeavour :/

On Mon, Jul 5, 2021 at 1:42 PM Ed Bacher @.***> wrote:

Reopened #78 https://github.com/evbacher/gd2md-html/issues/78.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evbacher/gd2md-html/issues/78#event-4978356634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFBERK72C5QURMZNW2U4GTTWGSDDANCNFSM4TW7HSAA .

-- Julien Cornebise, Ph.D. (he/him) Honorary Associate Professor Department of Computer Science University College London https://cornebise.com/julien