![]() |
#1 |
Klak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
ignore <mbp:...
any chance for next version to ignore <mbp:...> tags ?
|
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,488
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Please be more specific. In what way ignore?
KevinH |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Klak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
i am working on a ebook for amazon & have to hide links on a page, so i have to hide it twice: first with <mbp:nu> for older kindles, and "text-decoration:none" for newer.
when i put mobipocket tags in sigil, i cannot longer preview pages, so option "ignore mobipocket tags" would be nice. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,686
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
If you add the following namespace declaration in Code View mode, you'll be able to use Book View mode.
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mbp="www.mobipocket.com">
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,366
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
If you mean you don't want readers to know the links are there, then the obvious question is, "why put them there?" If you mean that you simply wish to supress the underlining of linked text on older Kindle devices, then the qestion becomes simply, "why?" On those older, b&w eink devices, readers often have no other way of knowing a link exists without the underline. Either way. It's not likely that Sigil will be internally modified to overlook invalid and/or proprietary tags in its BookView/Preview. Doitsu may have the most viable workaround for you. It's either that, or write an output plugin that inserts the invalid tag immediately preceding an e!ement that has the "text-decoration: none" attr/value (or a predetermined css class name). |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Klak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
@Doitsu thanx! this works fine
![]() @DiapDealer it's just something i'm working on. |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,488
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
With Doitsu's help, I tested the mbp tag and with the forthcoming Sigil 0.8.900, these tags are no longer stripped out. Gumbo (that replaced Tidy) lets unknown tags alone. So perhaps the upcoming version will do what you want. KevinH |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MBP SMC reset | HYPE | Lounge | 0 | 02-18-2013 01:41 PM |
Firmware Update K3 FW 3.4 removes mbp on new books ? | pchrist7 | Amazon Kindle | 3 | 09-22-2012 03:37 AM |
AZW, MBP ? | carpetmojo | Conversion | 5 | 04-17-2012 01:44 AM |
.mbp info | 1611mac | Kindle Formats | 6 | 04-16-2011 05:13 PM |
Mobi mbp files | lisa.m | Calibre | 0 | 11-16-2009 03:15 PM |