View Single Post
Old 05-02-2025, 05:37 PM   #8
juanferna
Member
juanferna began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2025
Device: sony PRS T3
Thanks Kovid.
But, maybe, I didnt explained correctly.
Let me clarify.

I'm using Windows 10 and Calibre 8.3.0.

I have prepared a simple recipe (HelloWorld.recipe).
As you can see, it creates an epub file containing 20 feeds. Each feed contains 50 articles, all of them identical and fetching a quite simple and local html file (HelloWorld.html).

When I open the epub file using calibre-viewer, it fails for feed-1 (article-20) and feed-3 (article-17 and article-22).
The failure appears to be random: not related to the recipe neither to the html file.

If I rename HelloWorld.epub to HelloWorld-2.epub (not a new generation, only changing the name), the calibre-viewer fail again, but for different articles: feed-0 (article-27), feed-1 (article-14 and article-45) and feed-2 (article-47)

It seems to me that calibre-viewer generates a different cache information, for the same physical epub file, because the name has changed.

The only clue I can provide is the abovementioned: for the failed articles, the inspector displays '<a href="../article_xx/index_uyyy.html"' instead of '<a href="javascript:void(0)"'

Please, find attached files (HelloWorld.recipe, HelloWorld.html and HelloWorld.epub).
Attached Files
File Type: recipe HelloWorld.recipe (770 Bytes, 38 views)
File Type: epub HelloWorld.epub (253.1 KB, 46 views)
File Type: zip HelloWorld.zip (190 Bytes, 49 views)
juanferna is offline   Reply With Quote