In that case, your best bet is still the jacket. That will get the information you want into the book.
The next method would be dependent on how these books are created. As you mention they are fanfiction, are you using FanFicFare to download them? If so, that can put the rating from the site on the page it generates.
Otherwise, you probably need to write an editor plugin that reads the OPF file and updates the page you want the rating on. The OPF is XML so you can parse that fairly easily. There may be some library functions to get the metadata from the OPF, but, I haven't needed them. Alternatively, you could write a user action plugin that makes the changes without opening them in the editor first. That has the advantage that you can run it across multiple books and get the metadata directly from the database which is much easier to do. I have done something similar that I use for books downloaded using FFF to get them how I like them.
|