bookpedia cover image filenaming

Tell us about your wildest feature dreams. Or just harmless suggestions for improvement.
Post Reply
swiss1939
Junior Member
Junior Member
Posts: 4
Joined: Fri Jun 08, 2007 3:02 pm
Location: Brooklyn, NY

bookpedia cover image filenaming

Post by swiss1939 »

Is it possible to set a user defined filename convention for the cover images? (ie. cover filenames = collection ID #) As I am using bookpedia for database management of abebooks seller account with over 1500 titles, exporting tab delimted text file for abebooks upload... this would allow greater compatibility with their image uploading abilities requiring the cover file to use the collection ID #.
User avatar
Nora
Site Admin
Posts: 2155
Joined: Sun Jul 04, 2004 5:03 am
Contact:

Post by Nora »

The cover names have to stay identical so that the program knows what to look for when it displays covers. But you can rename the cover images for your export like this:

Copy paste the text below into a plain text file and save it in your Templates folder under User/Library/Application Support/Bookpedia/Templates. (You have to change [you] to your actual Username.)

Code: Select all

mkdir ~/Desktop/CoverImages
<!--BeginRepeat-->
cp "/Users/[you]/Library/Application Support/Bookpedia/Covers/[key:uid].jpg" "/Users/[you]/Desktop/CoverImages/[key:collectionID].jpg"
<!--EndRepeat-->
Or download [url=bookpedia://www.bruji.com/download?temp/CoversNamed ... tionID.zip]the template[/url]. It will automatically install itself in Bookpedia in User/Library/Application Support/Bookpedia/Templates/CoversNamedByCollectionID.txt. You will still need to open it with a text editor and change [you] for your Username.

Now export your library with the new template from under the Text tab in the export. The export will create a file with commands that you can then copy paste into the Terminal to have it copy your cover images to the desktop in a folder called CoverImages and named after your collection ID instead of the number assigned by Bookpedia.
(You'll find the Terminal application under Applications/Utilities. If you have some Terminal experience, you could get fancy and add #bash and make it an executable for easier use.)
swiss1939
Junior Member
Junior Member
Posts: 4
Joined: Fri Jun 08, 2007 3:02 pm
Location: Brooklyn, NY

Post by swiss1939 »

thanks! great response.
Post Reply