From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20137 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Newsgroups: gmane.text.pandoc Subject: How do I use media bags? Date: Mon, 30 Apr 2018 17:53:26 -0700 (PDT) Message-ID: <9bd0cbe0-31dd-45bd-be19-6d4fcc49bbec@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_23700_949087502.1525136006839" X-Trace: blaine.gmane.org 1525135882 7995 195.159.176.226 (1 May 2018 00:51:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 May 2018 00:51:22 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCF4ZCX7XUMRBB7VT3LQKGQELFS57TA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 01 02:51:18 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f55.google.com ([209.85.218.55]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDJVl-000211-NU for gtp-pandoc-discuss@m.gmane.org; Tue, 01 May 2018 02:51:17 +0200 Original-Received: by mail-oi0-f55.google.com with SMTP id d1-v6sf6214340oib.23 for ; Mon, 30 Apr 2018 17:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=leRMi/CyPA//rwcj4WhJsWnRKP1sgMffZIjTpUETeXM=; b=fdC8fVWfOyQhcDVS5b4ycnFNddPxoHc/QnF6uKTgNxk47UFUi3u4hn8oASG+G33Ouf EvLkAeZjCPF0EiMNGHc4nnZcOWOmu2QE8YBAFuZx1GcZ6Q5zu25+iEdRZRTEGU/fdzuc AVzXt3g5zzUNV9Ceeh2hZMzCJJYEHRfZB9NmF/gomAuNfMJDv/p9wR0VWXc8VP3PLImM odSPSKpyreSMky0YHJwj3zVLyb6j+Q58CbEixtQjAYcrBF4WRiv33j96iFnt+jfYziMV KJw8SkAshn16EOLBLeXcL5MKnl4U2ADqMdmtLVN6xMXWaYXCtgd/viBAYIUBTOSaSFvP CGvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=leRMi/CyPA//rwcj4WhJsWnRKP1sgMffZIjTpUETeXM=; b=YAEuM7cZzmLVS3c+Vw/+ScFkE/ibwKU7ZE2vqDREB3oPANkpdJUhItNXW0eVqBapxV IB6E8JFb+tl6kH34TdyfBdxXCAXo1Gul7e+nmL7MjrXFihrjOYzODzpKWtNh0nIFWuz5 WU2ajhPYnJCljhG9pc1NRqk6XOsJ640pNWOEJ4K0p22ICOKUgcsFvCGNv6TC77Lvg7ip /dBRvQ7iQvArSTFIYlGODqChe2ktXSRuYzLBA5x15DJxM1AYHD3RgkoTZjb5nICiFNbw Aqt16kKlrgZFyrCdS0WbaUMCDsg8GlkfN2ry7aPTssoNKS//KMYFz7zB5ANafHAevmBz qd+Q== 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: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=leRMi/CyPA//rwcj4WhJsWnRKP1sgMffZIjTpUETeXM=; b=K0GzAP+4GHN06NWBWHKxnfvU3oI5oeH4Qvei68Cq7ODr+DdaYy+62ZySpHlJkA4ojf 42qJkIxU4PNotkeuItcAz9Dog34GQOrAK4ukdSi0XHZcEb5pNGIgWOGaniJ2+kmZmLt+ d2MyzCkGt63V5NBmB+3lft+B9shQIgjfLoiHqAoAPwbf9h2FpX+uxdZnI8NdLy9Qhf69 KgVvdCNCJTBUTxsIH6Dhj5r3RQETNO0dEqFoZoszI0jz/JfRnuQ9JuegmcUmuHJAR6LO h2p92f56IjiRHK8yAeEWZ5YP//Cd959v4Z00YDz8n2lzU5dH/sjAMZT34vCsBzrLsBty hapA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tAkymaQkmzYvq2Ow9Vlhgel0PdjWXia50azBOvE/pUf4eFdwwpO 8XIYvqiNhP15X4z3hh56h6M= X-Google-Smtp-Source: AB8JxZpWCkN7FGXRGj0KPubPReu3i0LHC0Fv0JJqn0VHBjcwTVSHg9oSqz/Xwoyh2JsjedHs29/Z4Q== X-Received: by 2002:a9d:73c9:: with SMTP id m9-v6mr1121017otk.9.1525136008403; Mon, 30 Apr 2018 17:53:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:2b54:: with SMTP id f20-v6ls5303303otd.12.gmail; Mon, 30 Apr 2018 17:53:27 -0700 (PDT) X-Received: by 2002:a9d:5511:: with SMTP id l17-v6mr1119234oth.14.1525136007277; Mon, 30 Apr 2018 17:53:27 -0700 (PDT) X-Original-Sender: freack1208-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20137 Archived-At: ------=_Part_23700_949087502.1525136006839 Content-Type: multipart/alternative; boundary="----=_Part_23701_359670666.1525136006839" ------=_Part_23701_359670666.1525136006839 Content-Type: text/plain; charset="UTF-8" Hello! Just tried to use the Haskell API side of Pandoc but I rand into lots of "could not fetch resource" warnings". Is there anything that would help me extract the media from the downloaded .docx files and embed them in my epubs? The (I believe) relevant parts of my code are here: https://gist.github.com/MagnificentPako/22df4be40251a07a4f5d0dc4fafc5d46 (For some reason I had to re-implement Semigroup for both Pandoc and Meta because my GHC would complain that they are missing it otherwise.) -- 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/9bd0cbe0-31dd-45bd-be19-6d4fcc49bbec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_23701_359670666.1525136006839 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

Just tried to use the Haskell API side of Pa= ndoc but I rand into lots of "could not fetch resource" warnings&= quot;. Is there anything that would help me extract the media from the down= loaded .docx files and embed them in my epubs?
The (I believe) relevant = parts of my code are here: https://gist.github.com/MagnificentPako/22df4be4= 0251a07a4f5d0dc4fafc5d46

(For some reason I had to re-implement Semi= group for both Pandoc and Meta because my GHC would complain that they are = missing it otherwise.)

--
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/9bd0cbe0-31dd-45bd-be19-6d4fcc49bbec%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_23701_359670666.1525136006839-- ------=_Part_23700_949087502.1525136006839--