RE: Helper apps from ePub

> 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.

 

I seem to recall discussing the idea of “downloadable” content within the container last revision (or maybe 3.1?), but it didn’t get any traction.

 

Matt

 

From: Dave Cramer <dauwhe@gmail.com> 
Sent: February 25, 2020 16:28
To: Michael A. Peters <mpeters@domblogger.net>
Cc: W3C EPUB3 Community Group <public-epub3@w3.org>
Subject: Re: Helper apps from ePub

 

You could include a GPX file in the EPUB package. But you can't link to the GPX from a content document. 

 

Feel free to file an issue in the spec's GitHub repository (https://github.com/w3c/publ-epub-revision/issues), which will make it easier to track further discussion. 

 

Thanks,

 

Dave

 

On Tue, Feb 25, 2020 at 12:43 PM Michael A. Peters <mpeters@domblogger.net <mailto:mpeters@domblogger.net> > wrote:

Hi, I am working on an ePub field guide for naturalists. I did not find a way to include a manifest resource intended for a third party app. Part of me understands why that would be a BAD idea (malware) but here is my use case.

The field guide includes various nature trails. I can use a Google Maps hyperlink but I would like to include a standard GPX file for people like me who are extremely paranoid about trackers (with good reason, just found out that ICE recently bought geolocation data from weather apps to learn the locations of undocumented immigrants and arrest them, trackers are killing the usefulness of the Internet). Anyway, I would like to include GPX files that when clicked, allows the user to import them into whatever app they have on phone/tablet/desktop for handling GPX files. Obviously this won't work with dedicated ePub viewers, but it could work on platforms where the ePub viewer is just one of many applications.

I could host the files on the Internet and link to them within the ePub but that is more fragile, servers could go away or the user may not have an Internet connection, etc.

Does ePub not have this ability? Can it be added to a future version?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Received on Tuesday, 25 February 2020 21:47:21 UTC