-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support loading documents from GitHub and Aozorabunko URLs
- Convert GitHub URL to GitHub raw URL e.g., https://github.com/IDPF/epub3-samples/tree/master/30/accessible_epub_3/ => https://raw.githubusercontent.com/IDPF/epub3-samples/master/30/accessible_epub_3/ - Convert Aozorabunko (X)HTML URL to GitHub raw URL e.g., https://www.aozora.gr.jp/cards/000121/files/628_14895.html => https://raw.githubusercontent.com/aozorabunko/aozorabunko/master/cards/000121/files/628_14895.html - Override MIME type on GitHub raw URLs to enable loading HTML/XML documents from GitHub raw data. - Set charset=Shift_JIS for Aozorabunko's (X)HTML files
- Loading branch information
1 parent
b018533
commit 385738b
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters