Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2015, 12:55 AM   #1
u238110
Connoisseur
u238110 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Feb 2014
Location: Long Island, NY
Device: Aura, N514KUBKKEP, 4.7.10.413
best way to make EPUBs out of books that were turned into web pages

These books have a hyperlinked table of contents, sometimes in the form of a frame off to the side; each chapter has its own separate web page. The issue is that sometimes they're formatted in special ways and I desire to remove such specialties. These specialties include elements such as centered and colored text. One thing I've done is simply copying and pasting the text into BlueGriffon HTML editor using the Paste without Formatting option, however the problem is that this also removes bolding and italicization. I've also tried to simply import the HTML files into Calibre editor, however the resulting book — although it appeared fine in Calibre — did not work.
u238110 is offline   Reply With Quote
Old 02-23-2015, 01:43 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
If you look in the head section of the html do you see a style section? If so you can easily remove styling from your HTML by removing the entries you don't want. Otherwise you would need to edit the individual entries. You could pull the whole document into Sigil and use some search and replace techniques.

Dale
DaleDe is offline   Reply With Quote
Advert
Old 03-28-2015, 12:17 AM   #3
u238110
Connoisseur
u238110 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Feb 2014
Location: Long Island, NY
Device: Aura, N514KUBKKEP, 4.7.10.413
I have no experience using HTML and I find the process of stripping away any unnecessary items to be very confusing. Do you think it's possible to learn to do it in a night? Are there any books or video tutorials anyone can recommend?
u238110 is offline   Reply With Quote
Old 03-28-2015, 04:44 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
If you to want to do some higher level work, you will need to learn at least the basics of HTML/CSS. It will help you a lot in almost all stages. I would recommend at least to go through the tutorial on the wiki of Mobileread. That should give you some starting ground.

There is no tool for this, it will be manual labor. But, with some cleaver (RegEx) S&R you will speed up the process big time.
Toxaris is offline   Reply With Quote
Old 03-30-2015, 12:03 PM   #5
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
To add to what DaleDe said, there is a difference between style sheets (css) and in-line styles. If you are faced with the latter, as you seem to suggest (there being no need to fuss with the styles if you're simply replacing a style sheet), then it's basically a matter of using the Find/Replace function in Sigil to get rid of a long, involved paragraph style and to replace it with a simple <p> which will default to your basic paragraph style. Here is mine:

p {
margin-top:0.0em;
margin-bottom:0.0em;
text-indent:1.5em;
text-align:justify;
}

Which is to say: a simple, justified paragraph with a modestly indented first line and no extra space between paragraphs. You can see (and borrow, if you like) my style sheet at http://notjohnkdp.blogspot.com/
Notjohn is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any site that can shrink/split web pages for kindle's "basic web"? thanks kocoman Amazon Kindle 1 03-22-2013 06:01 PM
Problem reading epubs, pages keep jumping b5delenn Calibre 2 07-21-2012 09:59 AM
Removing pages from epubs paulfiera Calibre 2 07-04-2011 08:59 AM
Kobo - pages out of sequence in ePubs mamon77 Kobo Reader 0 06-06-2011 08:32 PM
ePubs erstellen mit Pages beam Apple 11 11-28-2010 03:26 AM


All times are GMT -4. The time now is 03:48 PM.


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