From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13726 Path: news.gmane.org!not-for-mail From: Federico Bruni Newsgroups: gmane.text.pandoc Subject: Re: epub and external links (to Dropbox) Date: Mon, 12 Oct 2015 22:11:58 -0700 (PDT) Message-ID: <3ef60d71-e14b-4cbb-8d99-4e5f103642b3@googlegroups.com> References: <9bfbe401-688f-4aaf-bf96-ad4138998aef@googlegroups.com> <20151013031334.GA18263@MacBook-Air.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5284_804476061.1444713118238" X-Trace: ger.gmane.org 1444713129 26981 80.91.229.3 (13 Oct 2015 05:12:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 05:12:09 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCBO3M7CXIBRBH5F6KYAKGQEJYHMU5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 13 07:12:02 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f64.google.com ([209.85.213.64]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZlrsW-0004qu-Ld for gtp-pandoc-discuss@m.gmane.org; Tue, 13 Oct 2015 07:12:00 +0200 Original-Received: by vkha6 with SMTP id a6sf977109vkh.1 for ; Mon, 12 Oct 2015 22:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=EBY7abDi4tDP2Xw1tLWSnhdtG5XXAqXTC9JchSLy5SE=; b=Y2wcop10Y7mf+nAOpIJOxIHunx9dTy3FlVJUhObQGIgJ+firYXjMsKe3Hv2+gqqTzY VaRk9+5cmEwn6DLnWUhqhVH99BfbCJPWgX1yFEK4GFZwPrWgP85I/fzlDttZAix+IzLn XJjfCW15u8jL+OecEC61aKmhbxSwPhp5pzzekE1uuoE4NE1PLTm7kK2J+GeBG9Dk+PEs iyzu7GnXQfQGXgsjfx8W3gSF1k/HvYqccfHGJ8upjp2SJprUbq2khV06h61TqyZNen3r fj1gTkoUwbfzqwGN6OMCKNFDBLW7Fey2Rm0VNdoJ6GITT41o+8UkLf5GaJg9rT6Wqx9t gOBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=EBY7abDi4tDP2Xw1tLWSnhdtG5XXAqXTC9JchSLy5SE=; b=VJbvh1Vm8RhN9QaDKvM4rumPafHQOTnldPs1JRG3sjUKnk6WUxjrWhF68XBhkWXz84 PEOpyFwJ49KzLwnnmqIsfvoanmHpPPJkyHV8yERt0xYa6A5T/qIEVJjKB6IUt6tWEG/j NmzL1lEQholradwwTVGhItEwYNeEfjt6B1hGRyc+ZMsk/Xth/Y1bMc8kdc/1X1WE8kZs 5DAi4A/gCx+Wd3+O/JVXG0ZKg4oJvQZ0wXU/BHsMyow8jWKl1c2ZNgq1xU120W5mvEZ+ ysTyoIKIzB7AkCBV3YFI8DI1CK5X6HmknZ/zYy1qFaBMs9HPaEbQrStSgaJtq/SHVcM/ EcFQ== X-Received: by 10.50.114.33 with SMTP id jd1mr175934igb.6.1444713120008; Mon, 12 Oct 2015 22:12:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.33.20 with SMTP id n20ls1297492igi.7.canary; Mon, 12 Oct 2015 22:11:59 -0700 (PDT) X-Received: by 10.50.142.9 with SMTP id rs9mr174767igb.16.1444713119374; Mon, 12 Oct 2015 22:11:59 -0700 (PDT) In-Reply-To: <20151013031334.GA18263-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org> X-Original-Sender: fedelogy-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:13726 Archived-At: ------=_Part_5284_804476061.1444713118238 Content-Type: multipart/alternative; boundary="----=_Part_5285_791010344.1444713118239" ------=_Part_5285_791010344.1444713118239 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Same result unfortunately. Other ideas? If anybody has experience on making it work with either dropbox or google= =20 drive I'd be happy to hear their solutions. Thanks Il giorno marted=C3=AC 13 ottobre 2015 05:13:50 UTC+2, John MacFarlane ha= =20 scritto: > > Try adding the ?dl=3D0 to the url in the markdown file before=20 > converting to epub.=20 > > +++ Federico Bruni [Oct 12 15 16:37 ]:=20 > > Hi all=20 > > I'm creating a book in epub format and I need to link to **external= =20 > > audio files**.=20 > > Using local files is not an option, because I want to keep the epub= =20 > > small and easy to share.=20 > > After a few tests I see that the external link is correct when using= =20 > > the HTML output.=20 > > When I use epub, however, the terminal output says that it could not= =20 > > find media and skipped it. I extracted the XHTML file in the epub and= =20 > > it contains a not existent file path:=20 > > =20 > > Please note that the file I'm testing is on Dropbox and doesn't have = a=20 > > "regular" URL. As explained in the Dropbox help pages=C2=B9, you must= add=20 > > ?dl=3D0 to cause the browser to donwload the file instead of viewing = the=20 > > Dropbox web page. As I said, this link works fine in HTML but it=20 > > doesn't in the EPUB format.=20 > > I could find only this previous discussion=C2=B2 and it doesn't help.= =20 > > Thanks in advance=20 > > Federico=20 > > =C2=B9 https://www.dropbox.com/help/201=20 > > =C2=B2=20 > > =20 > https://groups.google.com/forum/#!searchin/pandoc-discuss/epub$20extern= =20 > > al$20files/pandoc-discuss/DY4StO5j6o4/ZofZX8eYeM8J=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to=20 > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf-=20 > > bf96-ad4138998aef%40googlegroups.com.=20 > > For more options, visit [4]https://groups.google.com/d/optout.=20 > >=20 > >References=20 > >=20 > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =20 > > 3.=20 > https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf-bf96-= ad4138998aef-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter=20 > > 4. https://groups.google.com/d/optout=20 > > --=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 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. ------=_Part_5285_791010344.1444713118239 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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=C3=AC= 13 ottobre 2015 05:13:50 UTC+2, John MacFarlane ha scritto:
Try adding the ?dl=3D0 to the url in the mark= down file before
converting to epub.

