Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[?]Which program to use for reading djvu xml book files?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bkpsusmitaa
Posts: 485
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore
Has thanked: 5 times

[?]Which program to use for reading djvu xml book files?

#1 Post by bkpsusmitaa »

Hope you all are well, dear friends and leaders.

Earlier djvu could be opened and read with add-on with evince or okular program.

Suppose I have this file, The History Of South India

So, my query arises ...
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [?]Which program to use for reading djvu xml book files?

#2 Post by FreewheelinFrank »

As I understand it, a djvu.xml file describes the structure of the scanned document, therefore it does not contain the actual text, images etc.

The book itself is available from archive.org in various formats.

https://archive.org/details/K.A.Nilakan ... uth-India/

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [?]Which program to use for reading djvu xml book files?

#3 Post by Hallvor »

It opened fine in Konqueror. Is it an option to just convert it to something more common, like pdf?

https://www.freeconvert.com/xml-to-pdf
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

bkpsusmitaa
Posts: 485
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore
Has thanked: 5 times

Re: [?]Which program to use for reading djvu xml book files?

#4 Post by bkpsusmitaa »

Thank you for responding, Mr. FreewheelinFrank.
FreewheelinFrank wrote: 2022-05-16 08:23 As I understand it, a djvu.xml file describes the structure of the scanned document, therefore it does not contain the actual text, images etc. ...
Oh, is it?! I actually don't know the usage of xml in Archive.org.
FreewheelinFrank wrote: 2022-05-16 08:23 ... The book itself is available from archive.org in various formats.
https://archive.org/details/K.A.Nilakan ... India/ ...
Yes, yes, quite true, but the OCR quality is quite poor. All lines aren't OCRed. So can't have an optimised and smaller file, or use a TTS program to have the file raed (past tense of Read is also read, but i use this convention for better comprehension) digitally.
Hallvor wrote: 2022-05-16 08:58 It opened fine in Konqueror.
Thanks Mr. Hallvor for posting your comment. Yes, it opens in Okular as well. I don't use Konquerer, but Firefox-ESR. Opens there as well. XML is eXtended Markup Language, but I don't know what kind of file it is intended for, or the protocols or usage.
Hallvor wrote: 2022-05-16 08:58 ... Is it an option to just convert it to something more common, like pdf?
https://www.freeconvert.com/xml-to-pdf
Given what Mr. Frank says, conversion to pdf won't be of any use.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [?]Which program to use for reading djvu xml book files?

#5 Post by Hallvor »

I downloaded the file with wget and converted it to PDF. It did contain text, but the layout was very bad.

Here is the converted PDF I made: https://ufile.io/opfuscto

https://djvu.com/djvu-technology/

I am not having much luck outside Konqueror:
Firefox just opens it like a text file with code, and not in readable format.
Okular just hangs.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

bkpsusmitaa
Posts: 485
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore
Has thanked: 5 times

Re: [?]Which program to use for reading djvu xml book files?

#6 Post by bkpsusmitaa »

Hallvor wrote: 2022-05-16 10:53 I downloaded the file with wget and converted it to PDF. It did contain text, but the layout was very bad.
Here is the converted PDF I made: https://ufile.io/opfuscto ...
Thanks Mr. Hallvor for your efforts. You needn't have tried so hard. I downloaded your file from the link. The layout is not only "Very Bad", there is no layout at all, worse than the Text Only file there.
Hallvor wrote: 2022-05-16 10:53 ... https://djvu.com/djvu-technology/ ...
I had used djvu tech from 2008 to 2015, but then learnt about the problems. The developer didn't make some portions of the code free to use, virtually killing the tech. djvu files are tighter and smaller than pdf files. But then, gone tech.
Hallvor wrote: 2022-05-16 10:53... I am not having much luck outside Konqueror:
Firefox just opens it like a text file with code, and not in readable format.
Okular just hangs ...
Even Chromium reads it too, without parsing, just like the file you printed. But that's about it.

So please let go. You have done enough already. Thank you once again for your kind efforts.

Prima Facie, from the code, it appears that the file has a layout code. But programs aren't parsing them.

Let us wait. May be someone more knowledgeable shall post a positive reply soon.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home

Post Reply