-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add option to retrieve metadata from www.wlnupdates.com or www.novelupdates.com #54
Comments
Both of these sources link to many different websites and makes it virtually impossible since the code will never be able to accurately guess where the chapter content is. Additionally, the goal of this app is to provide a way for a user to download and read novels for personal use only and I don't think additional metadata is necessary. |
You just need to get all the epub metadata from the novel web page on novelupdates.com or wlnupdates.com. Here is a real world example from an epub: <dc:identifier id="book-id" opf:scheme="ISBN">1234567890X</dc:identifier>
<dc:title id="english">Battle Through the Heavens</dc:title>
<meta refines="#english" property="title-type">english title</meta>
<dc:title id="original">斗破苍穹</dc:title>
<meta refines="#original" property="title-type">original title</meta>
<dc:title id="alternative">Fights Break Sphere</dc:title>
<meta refines="#alternative" property="title-type">alternative title</meta>
<dc:language id="text-language">en</dc:language>
<meta refines="#text-language" property="identifier-type" scheme="onix:codelist22">01</meta>
<dc:language id="original-language">cn</dc:language>
<meta refines="#original-language" property="identifier-type" scheme="onix:codelist22">02</meta>
<dc:creator opf:role="aut" >Heavenly Silkworm Potato</dc:creator>
<dc:creator opf:role="aut" >Tian Can Tu Dou</dc:creator>
<dc:creator opf:role="aut" >天蚕土豆</dc:creator>
<dc:creator opf:role="trl" >GravityTales</dc:creator>
<dc:contributor opf:role="ill" >Hongbin Zhou</dc:contributor>
<dc:publisher>Qidian</dc:publisher>
<dc:subject>Action</dc:subject>
<dc:subject>Adventure</dc:subject>
<dc:subject>Fantasy</dc:subject>
<dc:subject>Harem</dc:subject>
<dc:subject>Martial Arts</dc:subject>
<dc:subject>Xuanhuan</dc:subject>
<dc:date opf:event="publication">2018-01-01T00:00:00Z</dc:date>
<dc:source>urn:isbn:1234567890X</dc:source>
<dc:description>"In a land where no magic is present. A land where the strong make the rules and the weak have to obey. A land filled with alluring treasures and beauty, yet also filled with unforeseen danger. Three years ago, Xiao Yan, who had shown talents none had seen in decades, suddenly lost everything. His powers, his reputation, and his promise to his mother. What sorcery has caused him to lose all of his powers? And why has his fiancee suddenly shown up? </dc:description>
<link href="https://www.novelupdates.com/series/battle-through-the-heavens/" />
</metadata> |
All the metadata in the example above is taken from Novelupdates. https://github.com/fake-name/wlnupdates/blob/master/app/templates/api-docs.md |
Oh, I think I understood your original question wrong, what you mean is when the app download the novel from other sources, lets say Boxnovel, there should be an option to add additional meta data from these sites correct? If that's the case, I think its doable. |
Please add the option to retrieve all novel metadata (alternative titles, author, first published date, genres, summary, series, etc.) from www.wlnupdates.com or www.novelupdates.com and save those in the epub metadata.
The text was updated successfully, but these errors were encountered: