public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Read + convert (content from) Google Doc with public URL?
@ 2020-09-22 14:51 Martin Post
       [not found] ` <c20c4344-fd78-4d47-8700-7573f159df2bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Post @ 2020-09-22 14:51 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1172 bytes --]

I may be barking up the wrong tree here, but I am sure that it will tell me 
so. :)

Pandoc can convert HTML documents from public URLs. (pandoc -f html -t 
markdown https://www.fsf.org -o result.md)

Is it possible (without too many extra steps/tools…) to have Pandoc read 
and convert the content of a Google Docs document with a public (viewing) 
URL?

I.e., if I have a Google doc containing only few lines of Markdown, could 
Pandoc read and parse these as such, ignoring the documents styles? I tried 
and only get a zsh shell error (“no matches found”).

I assume this would require getting the text-only content from such a doc 
using Google’s APIs, but I’m no coder and wouldn’t know where to start here.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c20c4344-fd78-4d47-8700-7573f159df2bn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1573 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-02 13:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 14:51 Read + convert (content from) Google Doc with public URL? Martin Post
     [not found] ` <c20c4344-fd78-4d47-8700-7573f159df2bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-22 16:06   ` Joseph Reagle
     [not found]     ` <ad7c70b6-e850-2e91-84da-74dae93a35e2-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-09-23 18:21       ` BPJ
2020-09-24  8:07         ` Martin Post
     [not found]           ` <bab82269-d7e3-4854-b4e5-7d5dc214d8d9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-24  9:55             ` Albert Krewinkel
     [not found]               ` <87y2kzjy84.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-09-24 14:15                 ` mb21
     [not found]                   ` <4c4a7da8-176b-469a-8c3c-b45d7b94f08an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-24 14:35                     ` David Denton
2020-09-24 18:38             ` BPJ
     [not found]               ` <CADAJKhDju=hgJOiLZrxT8d_0i=c77NBsFRQXCDGtBZaHzUwiAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-02 13:42                 ` Martin Post

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).