public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joan <joan.juvanteny-vk/qBwCwXONDSbLPxUAx79BPR1lH4CV8@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Image resources are in local but pandoc searches in url
Date: Mon, 17 Oct 2022 00:54:00 -0700 (PDT)	[thread overview]
Message-ID: <da5801de-e1fc-4c50-a8cf-764b916b7b9bn@googlegroups.com> (raw)
In-Reply-To: <48fffed6-ebd1-4b67-bde7-9712b4b11b8en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3232 bytes --]

Hi, I have the files in a local folder, I've did this way to avoid dealing 
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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 
> files in their own separate subdirectories. But now I have to use a 
> dot/slash in the markdown because I'm running the script 
> (pandoc/weasyprint) from 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, tickets, 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  -f dokuwiki -t gfm 
>> --resource-path=/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 resource at the url 
>> http://test_webservices/rest.png (test_webservices is the dokuwiki page 
>> name)
>>
>> The file is at media/test_webservices/rest.png  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.
>>
>> Thanks, 
>>
>> Joan
>>
>>
-- 
Us cal imprimir aquest missatge? Protegim el medi ambient · ¿Necesitan 
imprimir este mensaje? Protejamos el medio ambiente · Do you need to print 
this message? Let’s protect the environment.

Advertiment legal: la 
informació d’aquest missatge de correu electrònic és confidencial i 
s’adreça 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ón de este mensaje de correo electrónico es confidencial y se 
dirige exclusivamente al destinatario previsto. Si usted ha recibido el 
mensaje por error, por favor, notifíquelo al remitente y bórrelo sin 
copiarlo, grabarlo ni distribuirlo.

Legal warning: the information 
contained in this e-mail message is confidential and it’s for the exclusive 
attention of the intended recipient. If you have recieved this message by 
mistake, please notify the sender and delete the message without copying, 
recording or distributing 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/da5801de-e1fc-4c50-a8cf-764b916b7b9bn%40googlegroups.com.

[-- Attachment #2: Type: text/html, Size: 6520 bytes --]

      parent reply	other threads:[~2022-10-17  7:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 12:45 Joan
     [not found] ` <104b27cf-2655-4b9d-af96-8595468994d1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-10-14 16:20   ` Craig Parker
     [not found]     ` <48fffed6-ebd1-4b67-bde7-9712b4b11b8en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-10-17  7:54       ` Joan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da5801de-e1fc-4c50-a8cf-764b916b7b9bn@googlegroups.com \
    --to=joan.juvanteny-vk/qbwcwxondsblpxuax79bpr1lh4cv8@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).