Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2015, 05:18 PM   #1
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
search by born date?

Hi
I have add a column named "born" and I have enter the born date of my author, for example 1920 or 1946 or 1790
Now I want to create a virtual library search for every hundred years, so, for example, if I create a virtual library of 1900 in the results I have all authors born during that time, as in 1920 or 1946.
So I created a virtual library with this command:

#born: "= 19"

but I do not know what is the wildcard to search for all numbers after 19
Lauraq is offline   Reply With Quote
Old 05-17-2015, 06:57 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Use the "~" to activate regular expression mode in searches.

Code:
#born:"~^19"
Searches for "begins-with-19"
eschwartz is offline   Reply With Quote
Advert
Old 05-17-2015, 07:04 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Lauraq - why not enter author year of birth as an integer - and set up VL's thusly:

Code:
21st Century - #born:">2000"
20th Century - #born:">1899" and #born:"<2001"
19th Century - #born:">1799" and #born:"<1901"
...


BR

Last edited by BetterRed; 05-17-2015 at 08:07 PM. Reason: correct search strings
BetterRed is offline   Reply With Quote
Old 05-17-2015, 07:09 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
regex is more fun.

Last edited by eschwartz; 05-17-2015 at 08:01 PM.
eschwartz is offline   Reply With Quote
Old 05-17-2015, 07:18 PM   #5
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by eschwartz View Post
Use the "~" to activate regular expression mode in searches.

Code:
#born:"~^19"
Searches for "begins-with-19"
#born:"~^19"

don't work for me "the search in the search box is not valid"
Lauraq is offline   Reply With Quote
Advert
Old 05-17-2015, 07:19 PM   #6
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by BetterRed View Post
@Lauraq - why not enter author year of birth as an integer - and set up VL's thusly:

Code:
21st Century - #born>2000, 
20th Century - #born>1899 and #born<2001
19th Century - #born>1799 and #born<1901
...
Not tested

BR
can you tell me exactly what I must do? I m not expert, for now I have only enter the born year in all my author
Lauraq is offline   Reply With Quote
Old 05-17-2015, 07:21 PM   #7
theducks
Well trained by Cats
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: 30,934
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There is a whole section devoted to Searching.
http://manual.calibre-ebook.com/gui.html#search-sort
Dates being a section a short scroll down (there are no finer links/anchors)

Last edited by theducks; 05-17-2015 at 07:31 PM. Reason: spelling
theducks is offline   Reply With Quote
Old 05-17-2015, 07:29 PM   #8
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by theducks View Post
There is a hole section devoted to Searching.
http://manual.calibre-ebook.com/gui.html#search-sort
Dates being a section a short scroll down (there are no finer links/anchors)
I never thought to find a guide on the program website
Lauraq is offline   Reply With Quote
Old 05-17-2015, 07:34 PM   #9
theducks
Well trained by Cats
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: 30,934
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Lauraq View Post
I never thought to find a guide on the program website
That is the WHOLE manual as it changes almost weekly in some small ways as new features pop out.

There is also a FAQ that I wish was required reading. It would avoid many recoveries
theducks is offline   Reply With Quote
Old 05-17-2015, 07:37 PM   #10
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by theducks View Post
That is the WHOLE manual as it changes almost weekly in some small ways as new features pop out.

There is also a FAQ that I wish was required reading. It would avoid many recoveries
is ironic my post

if I ask for help here I am because I have not found a solution by reading (in my bad English) the various guides that I found
Lauraq is offline   Reply With Quote
Old 05-17-2015, 07:39 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Lauraq View Post
can you tell me exactly what I must do? I m not expert, for now I have only enter the born year in all my author
Create a custom column like this

Click image for larger version

Name:	Capture.JPG
Views:	343
Size:	46.2 KB
ID:	138403

I suggest you don't use a Date column. Calibre doesn't seem to handle dates earlier that 1st Jan 101 properly, also you could get tangled up in timezones. Using a string representation will make it awkward to deal with authors like Homer, Herodotus etc etc

If you can select all books for an author, you can use bulk edit to change the born year in those books

Pity Authors can't have custom columns

BR
BetterRed is offline   Reply With Quote
Old 05-17-2015, 07:48 PM   #12
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by BetterRed View Post
Create a custom column like this

Attachment 138403

I suggest you don't use a Date column. Calibre doesn't seem to handle dates earlier that 1st Jan 101 properly, also you could get tangled up in timezones. Using a string representation will make it awkward to deal with authors like Homer, Herodotus etc etc

If you can select all books for an author, you can use bulk edit to change the born year in those books

Pity Authors can't have custom columns

BR
Thanks

Ok I have create the column like your image, but now what I must enter in the virtual library?
Lauraq is offline   Reply With Quote
Old 05-17-2015, 08:03 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Lauraq View Post
#born:"~^19"

don't work for me "the search in the search box is not valid"
Works for me.

What type of column is it?
eschwartz is offline   Reply With Quote
Old 05-17-2015, 08:03 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Lauraq View Post
Thanks

Ok I have create the column like your image, but now what I must enter in the virtual library?
Enter the Born Years for some Authors, and then set up your VL's thusly

Click image for larger version

Name:	Capture1.JPG
Views:	346
Size:	66.8 KB
ID:	138404
Click image for larger version

Name:	Capture2.JPG
Views:	309
Size:	64.2 KB
ID:	138405

Tested this time - previous post had conceptual search terms. the above are the real-deal

BR

Last edited by BetterRed; 05-17-2015 at 08:12 PM.
BetterRed is offline   Reply With Quote
Old 05-17-2015, 08:12 PM   #15
Lauraq
Zealot
Lauraq began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Nov 2013
Device: not one
Quote:
Originally Posted by BetterRed View Post
Enter the Born Years for some Authors, and then set up your VL's thusly

Attachment 138404
Attachment 138405

Tested this time - previous post had conceptual search terms. the above are the real-deal

BR



unfortunately I'm moving books from one store to another and I can't try if they work, check tomorrow and let you know. But I do not know if you understand what I want. I want an entry for every 100 years in the virtual library

1500
1600
1700
etc etc

and if I click on 1500 they must appear all authors born 1500-1599

Last edited by Lauraq; 05-17-2015 at 08:15 PM.
Lauraq is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grant Wood born on this date... kennyc Lounge 13 02-17-2015 05:15 AM
Search for Date added Compere Library Management 6 06-08-2013 04:27 PM
Can you search using Date Modified? Miss A Library Management 2 03-28-2013 11:59 PM
Search on Added Date nynaevelan Calibre 6 11-10-2010 09:15 PM
Search date.. ottovdv Calibre 1 10-26-2010 04:29 AM


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


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