Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2013, 03:13 PM   #1
Hattie
Enthusiast
Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.
 
Posts: 25
Karma: 1942
Join Date: Jul 2011
Device: many
GoodReads decimal ratings

I would like to download Goodreads ratings as a decimal (i.e. 4.25) instead of as stars. When I posted about this, theducks kindly provided this answer:

Quote: "The ratings column (and column type) is stars (the underlying value is 0-6. integer)

You could create a custom column (eg GR rate) of Numeric type, but then you will need to figure out (I don't use the GR PI) how to map the rating to the new column" End Quote

I searched the forums for a way to do this and found this thread relating to the Goodreads metadata plugin:

http://www.mobileread.com/forums/sho...ight=Goodreads

I have ratings coming in only from Goodreads, and can create a column called GR Ratings. Back in 2011, kiwidude wasn't optimistic that it was possible to map the decimal ratings to this column, however. Is this still true?

Thanks for your help!
Hattie is offline   Reply With Quote
Old 03-30-2013, 07:16 PM   #2
Pr.BarnArt
Groupie
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 170
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
Maybe there would be a two step solution:
1. change the goodreads-plugin to set the decimal note as text , after the publisher's name and a seperator (@) in the publisher field.
2. make a function to split the decimal note and put it in a seperate text-field.
Pr.BarnArt is offline   Reply With Quote
 
Advertisement
Old 04-25-2013, 12:11 PM   #3
Hattie
Enthusiast
Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.Hattie once ate a cherry pie in a record 7 seconds.
 
Posts: 25
Karma: 1942
Join Date: Jul 2011
Device: many
Thanks, Pr.BarnArt! I have no idea what you just said, but I thank you for saying it!
Hattie is offline   Reply With Quote
Old 04-25-2013, 05:21 PM   #4
Pr.BarnArt
Groupie
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 170
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
Quote:
Originally Posted by Hattie View Post
Thanks, Pr.BarnArt! I have no idea what you just said, but I thank you for saying it!
Sorry ,I thought it would be clear for you and /or others.
So just one more try.

When you use a metadata source plugin you can only put get an integer(not a decimal) value for the rating field.
In stead of using the rating field, I suggest to use the publisher-field to fill with the publishers name, followed by a seperator and then followed by the decimal rating. It is possible because the publisherfield is a text field.
To realize this you have to make a simple change to the goodread metadatasource plugin.

The result is that, with this plugin, you get the decimal rating in the publisherfield of your book (after the name of the publisher).

The second step would be: to make a function within calibre, which looks for the separator in the publisher field en then split the text in the name and the rating.
Then convert the rating (in text) to a decimal value, which can be placed in the rating collumn you mentioned .

Hope you understand, I did my best
Pr.BarnArt is offline   Reply With Quote
Old 06-29-2013, 12:11 AM   #5
iatowk
Junior Member
iatowk began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2013
Device: Kindle
Quote:
Originally Posted by Pr.BarnArt View Post
Sorry ,I thought it would be clear for you and /or others.

To realize this you have to make a simple change to the goodread metadatasource plugin.

The result is that, with this plugin, you get the decimal rating in the publisherfield of your book (after the name of the publisher).

The second step would be: to make a function within calibre, which looks for the separator in the publisher field en then split the text in the name and the rating.
Then convert the rating (in text) to a decimal value, which can be placed in the rating collumn you mentioned .

Hope you understand, I did my best
How can I do that change?
iatowk is offline   Reply With Quote
Old 09-29-2013, 04:58 PM   #6
Pr.BarnArt
Groupie
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 170
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
I made a demo of my idea.

see the thread goodreads_rating http://www.mobileread.com/forums/sho...d.php?t=223688
Pr.BarnArt is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tags vs Dewey Decimal vs Library of Congress Classification hd_cal_dave Library Management 1 05-23-2012 09:32 PM
How about Dewey Decimal System # in Metadata Black Cat Linda Library Management 0 02-04-2012 09:57 PM
GoodReads Ratings AND Number of Reviews JohnnyRocks Plugins 10 05-14-2011 07:34 PM
Sony includes goodreads ratings? Todd Young Writers' Corner 0 05-10-2011 03:32 AM
Seriously thoughtful Decimal Currency in Britain GeoffC Lounge 38 02-08-2011 06:37 AM


All times are GMT -4. The time now is 09:01 AM.


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