+++ Federico Bruni [Oct 12 15 16:37 ]:
> =C2=A0 Hi all
> =C2=A0 I'm creating a book in epub format and I need to link t= o **external
> =C2=A0 audio files**.
> =C2=A0 Using local files is not an option, because I want to keep = the epub
> =C2=A0 small and easy to share.
> =C2=A0 After a few tests I see that the external link is correct w= hen using
> =C2=A0 the HTML output.
> =C2=A0 When I use epub, however, the terminal output says that it = could not
> =C2=A0 find media and skipped it. I extracted the XHTML file in th= e epub and
> =C2=A0 it contains a not existent file path:
> =C2=A0 <audio controls>
> =C2=A0 <source type=3D"audio/mpeg" src=3D"media/= file0.mp3">
> =C2=A0 </audio>
> =C2=A0 Please note that the file I'm testing is on Dropbox and= doesn't have a
> =C2=A0 "regular" URL. As explained in the Dropbox help p= ages=C2=B9, you must add
> =C2=A0 ?dl=3D0 to cause the browser to donwload the file instead o= f viewing the
> =C2=A0 Dropbox web page. As I said, this link works fine in HTML b= ut it
> =C2=A0 doesn't in the EPUB format.
> =C2=A0 I could find only this previous discussion=C2=B2 and it doe= sn't help.
> =C2=A0 Thanks in advance
> =C2=A0 Federico
> =C2=A0 =C2=B9 https://www.dropbox.com/help/201
> =C2=A0 =C2=B2
> =C2=A0 pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf-<= /a>
> =C2=A0 bf96-ad4138998aef%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. = https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4a= af-bf96-ad4138998aef@googlegroups.com?utm_medium=3Demail&utm_= source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
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/3ef60d71-e14b-4cbb-8d99-4e5f103642b3%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5285_791010344.1444713118239-- ------=_Part_5284_804476061.1444713118238--