07-12-2011, 04:49 AM | #1 |
-----
Posts: 114
Karma: 10
Join Date: Jun 2011
Device: Samsung SNE65
|
Removing files, cleaning up references
I recently discovered a cute bookmarklet which can provide an epub of a webpage. Now, they stick a first page file with their logo and an end page file with their disclaimer. Now, I open in Sigil the result and remove the first page, last page, logo graphic and CSS. When I check the resulting epub I am told that those files are refferenced, yet nowhere to be found (which was expected). How can I make Sigil clean up those refferences too?
|
07-12-2011, 11:52 AM | #2 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
what version of Sigil are you using?
Sigil should remove references in the content.opf and toc.ncx files automatically. |
Advert | |
|
07-12-2011, 12:30 PM | #3 |
Well trained by Cats
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
there may be a inline TOC or back link in one of your pages.
Sigil doe not always clear all references outside of the <body>...</body> ( not sure why a 'Page' is referenced outside the body though.) |
07-12-2011, 09:22 PM | #4 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
07-12-2011, 09:27 PM | #5 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Check the OPF file and see if the files are still referenced there.
|
Advert | |
|
07-13-2011, 01:38 AM | #6 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
In any event, search for it in the Book itself; search for it in the OPF, as referenced by JS Wolf. HTH, Hitch |
|
07-13-2011, 06:36 AM | #7 |
-----
Posts: 114
Karma: 10
Join Date: Jun 2011
Device: Samsung SNE65
|
I guess it's the OPF that does not get updated. I run the latest version available 0.3.4. Nothing is hidden in my case and I have no intention of removing the tags for their work. It's a matter of wasted space for my reader. Is there a way to tweak that OPF from within Sigil?
|
07-13-2011, 07:13 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You can edit the OPF file directly by using Sigil's latest beta, which is 0.4-something, or you can explode the epub and do it by hand in an html editor. HTH, Hitch |
|
07-13-2011, 10:57 AM | #9 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-14-2011, 06:46 AM | #10 |
-----
Posts: 114
Karma: 10
Join Date: Jun 2011
Device: Samsung SNE65
|
I used to go for the stable version, but these days beta usually means "as good as it getts" and the stable version is the branch where the developer doesn't want to go anymore. Old habits are hard to lose. I'm going for the new version.
|
07-14-2011, 09:17 AM | #11 | |
Well trained by Cats
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It mis-behaves... Randomly at times (not repeatable).. Go read the bug reports. Some are carry-overs from 3.4. Some have been there since 2.x Playing with Betas, can be fun... But seeing hours of your work hit the |
|
07-19-2011, 11:05 AM | #12 |
Member
Posts: 14
Karma: 10
Join Date: Nov 2010
Device: Sony PRS 650
|
If you check the epub doesn't it tell you where the references are made? If it is in the HTML files you can easily click on them to get there. If it is about the .opf then the anser was already given.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing page numbers and spaces from Mobi files | rabbischle | Conversion | 4 | 06-10-2011 03:03 AM |
Tool for locating references to constant strings in ARM ELF executable/.so files | Xaphiosis | Sony Reader Dev Corner | 3 | 04-22-2010 05:45 AM |
Unutterably Silly Why all the Lovecraft references? | Mobile Mason | Lounge | 3 | 12-03-2009 12:53 PM |
removing files from reader/problems syncing | annac | Sony Reader | 5 | 11-15-2009 07:46 AM |
Removing Deleted Files / Refresh the Library | pragmortal | Calibre | 4 | 09-23-2009 04:51 AM |