Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2023, 08:38 PM   #31
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,285
Karma: 98804578
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by willemml View Post
I have tested editing annotations and it works.
As far as I know you are the first to announce an ability to write to these files.
j.p.s is offline   Reply With Quote
Old 08-31-2023, 01:56 AM   #32
willemml
Junior Member
willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.
 
Posts: 7
Karma: 123456
Join Date: Aug 2023
Location: BC, Canada
Device: Kindle Scribe
Post Small update (lib accessibility)

I have now split the repo into two libraries, one provides the file definitions while the other provides the methods for serializing and deserializing. There is documentation in the file definition repo for the fields that are "known". If I missed anything let me know (either here or make an issue, or even better a PR.)

File definitions:
https://github.com/willemml/kindle_formats-rs

Serializer and deserializer (read and write to KRDS files):
https://github.com/willemml/serde_krds

(This is just a small update on what I am doing. There is no functionality added, although now these libraries are published on crates.io (ser/de, definitions) and serde_krds conforms to the Serde data format crate conventions.
willemml is offline   Reply With Quote
Advert
Old 11-06-2023, 03:15 PM   #33
paulequilibrio
Junior Member
paulequilibrio began at the beginning.
 
paulequilibrio's Avatar
 
Posts: 3
Karma: 10
Join Date: Dec 2022
Location: Brazil
Device: Kindle PW 2021
Quote:
Originally Posted by willemml View Post
I have now split the repo into two libraries, one provides the file definitions while the other provides the methods for serializing and deserializing. There is documentation in the file definition repo for the fields that are "known". If I missed anything let me know (either here or make an issue, or even better a PR.)

File definitions:
https://github.com/willemml/kindle_formats-rs

Serializer and deserializer (read and write to KRDS files):
https://github.com/willemml/serde_krds

(This is just a small update on what I am doing. There is no functionality added, although now these libraries are published on crates.io (ser/de, definitions) and serde_krds conforms to the Serde data format crate conventions.
First of all, thank you so much for doing this!

I'm not a Rust developer, I've already tried cargo build but I believe it's not creating an executable that I can run. Could you add some instructions on how to use your code to the REAMED file in the repository?

Last edited by paulequilibrio; 11-06-2023 at 03:17 PM.
paulequilibrio is offline   Reply With Quote
Old 11-07-2023, 04:54 PM   #34
willemml
Junior Member
willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.willemml is an accomplished Snipe hunter.
 
Posts: 7
Karma: 123456
Join Date: Aug 2023
Location: BC, Canada
Device: Kindle Scribe
Quote:
Originally Posted by paulequilibrio View Post
First of all, thank you so much for doing this!

I'm not a Rust developer, I've already tried cargo build but I believe it's not creating an executable that I can run. Could you add some instructions on how to use your code to the REAMED file in the repository?
These are libraries, not executables, I created these so it would be easier to create binary programs in the future. There are tests that can be run (using cargo test) but other than that this is purely a library.
willemml is offline   Reply With Quote
Reply

Tags
krds


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does Reader for PC store files? redbees Sony Reader 13 01-22-2021 09:07 AM
Lost Kindle Data files Alastair_Lack Amazon Kindle 5 06-28-2013 03:31 PM
Where does the Android Kindle app store ebook files? bfollowell Amazon Kindle 3 03-12-2013 05:04 PM
Where does Connect Reader store ebook files 1490peter Sony Reader 1 08-12-2009 03:45 AM
Old RSS data on Sony Store JeffASonyReader Sony Reader 3 01-14-2008 06:20 PM


All times are GMT -4. The time now is 01:10 PM.


MobileRead.com is a privately owned, operated and funded community.