6

I've spotted that there are some links within the epub using a format in line with JSON

<a href="{&quot;unit&quot;: &quot;U01&quot;, &quot;page&quot;: 24, &quot;exercise&quot;: [&quot;AB1&quot;]}">

the href look like this

{"unit": "U01", "page": 24, "exercise": ["AB1"]}

What are those links? are they described in the epub-3 specification? and how does the reader handle that kind of JSON href references?

1
  • Which site was the file published on?
    – mmmmmm
    Jul 17, 2016 at 18:43

1 Answer 1

4

The reader should just ignore it.

According to epub standard which says content should be valid XHTML or HTML5 and then following the links through to the RFC 3987 for an URI section 2.2 a href begins with a scheme (e.g. http) and then a :

I would guess that there is a reader that preprocesses a file and this converts the JSON to a link.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.