Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2009, 10:13 AM   #1
river
Member
river began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: PRS-505
regex Issue when Importing

Hi there, first post....
Firstly, thankyou to Kovid Goyal for his work

I'm using calibre version 0.5.14, with the regular expression of '(?P<author>[^_]+) - (?P<title>.+) ?'

However during import my pdf's are always given a TITLE of 'Author - Title'

I found an old ticket describing this issue exactly, but it says fixed 13 months ago. (link: http://calibre.kovidgoyal.net/ticket/662)

Any ideas, i'm definitely on the latest version.

Many Thanks, river.
river is offline   Reply With Quote
Old 06-15-2009, 06:45 AM   #2
river
Member
river began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: PRS-505
I checked the ticket again and it says 'added to trunk'.
Does this mean it's fixed in the latest 0.5.x version?

I'm trying to do my first import but for all my pdf's it get's the title wrong
river is offline   Reply With Quote
Advert
Old 06-16-2009, 10:28 AM   #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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the preferences to tell calibre to read metadata from the filename instead of the file itself.
kovidgoyal is offline   Reply With Quote
Old 06-16-2009, 11:03 AM   #4
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by river View Post
I'm using calibre version 0.5.14, with the regular expression of '(?P<author>[^_]+) - (?P<title>.+) ?'

However during import my pdf's are always given a TITLE of 'Author - Title'
Remove the ' ?' at the end.
ilovejedd is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing RegEx Line TheEldest Calibre 1 07-05-2011 10:18 PM
Sigil and Regex crutledge Sigil 2 07-14-2010 04:51 PM
What a regex is Worldwalker Calibre 20 05-10-2010 05:51 AM
Help with a regex A.T.E. Calibre 1 04-05-2010 07:50 AM
Regex help... Bobthebass Workshop 6 04-26-2009 03:54 PM


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


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