You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,17 @@ In all cases,
54
54
55
55
56
56
57
+
### Are you an user of BiB/i older than v1.0.0?
58
+
59
+
The folder structure and default public URL has changed in Bibi v1.0.0.
60
+
But don't worry. You still can use not only the new style URL but also the same old style URL as before.
61
+
62
+
If you already published books on the web with BiB/i which version is older than v1.0.0, and want to update Bibi to v1.0.0 or newer, but do not want to change the public URLs of the books,
63
+
64
+
* Please download `Bibi-vX.Y.Z_with_BackCompatKit.zip`, and follow the document in it.
The folder structure has changed in Bibi v1.0.0, and the URL for publishing books has changed accordingly.
7
+
But don't worry. You still can use not only the new style URL but also the same style URL as before.
8
+
9
+
Please try this way, if you already have publicated books on the web with BiB/i older than v1.0.0, and want to update Bibi to newer version, but do not want to or can not change the public URLs of the books.
10
+
11
+
1. At first, upload the new "bibi" folder to the same directory of the "bib" directory on your web server.
12
+
2. Next, Replace "index.html" file in the "bib/i" directory on your web server with the one in the new "bib/i" folder (If you haven't customized the "index.html" file, you can simply overwrite with new one).
13
+
14
+
Just by that, your Bibi is updated to v1.0.0, and ready to open your books via the same "https://your.server/bib/i/?book=***" style URL as before. There's no need to move EPUB data out of the "bib/bookshelf" directory.
15
+
What's more, you can also use the new "https://your.server/bibi/?book=****" style URL to open books stored in the "bibi-bookshelf" directory (this is the default method since Bibi v1.0.0).
16
+
17
+
If you interested in more info, read below too:
18
+
* The same new "bibi/presets/default.js" preset file is used in both old and new style URLs.
19
+
* If your old BiB/i is using customized old "bib/i/presets/default.js" preset file, and you want new Bibi to behave same as before, edit options one by one in the new preset file (Because the options in the preset file are renewed).
20
+
* You can use different preset file in each HTML by editing "src" attribute of script#bibi-preset element.
21
+
* You can change the path to the bookshelf directory by editing HTML or the preset file. The data-bibi-bookshelf attribute of script#bibi-preset element in HTML is prior than "bookshelf" option in the preset file.
22
+
* By combining these, various ways of installation and operation are possibles (for example, having share the same bookshelf directory with both old and new style URLs, or using different HTML or preset files for each book).
0 commit comments