From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31567 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joan Newsgroups: gmane.text.pandoc Subject: Re: Image resources are in local but pandoc searches in url Date: Mon, 17 Oct 2022 00:54:00 -0700 (PDT) Message-ID: References: <104b27cf-2655-4b9d-af96-8595468994d1n@googlegroups.com> <48fffed6-ebd1-4b67-bde7-9712b4b11b8en@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2303_1714966502.1665993240750" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6172"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTKTWEP4QORBGMUWSNAMGQE3YBBX7A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 17 09:54:05 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f62.google.com ([209.85.160.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1okKwm-0001Oh-TL for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 17 Oct 2022 09:54:05 +0200 Original-Received: by mail-oa1-f62.google.com with SMTP id 586e51a60fabf-132b6ed45b3sf4151660fac.2 for ; Mon, 17 Oct 2022 00:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=lpN/QwOvyQBBnsA9yS6Ji5KxnOzEy5kAfByc67tAJm4=; b=izNw/LcURgaeHPYwWSH0SW5+Pc+dbmIL4vdzyEfoxuuTyBrzpQdSVaQs9StvBfbnjC BzveCYCYGG+GK//L+HRo2IPvysFtjerhR0olNcOFDPg79IyomCvHn2vkHm/5bQoCgHXU TekpzEmrR4ZN/XqO4bz/7vQW+KW+uCcmpuzn5gI0W6blB6B8RS21Jb/hcMTAmnLSNLXz Gnavc8nlTrt1X0E95qpn51vOH3rtB/9AzeNJEtKBtPQbgwxEGySXkOLNU9ky71ZvC0Pa jQ1sUT2+XUzZ+MaOh3ohYWKEMDMsmg7rRvIPYk/gHjnYww2bQOMDD4dOfq8PqPx80QVy MBjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bassolsenergia.com; s=google; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=lpN/QwOvyQBBnsA9yS6Ji5KxnOzEy5kAfByc67tAJm4=; b=ZxdgmB0npwAxfCFk/NfNgfkK07y5lPAQ7dfwhZD1ljXzllA9siGQxg1ZYcTeUK1isK X8ZqC5CPckXzQ1e7dAPaBQFbdN9jvEK/yxbKcmKWg76cZo7chBx6Z2NSczPtLi2txr7g OiIHN2hLt9/R90X4mTrZv9oM2jMvBOay2S3mlnNIxx31KjRfptcINJJpsKlxOgHERYGh 2JrWCQkRjEaCa7Q66d10iwRkDXXLOpmMgmqP/PXqt6eAEjHudEGvlRoCet6AEfGhl6Fo PgfTQ7M6cul0kOSUFnJQEJz0ZXj/3tuxNrvEfqF212T2/yJYjeUq3Ho/ekwPbLf5Ihyh OyVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=lpN/QwOvyQBBnsA9yS6Ji5KxnOzEy5kAfByc67tAJm4=; b=4lXRnfXPGh3/fun6bUC6gxi4zimDQHYkdhTjIu7kzYKENw/qYO0Q7+XV8yAE19Jhsx 8HKueHKcp2NfGGzu4VEXioSgks3zE4A3J8uVqBPnljo5VPpSHkeSXFSUXrvSgpnNcNWI SVVsersGh/NsWuvMO4cr4Vxc8iutdYhIQ9qCfp4E/gR1gQD6IWWqrzi8XSDLl5sYD70G 1oKxuam+ePDLBHLa/uQigqdPkbUx1axlRFJprQnXlRQvNspqQY7QGryhpSgFbQsVo148 lpMRoZTH8zjqYqAvWRU5fMrQYkMDrFVeWbnwbI2g1u0ZpakArT7jPJDH4bRIh1XliyoG BwRA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1XvmWgOCq/FXpBdL6/mBC3bJh5sVJ9ba0o3qB3HX47H73U4EDJ fHAeXo+zKr2YvGaccy2N5oo= X-Google-Smtp-Source: AMsMyM7pfrTa4HzFMntOBXdyNBNgu/uUtInf7J2AfJvTwgi4RokcZ/26ua4I5YBJVtejv07+yWPPKg== X-Received: by 2002:a05:6808:9a8:b0:354:60fa:7f53 with SMTP id e8-20020a05680809a800b0035460fa7f53mr12805818oig.42.1665993243850; Mon, 17 Oct 2022 00:54:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e283:b0:137:5492:2e13 with SMTP id v3-20020a056870e28300b0013754922e13ls1922163oad.10.-pod-prod-gmail; Mon, 17 Oct 2022 00:54:01 -0700 (PDT) X-Received: by 2002:a05:6870:3485:b0:12b:df60:622d with SMTP id n5-20020a056870348500b0012bdf60622dmr4981176oah.25.1665993241539; Mon, 17 Oct 2022 00:54:01 -0700 (PDT) In-Reply-To: <48fffed6-ebd1-4b67-bde7-9712b4b11b8en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: joan.juvanteny-vk/qBwCwXONDSbLPxUAx79BPR1lH4CV8@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.io gmane.text.pandoc:31567 Archived-At: ------=_Part_2303_1714966502.1665993240750 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I have the files in a local folder, I've did this way to avoid dealing= =20 with the web authentication and to have the full list of pages in the wiki.= =20 Do you mean that the dokuwiki reader is only for http connections? I tried= =20 to read the source code but couldn't find this part. Regards On Friday, 14 October 2022 at 18:20:27 UTC+2 craig.f...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > Do you have to preface the image URL in the document itself with ./ ? I= =20 > just yesterday uncluttered a directory, and now have md, html, and pdf=20 > files in their own separate subdirectories. But now I have to use a=20 > dot/slash in the markdown because I'm running the script=20 > (pandoc/weasyprint) from a directory above where all the files and images= =20 > are. > > On Friday, October 14, 2022 at 8:45:38 AM UTC-4 Joan wrote: > >> I have been searching for this in this forum, tickets, etc,,.. and=20 >> haven't been able to find a answer to what seems to be simple. >> The case is that I'm converting from a local dokuwiki export to gfm and = I=20 >> wanted to migrate the images too. >> The script I'm using is: >> *pandoc -s -f dokuwiki -t gfm=20 >> --resource-path=3D/home/user/src/wiki_gitbacked --extract-media ./media/= =20 >> pages/test_webservices.txt -o ../dsi.wiki/test_webservices.md --verbose* >> And I get an error that pandoc couldn't fetch the resource at the url=20 >> http://test_webservices/rest.png (test_webservices is the dokuwiki page= =20 >> name) >> >> The file is at media/test_webservices/rest.png so if it was using local= =20 >> paths it would get the proper image. >> >> Is there anything I'm missing on this?=20 >> >> The full message is attached. >> >> Thanks,=20 >> >> Joan >> >> --=20 Us cal imprimir aquest missatge? Protegim el medi ambient =C2=B7 =C2=BFNece= sitan=20 imprimir este mensaje? Protejamos el medio ambiente =C2=B7 Do you need to p= rint=20 this message? Let=E2=80=99s protect the environment. Advertiment legal: la=20 informaci=C3=B3 d=E2=80=99aquest missatge de correu electr=C3=B2nic =C3=A9s= confidencial i=20 s=E2=80=99adre=C3=A7a exclusivament al destinatari previst. Si heu rebut aq= uest missatge=20 per error, si us plau, notifiqueu-ho al remitent i esborreu-lo sense=20 copiar-lo, enregistrar-lo ni distribuir-lo. Advertencia legal: la=20 informaci=C3=B3n de este mensaje de correo electr=C3=B3nico es confidencial= y se=20 dirige exclusivamente al destinatario previsto. Si usted ha recibido el=20 mensaje por error, por favor, notif=C3=ADquelo al remitente y b=C3=B3rrelo = sin=20 copiarlo, grabarlo ni distribuirlo. Legal warning: the information=20 contained in this e-mail message is confidential and it=E2=80=99s for the e= xclusive=20 attention of the intended recipient. If you have recieved this message by= =20 mistake, please notify the sender and delete the message without copying,= =20 recording or distributing it.=C2=A0 --=20 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 e= mail 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/da5801de-e1fc-4c50-a8cf-764b916b7b9bn%40googlegroups.com. ------=_Part_2303_1714966502.1665993240750 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, I have the files in a local folder, I've did this way to avoid dea= ling with the web authentication and to have the full list of pages in the = wiki. Do you mean that the dokuwiki reader is only for http connections? I = tried to read the source code but couldn't find this part.

Regards

On Friday, 14 October 2022 at 18:20:27 UTC+2 craig.f..= .@gmail.com wrote:
Do you have to preface the image URL in the document itself with ./ ?= I just yesterday uncluttered a directory, and now have md, html, and pdf f= iles in their own separate subdirectories. But now I have to use a dot/slas= h in the markdown because I'm running the script (pandoc/weasyprint) fr= om a directory above where all the files and images are.

On Friday, October = 14, 2022 at 8:45:38 AM UTC-4 Joan wrote:
I have been searching for this in this forum, ticke= ts, etc,,.. and haven't been able to find a answer to what seems to be = simple.
The case is that I'm converting from a local dokuwiki= export to gfm and I wanted to migrate the images too.
The script= I'm using is:
pandoc -s =C2=A0-f dokuwiki -t gfm --r= esource-path=3D/home/user/src/wiki_gitbacked --extract-media ./media/ pages= /test_webservices.txt -o ../dsi.wiki/test_webservices.md --verbose
And I get an error that pandoc couldn't fetch the res= ource at the url http://test_webservices/rest.png (test_we= bservices is the dokuwiki page name)

The file is at media/= test_webservices/rest.png=C2=A0 so if it was using local paths it would get= the proper image.

Is there anything I'm missing on this?
=
The full message is attached.<= /span>
=
Thanks,

Joan
<= /span>

Us cal imprimir aquest missatg= e? Protegim el medi ambient =C2=B7 =C2=BFNecesitan imprimir este mensaje? P= rotejamos el medio ambiente =C2=B7 Do you need to print this message? Let= =E2=80=99s protect the environment.

Advertiment legal: la informaci=C3=B3 d=E2=80=99aque= st missatge de correu electr=C3=B2nic =C3=A9s confidencial i s=E2=80=99adre= =C3=A7a exclusivament al destinatari previst. Si heu rebut aquest missatge = per error, si us plau, notifiqueu-ho al remitent i esborreu-lo sense copiar= -lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la informaci=C3=B3n de este men= saje de correo electr=C3=B3nico es confidencial y se dirige exclusivamente = al destinatario previsto. Si usted ha recibido el mensaje por error, por fa= vor, notif=C3=ADquelo al remitente y b=C3=B3rrelo sin copiarlo, grabarlo ni= distribuirlo.

Legal warning: the information contained in this e-mail message is conf= idential and it=E2=80=99s for the exclusive attention of the intended recip= ient. If you have recieved this message by mistake, please notify the sende= r and delete the message without copying, recording or distributing it.=C2= =A0

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/da5801de-e1fc-4c50-a8cf-764b916b7b9bn%40googlegroups.= com.
------=_Part_2303_1714966502.1665993240750--