On Tue, Feb 25, 2020 at 4:47 PM Matt Garrish <matt.garrish@gmail.com> wrote:
> > But you can't link to the GPX from a content document.
>
>
>
> Technically, you can if you specify a manifest fallback for the GPX file.
> Probably an html doc that explains the reading system can’t handle the
> media type and directs the user how to manually get the file from the zip
> container as the chances are low that a reading system would display or
> launch the file.
>
>
>
>
Ah, I had to make the GPX file a spine item for that to work. Another use
case for linear="no"? :)
<manifest>
<item id="content_001" href="content_001.xhtml"
media-type="application/xhtml+xml"/>
<item id="nav" href="nav.xhtml" media-type="application/xhtml+xml"
properties="nav"/>
<item id="gpx" href="Prospect_Mountain_Skinning.gpx"
media-type="application/gpx+xml" fallback="fallback"/>
<item id="fallback" href="fallback.xhtml"
media-type="application/xhtml+xml"/>
</manifest>
<spine>
<itemref idref="content_001" />
<itemref idref="gpx" linear="no"/>
</spine>
Dave