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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2012, 10:16 AM   #1
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,084
Karma: 8499999
Join Date: Dec 2006
Location: Singapore
Device: Coolreader(Nexus 5)\Coolreader(Nook Touch)
custom date column from two state column

I have a two state yes no column that I use to mark books read or unread. Is it possible to make another custom that sets the date when I change the first column to yes.
The date should be editable so I can set the dates for books I have already marked read.
Dopedangel is offline   Reply With Quote
Old 01-01-2012, 11:27 AM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,212
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Dopedangel View Post
I have a two state yes no column that I use to mark books read or unread. Is it possible to make another custom that sets the date when I change the first column to yes.
The date should be editable so I can set the dates for books I have already marked read.

Why use 2 columns when one will do
The book is either Read or Unread (you did say '2 state')


Make Read your Date column.

Not read = blank date

Now if you were also recording when you started and when you finished (Remembers how many years it took me to wade through Hawaii )
theducks is online now   Reply With Quote
Old 01-01-2012, 12:20 PM   #3
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,084
Karma: 8499999
Join Date: Dec 2006
Location: Singapore
Device: Coolreader(Nexus 5)\Coolreader(Nook Touch)
I would have to enter the date now I can just press y or n. Plus the date column will be hidden from view and just used for search restriction etc
Dopedangel is offline   Reply With Quote
Old 01-01-2012, 01:58 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,212
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Dopedangel View Post
I would have to enter the date now I can just press y or n. Plus the date column will be hidden from view and just used for search restriction etc
In an empty date column cell: press F2 then Enter (only works for blank) populates with current date-Time

BTW I have (the Tweak) to Press F2 to edit a cell, double-clicking may work for normal mode
theducks is online now   Reply With Quote
Old 01-02-2012, 06:42 AM   #5
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 4,968
Karma: 802238
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by Dopedangel View Post
I have a two state yes no column that I use to mark books read or unread. Is it possible to make another custom that sets the date when I change the first column to yes.
The date should be editable so I can set the dates for books I have already marked read.
There isn't an easy way to do it. Calibre does not support the notion of change triggers on custom columns, and the template language does not support assignment to fields. Something like the coloring rules as triggers is imaginable, but it would not be particularly easy to do. I would be particularly concerned about ordering and circularity.

Beyond getting into calibre's code and hacking it to implement the trigger, I think the only way to accomplish this is to write a plugin that manages the boolean column. Instead of setting the bool column directly you would talk to the plugin using keyboard shortcuts. The plugin would change the value of the bool column, and if appropriate set the value of the date column.
chaley is offline   Reply With Quote
Old 01-02-2012, 08:51 AM   #6
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Dopedangel - there is another option that I will just throw out there for your info. The Goodreads Sync plugin has exactly this capability as part of adding to a shelf. So I have it configured such that when I finish reading a book I do a right-click to add it to my read shelf - the dialog that pops up gives me the opportunity to override the date read, and I also have it configured to assign Yes to my boolean column, all triggered from that one right click.

Of course that does rely on setting up a (free) Goodreads.com account as well, but you might find it of interest to track your reading/stats through their website as I have.

It might not be of interest as a complete solution, but it does do exactly what you mentioned in this thread.
kiwidude is offline   Reply With Quote
Old 01-03-2012, 07:45 AM   #7
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,084
Karma: 8499999
Join Date: Dec 2006
Location: Singapore
Device: Coolreader(Nexus 5)\Coolreader(Nook Touch)
Quote:
Originally Posted by kiwidude View Post
@Dopedangel - there is another option that I will just throw out there for your info. The Goodreads Sync plugin has exactly this capability as part of adding to a shelf. So I have it configured such that when I finish reading a book I do a right-click to add it to my read shelf - the dialog that pops up gives me the opportunity to override the date read, and I also have it configured to assign Yes to my boolean column, all triggered from that one right click.

Of course that does rely on setting up a (free) Goodreads.com account as well, but you might find it of interest to track your reading/stats through their website as I have.

It might not be of interest as a complete solution, but it does do exactly what you mentioned in this thread.
Thanks I already have an goodreads account but never used it will play around with it I like to read a lot of series so use fictfact does good reads have a similar functionality
Dopedangel is offline   Reply With Quote
Old 01-03-2012, 08:20 AM   #8
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
If you mean does Goodreads have the ability to notify you about new books in a series, then no it does not. However fictfact (the last time I looked) had the major disadvantage (to me) of *only* working with books that were part of a series. Which is useless to me given I like to read standalone novels as well as series.
kiwidude 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
Custom column: "Updated date", when adding new "versions" of the same file? enriquep Library Management 16 11-03-2011 10:46 AM
"Date Added" custom column? cheechwhiz Library Management 1 08-20-2011 10:25 AM
Custom column for date added Gunnerp245 Calibre 2 07-08-2011 04:39 PM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM
Help with Date column sadievan Calibre 7 01-17-2011 08:36 PM


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


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