Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2011, 09:21 AM   #1
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Insert Metadata As Page At Start Of Book

Hi,

When converting for an EPUB output I have ticked Structure Detection > Insert metadata as page at start of book, so far so good but I always strip the publisher from my metadata, so how do I stop the Unknown publisher from showing up, see below

Gone, Baby, Gone
Patrick Kenzie & Angela Gennaro [4]
Dennis Lehane
Unknown publisher (1998)
JayLaFunk is offline   Reply With Quote
Old 02-05-2011, 10:25 AM   #2
theducks
Grand Sorcerer
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: 13,594
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by JayLaFunk View Post
Hi,

When converting for an EPUB output I have ticked Structure Detection > Insert metadata as page at start of book, so far so good but I always strip the publisher from my metadata, so how do I stop the Unknown publisher from showing up, see below

Gone, Baby, Gone
Patrick Kenzie & Angela Gennaro [4]
Dennis Lehane
Unknown publisher (1998)
Publisher is a required field (to pass validation) Unknown is the printed value for 'publisher is blank' Put some name in the Publisher field.
theducks is offline   Reply With Quote
Old 02-05-2011, 10:41 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,563
Karma: 12369681
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by JayLaFunk View Post
Hi,

When converting for an EPUB output I have ticked Structure Detection > Insert metadata as page at start of book, so far so good but I always strip the publisher from my metadata, so how do I stop the Unknown publisher from showing up,
Find the style.css file in found in either your the calibre program directory something like the following:

C:\Program Files\Calibre2\resources\jacket\
or in your
calibre config directory under \resources\jacket\

Edit this file in a text editor and follow the instructions inside the css file. Find this line and uncomment the display:none line like below and the Publisher info will be removed from future conversions.

Code:
table.cbj_header tr.cbj_pubdate {
    /* Uncomment the next line to remove 'Published' from banner section */
    display:none;
    }
DoctorOhh is offline   Reply With Quote
Old 02-05-2011, 11:14 AM   #4
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Quote:
Originally Posted by dwanthny View Post
Find the style.css file in found in either your the calibre program directory something like the following:

C:\Program Files\Calibre2\resources\jacket\
or in your
calibre config directory under \resources\jacket\

Edit this file in a text editor and follow the instructions inside the css file. Find this line and uncomment the display:none line like below and the Publisher info will be removed from future conversions.

Code:
table.cbj_header tr.cbj_pubdate {
    /* Uncomment the next line to remove 'Published' from banner section */
    display:none;
    }
Have edited with your info, result showing

Code:
table.cbj_header tr.cbj_pubdate {
	/* Uncomment the next line to remove 'Published' from banner section */
	display:none;
	}
The unknown publisher is still showing
JayLaFunk is offline   Reply With Quote
Old 02-05-2011, 11:53 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,563
Karma: 12369681
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by JayLaFunk View Post
The unknown publisher is still showing
Your right, I just tried it and the publisher was still listed in the insert metadata page. It used to work, put in a bug report.
DoctorOhh is offline   Reply With Quote
Old 02-05-2011, 12:06 PM   #6
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Quote:
Originally Posted by dwanthny View Post
Your right, I just tried it and the publisher was still listed in the insert metadata page. It used to work, put in a bug report.
Have raised a ticket - Ticket #8780

Thanks for the help...

Jay
JayLaFunk is offline   Reply With Quote
Old 02-05-2011, 12:17 PM   #7
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 639
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD
If it's only a few books, as a workaround, open them in Sigil, and delete 'Unknown publisher'
in jacket.xhtml

OR
As publisher, in metadata, instead of leaving it blank, give it 'Published'
Then it'll at least look reasonable.
Perkin is offline   Reply With Quote
Old 02-05-2011, 12:32 PM   #8
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Quote:
Originally Posted by Perkin View Post
If it's only a few books, as a workaround, open them in Sigil, and delete 'Unknown publisher'
in jacket.xhtml

OR
As publisher, in metadata, instead of leaving it blank, give it 'Published'
Then it'll at least look reasonable.
My first thought was something like this, it's in all my books so the Sigil way would be too time consuming, I have just inserted a full stop and it looks better than the full "Unknown Publisher"
JayLaFunk is offline   Reply With Quote
Old 02-05-2011, 01:44 PM   #9
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,462
Karma: 402333
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by JayLaFunk View Post
Code:
table.cbj_header tr.cbj_pubdate {
    /* Uncomment the next line to remove 'Published' from banner section */
    display:none;
    }
The unknown publisher is still showing
This was a typo, should have been 'table.cbj_header tr.cbj_pubdata. Patch submitted.

I've submitted a patch to remove 'Unknown Publisher' in the jacket.

G
GRiker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Insert metadata (isbn) as page schuster Conversion 8 02-02-2011 03:51 PM
Insert metadata as page... paulfiera Calibre 7 12-28-2010 04:59 PM
"Insert Metadata as Start Page" Error | Ticket #7238 carlyman Calibre 2 10-20-2010 10:30 AM
Bug? "Insert metadata as page at start of book" doesnt encode Comments field properly rollercoaster Calibre 2 04-24-2010 10:40 PM
Insert metadata as page at start of book economix Calibre 2 04-17-2010 01:20 AM


All times are GMT -4. The time now is 05:43 AM.


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