On 9/28/2014 5:02 PM, scout78 wrote:
> In the meantime I have 2 more adapters for you, if you want them, and
> I've also updated the sheppardweir adapter with the review counts.
Sure, I'll include them in the next version.
> The csiforensics adapter is still missing the rating & categories, I
> have however figured out that Wraithbait uses a similiar layout.
> However, I have no idea how to get the appropriate lines of code to work
> with the eFiction Base adapter:
There's actually a bug in base_efiction_adapter.py--it should be setting
'category' not 'categories'. (It's my fault, really, for not being
consistent with singular vs plural names.)
But csiforensics also needs custom handleMetadataPair code because it
uses '>' to separate instead of ','.
It's not really possible to get the rating for csiforensics using
eFiction Base adapter because csiforensics doesn't include that
information in the print page that the eFiction Base adapter gets all
its data from. It would have to be a regular adapter instead. (Or
extend extractChapterUrlsAndMetadata to fetch another page and parse it
from there, I suppose.)
I've posted a test version of the plugin with these adapters, including
'Categories code' for csiforensics:
http://www.mobileread.com/forums/showthread.php?p=2936068#post2936068
Jim