View Single Post
Old 11-17-2014, 05:16 PM   #1
gabigabigabi
Junior Member
gabigabigabi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2014
Device: none
Automatic book addition with personalized metadata

Hi everyone!

I'm trying to find a solution to a simple problem, but just can't figure it out.

I have several files that I use for historic aviation research, and I'm used to build my generated pdf's as such:
Title of the article/book/wathever-ISBN if exists (eitherwise 0)-type of document.

Didn't have any problem to use regular expression in order to get the title in the title field, the ISBN in the ISBN field, but having the type of document in the personalized metadata named TYPE just doesn't work.

Here is what i've tried so far
(?P<title>.+)-(?P<isbn>\d+)-(?P<typesupport>.+)

What it does:
File = title of the extract-0123456789-magazine
<title>= title of the extract
<isbn>=0123456789
<typesupport>= nothing


Unfortunately, there isn't any test field for personalized metadata.
And by testing with a pdf just doesn't put the TYPE in the <typesupport> field. Eveything else is fine.

Can anyone help me on this one?

Don't hesitate to ask me for more precision, since I'm conscious of my poor english level...

Thanks.
gabigabigabi is offline   Reply With Quote