Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2011, 01:27 PM   #1
jbcmars
Junior Member
jbcmars began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: Sony PRS-505
Regular Expression adding book published date

Dear All,

I have been looking aroung a bit and I have not found anything on how to add a published date in the adding book section.

Most of my books (actually research papers) have the following format:
Author - Year - Title
where Year is the year the article had been published.

I tried this as a regular expression in the Adding books - Configure metadata from file name
(?P<author>[^_]+) - (?P<pubdate>[^_]+) - (?P<title>.+)


But this is not working. I do get the author and title correctly but not the published date.

Can anyone help ?

Thank you
jbcmars is offline   Reply With Quote
Old 01-08-2011, 02:32 PM   #2
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
This should be in the regular forum, not the recipes subforum.

G
GRiker is offline   Reply With Quote
Advert
Old 01-08-2011, 09:23 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,162
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the only metadata that can be read from filenames is what is described in the adding books preferences, IIRC, pubdate is not included.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre book adding: Regular expression request... Spiffy Calibre 34 01-19-2016 01:03 PM
Custom Regular Expressions for adding book information bigbot3 Calibre 1 12-25-2010 06:28 PM
Adding Books, regular expression smarties86 Calibre 4 12-19-2010 08:18 AM
Regular Expression on adding books. Lokro Calibre 4 11-06-2010 11:05 AM
Regular Expression For Adding Books jhart711 Calibre 3 09-27-2010 06:51 AM


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


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