geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 801 forks source link

Read metadata in comic book archive (cbz/cbr) files #329

Open goodevilgenius opened 9 years ago

goodevilgenius commented 9 years ago

Now that FBReaderJ supports comic book archives (through the comic book plugin), it would be useful if metadata within those files were properly supported.

There are three different commonly-used formats for metadata in cbz/cbr files:

The first two store the data as an xml file in the root of the archive. The last one stories it in the archive header data (might only work on cbz, I'm not sure).

It would be great if FBReader was able to parse this data, so that the files show more than just the filename when viewing the library.

geometer commented 9 years ago

That's interesting, thank you. I did not know.

And yes, this is a good place for comic book plugin related issues. We will definitely open sources of the plugin in a short time. We did not yet because code quality is still far away from our standards. ;)

As for desktop -- not sure; that depends on new FBReader desktop release.

geometer commented 9 years ago

Btw, do you know any real source of comic books with metainfo?

goodevilgenius commented 9 years ago

http://www.filedropper.com/buckybarnesthewintersoldier3-aleskot

This one has all three metadata formats. JSON data in the zip header (ComicBookLover), ComicInfo.xml (Comic Rack), and CoMet.xml (CoMet, obviously).

geometer commented 9 years ago

Downloaded it. Thanks.