Skip to content

Instantly share code, notes, and snippets.

View HadrienGardeur's full-sized avatar

Hadrien Gardeur HadrienGardeur

View GitHub Profile
@HadrienGardeur
HadrienGardeur / contains.md
Last active April 16, 2025 16:52
Examples for `contains` in RWPM and OPDS

Examples for contains

Comics

Unnamed chapter of a manga

"belongsTo": {
  "series": "Naruto"
},
@HadrienGardeur
HadrienGardeur / kadokawa.xml
Last active March 19, 2025 14:05
Comparing new proposal for continuously scrolled comics with Kadokawa's example
<?xml version="1.0" encoding="UTF-8"?>
<package
xmlns="http://www.idpf.org/2007/opf"
version="3.0"
xml:lang="ja"
unique-identifier="bw-ecode"
prefix="rendition: http://www.idpf.org/vocab/rendition/#
ebpaj: http://www.ebpaj.jp/
fixed-layout-jp: http://www.digital-comic.jp/
kadokawa: http://www.kadokawa.co.jp/
@HadrienGardeur
HadrienGardeur / continously-scrolled-comics-in-epub.md
Last active September 21, 2024 08:04
Continuously scrolled comics in EPUB

Continuously scrolled comics in EPUB

  • Last update: June 20, 2024
  • Author: Hadrien Gardeur

Continuously scrolled comics are often referred to as "Webtoons", due to the popularity of the Webtoon platform owned by Naver in South Korea. Since this is a trademarked term, we'll refer to these publications as "continuously scrolled comics" throughout this document instead.

1. Introduction

@HadrienGardeur
HadrienGardeur / discovery.json
Last active March 1, 2023 17:06
New experiments around ODL
{
"harvest": [{
"metadata": {
"title": "Public domain ebooks"
},
"links": [{
"href": "https://example.com/publicdomain.json{?since,until}",
"templated": true,
"type": "application/odl+json"
}]
@HadrienGardeur
HadrienGardeur / audiobook.json
Last active January 6, 2023 11:26
a11y metadata for RWPM
{
"accessMode": [
"auditory"
],
"accessModeSufficient": [
"auditory"
],
"feature": [
"tableOfContents"
],
@HadrienGardeur
HadrienGardeur / package.opf
Last active July 20, 2021 13:36
Accessible FXL publication with reflowable fallbacks
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/# cc: http://creativecommons.org/ns#" version="3.0" dir="ltr" id="package">
<metadata>
<dc:title>Accessible FXL publication with reflowable fallbacks</dc:title>
<meta property="rendition:layout">pre-paginated</meta>
<meta property="rendition:orientation">auto</meta>
<meta property="rendition:spread">auto</meta>
<meta property="schema:accessMode">textual</meta>
<meta property="schema:accessMode">visual</meta>
<meta property="schema:accessModeSufficient">textual,visual</meta>
@HadrienGardeur
HadrienGardeur / chapter1.html
Last active December 6, 2020 11:46
RWPM with the ability to switch between FXL, normal HTML and IIIF
<p><a id="page1" href="page1.html" />This is the text of the reflowable view</p>
[
{
"created_at": "2020-08-17T16:02:52+02:00",
"identifier": "Panier de collectivites+bibliothecaire3 (13-08-2020)",
"library": "Biblio test LIQ - 2020",
"retailer": "Librairie Morency",
"total_before_taxes": "141.91",
"currency": "CAD",
"taxes": [
{
{
"@context": "https://www.w3.org/TR/wpub/context.jsonld",
"name": "Moby Dick",
"author": "Herman Melville",
"identifier": "urn:isbn:978031600000X",
"lang": "en",
"dir": "ltr",
"start_url": "/chapter1",
"display": "fullscreen",
"spine": [
@HadrienGardeur
HadrienGardeur / webapp-as-webpub.json
Created June 23, 2017 18:14
Web App Manifest using the Readium Web Publication Manifest model
{
"@context": "http://example.com/webapp.jsonld",
"metadata": {
"name": "Donate App",
"description": "This app helps you donate to worthy causes.",
"short_name": "Donate",
"language": "en",
"direction": "ltr",
"display": "fullscreen",
"orientation": "landscape",