From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18256 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Agust=C3=ADn_Mart=C3=ADn?= Newsgroups: gmane.text.pandoc Subject: Re: Run Pandoc on a web server Date: Thu, 5 Oct 2017 12:36:40 -0700 (PDT) Message-ID: <262da48a-6c39-4ee7-9d96-668f7445ad2b@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_421_942407919.1507232201035" X-Trace: blaine.gmane.org 1507232204 7304 195.159.176.226 (5 Oct 2017 19:36:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2017 19:36:44 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDC7PRMFWYJBBS4T3LHAKGQEZQAODQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 05 21:36:40 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f187.google.com ([209.85.217.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Bwi-00012s-Im for gtp-pandoc-discuss@m.gmane.org; Thu, 05 Oct 2017 21:36:36 +0200 Original-Received: by mail-ua0-f187.google.com with SMTP id d12sf9599579uaj.18 for ; Thu, 05 Oct 2017 12:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=3f15NE+2UEOoIrZMcUJppd5qbwYWZIWr6MOKVT6bp+c=; b=ou4ZYhZr0B1xg0zce2G9ZyE0V+xPZsgO1dOfYnB2zTx4xDlshNIuIHjrTnDp2u4jE5 ACbHmGrc1KJd+994zHOVjXw0/wpLG9FAXw77EquvGMDkGv9Wy+kpcxu80/TKYi3m+XqY tUKn3oJ+ID+kXESNSeF4LIaNoOd8mKQQ4spAxIQ+rGxBrGKa7EKMtBrAw+/xr/H15BOb zPiP/vEbRS1anfiCmBQkhBjSD6NKYroMgYnRB7v+AI3qIGu2MG5QGudjbNjlXbH2n39W KOPDuo2CRtFScvTygkIDVi8MIUNk680YUdHEg4+UkEvRtj+3tt/VbCP23IxW9kpQHMF0 vF+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=3f15NE+2UEOoIrZMcUJppd5qbwYWZIWr6MOKVT6bp+c=; b=SlNxaCRdxQQnrCDvT8/+GKoO3SSgLxkXQ1uOCUC+4xlOe9eGf5ptlTjgx3AI6eDlDY wsf/XKxa3MPttbsfi0lWxfdPNeBCey9fOC33aj5iiPYnjbgsg1gbljFLw0f2+mWD/f6p BmuNTk/ScbPW/8PhQAYp9SqazOREXzEKsD2gdXjQiS+6guUimi8WjF36Bvk51dtlBTIU GJR4wp6AcjW+gj++JdGmofCKXK/rNnpGJEJgKn83AFCzWAtkhz2VR1p77kiHbVSANDHc xmb8fo6833jsxzqFPxbsbBK4pn9U5J/RtIQmcZaEUz75K3goceGf8v5FNuGqKCb2kAuD 9RsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=3f15NE+2UEOoIrZMcUJppd5qbwYWZIWr6MOKVT6bp+c=; b=s4j7Z9ElE9g0k0ZyqBgSuazmbAQib5Do6nN+QDGedMt67PIkx/1lTmAg29J73p5YST AwMvkRcUUtxzIBNRmUnfr9eBwXEMj8DoS5D5BEJR5NCeb7kzw7DW1r/k9PTjTT8gshre /X6UptYhlbJc6ZmQirdxGmuuRuBROtbj8U1NNm7yY7H6rLqN5dXT84Eiy5r15kOGWZ1K +oQGoaCZjCIHyhWaldVpHR3FKhKTapPWc6oVifNHOg4+O539YjYHBq3RNZUCjPT2bdl/ /uxiT7HefzdkZm0j+lh6FpL721pKA73NrYXBJ2ep+Ml4McsAS0rEiWduNgZQIy5qPp5f dhsw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWy+s+iwjGo2XgADTx8TFiF1fFCAVHsJ4Av5bSeyZps2+Fm2a3X ajC73Dbfm6gZj+9kfuz3pSQ= X-Google-Smtp-Source: AOwi7QDqodw3DKuU1xne0GmWATxJZ01v9ay48HFe9Cq1n/Vyp3bk4GLbxkYN0S7cFBlhc5zIk1hDgg== X-Received: by 10.157.19.45 with SMTP id f42mr284264ote.22.1507232204047; Thu, 05 Oct 2017 12:36:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.64.7 with SMTP id m7ls6117816ote.9.gmail; Thu, 05 Oct 2017 12:36:41 -0700 (PDT) X-Received: by 10.157.11.72 with SMTP id p8mr150930otd.28.1507232201542; Thu, 05 Oct 2017 12:36:41 -0700 (PDT) In-Reply-To: X-Original-Sender: agusmba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18256 Archived-At: ------=_Part_421_942407919.1507232201035 Content-Type: multipart/alternative; boundary="----=_Part_422_2139146307.1507232201035" ------=_Part_422_2139146307.1507232201035 Content-Type: text/plain; charset="UTF-8" Probably. You'd have an easier time using it as it is even if you executed it on a web server, instead of adapting the js to your own web. Reading the page you posted, it explains how to convert to docx. I guess you'd need to enter text/html as source and /docx on the url for conversion format. I remember there was another server based on docker. You can see the project at https://github.com/metal3d/docker-pandoc-server It accepted tar files, so you could add images to your markdown/html source for instance, but I didn't get to test it. Good luck! On Thursday, October 5, 2017 at 6:34:52 PM UTC+2, paul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > Can I use https://github.com/mrded/pandoc-as-a-service > > to run pandoc on a web server, convert html to docx and download the docx > file generated? > > How can I do it? > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/262da48a-6c39-4ee7-9d96-668f7445ad2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_422_2139146307.1507232201035 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Probably. You'd have an easier time using it as it is = even if you executed it on a web server, instead of adapting the js to your= own web.

Reading the page you posted, it explains how to conv= ert to docx.
I guess you'd need to enter text/html as source = and /docx on the url for conversion format.

I reme= mber there was another server based on docker. You can see the project at= =C2=A0https://github.com/metal3d/docker-pandoc-server=C2=A0
It ac= cepted tar files, so you could add images to your markdown/html source for = instance, but I didn't get to test it.

Good lu= ck!


On Thursday, October 5, 2017 at 6:34:52 PM UTC+2, pau= l...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
Can I use=C2=A0https://github.com/mrded/pandoc-as= -a-service to run pandoc on a web server, convert html to docx and down= load the docx file generated?

How can I do it?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/262da48a-6c39-4ee7-9d96-668f7445ad2b%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_422_2139146307.1507232201035-- ------=_Part_421_942407919.1507232201035--