public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Federico Bruni <fedelogy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: epub and external links (to Dropbox)
Date: Mon, 12 Oct 2015 22:11:58 -0700 (PDT)	[thread overview]
Message-ID: <3ef60d71-e14b-4cbb-8d99-4e5f103642b3@googlegroups.com> (raw)
In-Reply-To: <20151013031334.GA18263-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>


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

Same result unfortunately. Other ideas?

If anybody has experience on making it work with either dropbox or google 
drive I'd be happy to hear their solutions.
Thanks

Il giorno martedì 13 ottobre 2015 05:13:50 UTC+2, John MacFarlane ha 
scritto:
>
> Try adding the ?dl=0 to the url in the markdown file before 
> converting to epub. 
>
> +++ Federico Bruni [Oct 12 15 16:37 ]: 
> >   Hi all 
> >   I'm creating a book in epub format and I need to link to **external 
> >   audio files**. 
> >   Using local files is not an option, because I want to keep the epub 
> >   small and easy to share. 
> >   After a few tests I see that the external link is correct when using 
> >   the HTML output. 
> >   When I use epub, however, the terminal output says that it could not 
> >   find media and skipped it. I extracted the XHTML file in the epub and 
> >   it contains a not existent file path: 
> >   <audio controls> 
> >   <source type="audio/mpeg" src="media/file0.mp3"> 
> >   </audio> 
> >   Please note that the file I'm testing is on Dropbox and doesn't have a 
> >   "regular" URL. As explained in the Dropbox help pages¹, you must add 
> >   ?dl=0 to cause the browser to donwload the file instead of viewing the 
> >   Dropbox web page. As I said, this link works fine in HTML but it 
> >   doesn't in the EPUB format. 
> >   I could find only this previous discussion² and it doesn't help. 
> >   Thanks in advance 
> >   Federico 
> >   ¹ https://www.dropbox.com/help/201 
> >   ² 
> >   
> https://groups.google.com/forum/#!searchin/pandoc-discuss/epub$20extern 
> >   al$20files/pandoc-discuss/DY4StO5j6o4/ZofZX8eYeM8J 
> > 
> >   -- 
> >   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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To post to this group, send email to 
> >   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To view this discussion on the web visit 
> >   [3]
> https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf- 
> >   bf96-ad4138998aef%40googlegroups.com. 
> >   For more options, visit [4]https://groups.google.com/d/optout. 
> > 
> >References 
> > 
> >   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   3. 
> https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf-bf96-ad4138998aef-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer 
> >   4. https://groups.google.com/d/optout 
>
>

-- 
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/3ef60d71-e14b-4cbb-8d99-4e5f103642b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2015-10-13  5:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12 23:37 Federico Bruni
     [not found] ` <9bfbe401-688f-4aaf-bf96-ad4138998aef-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-10-13  3:13   ` John MacFarlane
     [not found]     ` <20151013031334.GA18263-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>
2015-10-13  5:11       ` Federico Bruni [this message]
     [not found]         ` <3ef60d71-e14b-4cbb-8d99-4e5f103642b3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-10-13 18:10           ` John MACFARLANE
     [not found]             ` <20151013181032.GC6891-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-10-14  6:23               ` Federico Bruni
     [not found]                 ` <e7659f91-73bf-42f2-b52d-374f1bd9541a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-10-14 19:18                   ` John MACFARLANE
     [not found]                     ` <20151014191810.GA54012-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-10-15  4:04                       ` Federico Bruni
     [not found]                         ` <CAPjDBppLmpp8zeQfagtOkU0NRmQG798A8ejNMApjgicji-CgeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-15  4:51                           ` Federico Bruni
     [not found]                             ` <CAPjDBprFp0gWZxu5qf+pj7Z7kTpOYHefrTu-5TjGAO4dmJab2g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-23 16:20                               ` Federico Bruni
2015-10-23 16:54                               ` John MacFarlane
     [not found]                                 ` <20151023165451.GC97395-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>
2015-10-23 17:13                                   ` Federico Bruni

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=3ef60d71-e14b-4cbb-8d99-4e5f103642b3@googlegroups.com \
    --to=fedelogy-re5jqeeqqe8avxtiumwx3w@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).