![]() |
#61 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 860
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
New Issue
I've installed 0.9.7 after removing 0.9.6 on my netbook (Windows 7 Starter SP1) and my PC (Windows 10 64-bit 1511) and I got the following error message when I opened an epub to edit the formatting (font size, margins etc).
'Unsupported XML media-type: application/vnd.adobe-page-template+xml' I've never seen this error before in any previous version of Sigil I've used. Below is the HTML code at the beginning of each file. I've only removed the name of the book from the <title> tag. The book, published earlier this year, is Epub2 and has had its DRM stripped and it hasn't been anywhere near Calibre. Both the Well-Formed Check Epub or FlightCrew reported No Problems when I ran them. Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> <link href="../Styles/ebook_style.css" rel="stylesheet" type="text/css"/> <link href="../Misc/page-template.xpgt" rel="stylesheet" type="application/vnd.adobe-page-template+xml"/> <meta content="urn:uuid:de119b4b-b9c3-4241-b43e-f73df2d83856" name="Adept.expected.resource"/> </head> |
![]() |
![]() |
![]() |
#62 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm admittedly a bit out of my element, here, but I'm not sure that the "vnd." part of the media-type is standard for link tags with xpgt files. But if EpubCheck isn't complaining, I may be all wet. I'll let Kevin chime in.
When I get home, though, I'll check if the same exact code triggers the error in 0.9.6. |
![]() |
![]() |
![]() |
#63 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,702
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
@MickiTee:
Quote:
@DiapDealer: Quote:
Earlier epubcheck versions used to flag epubs with xpgt files as a problem, but this was relaxed in later versions. Last edited by Doitsu; 11-02-2016 at 11:28 AM. |
||
![]() |
![]() |
![]() |
#64 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#65 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It looks to me that the new Sigil code that recognizes text_types (which allows the editing of page-maps, xpgts, and other xml files) is only looking for:
Code:
application/adobe-page-template+xml |
![]() |
![]() |
![]() |
#66 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,600
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Yes our own (Mobileread) Wiki for xpgt has the following: Code:
application/adobe-page-template+xml Code:
application/vnd.adobe-page-template+xml So we should probably support both. KevinH Quote:
|
|
![]() |
![]() |
![]() |
#67 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,702
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#68 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,600
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Agreed ...
But one that has not been properly registered and therefore is unofficial at best. Adobe did register a number of other vnd.adobe* media-types just not this one. KevinH |
![]() |
![]() |
![]() |
#69 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 860
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
Thanks for the prompt reponses and clear explanation of this.
|
![]() |
![]() |
![]() |
#70 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 518
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
|
![]() |
![]() |
![]() |
#71 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#72 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If launching Sigil via a stranded, and thus undeveloped, third-party plugin for another application were that important to me, I'd personally roll back to 0.9.5. It doesn't have the css centering bug to contend with. 0.9.4 was pretty solid, too. Everyone has their personal favorites. We'll miss you at the 0.9.7 table, though.
Thanks! I knew there had to be any easier way, but I kept trying to find it via the library context-menu. Right-clicking on the format you want to open makes sense, though. Same amount of clicks; just have to remember where to start. Last edited by DiapDealer; 11-04-2016 at 08:12 AM. |
![]() |
![]() |
![]() |
#73 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2011
Device: Sony T1
|
Quote:
|
|
![]() |
![]() |
![]() |
#74 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 59154
Join Date: May 2010
Location: Stuttgart, Germany
Device: Kobo H2O, PocketBook Touch HD, Tolino Vision 4
|
Quote:
But first you have to use the right-click-method at least once (see post #71). If you use the open-with-plugin - be aware, that there are two open-with-methods waiting for a shortcut: 1. Open with - is targeting the plugin 2. Open With (with capital W) - is where you want to define your shortcut. |
|
![]() |
![]() |
![]() |
#75 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 518
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
Quote:
It's also not as easy to edit different formats...you have to explicitly pick the format first, while the "Open with" plugin limits choices to only the formats that exist. And, although you can right click on the cover and do "Open With", that is again in a different location than the formats...it's a lot of mouse moves, and the plugin doesn't require nearly as much. The last bonus for the plugin is that I don't have to clutter up my Windows "Open With" list on eBook formats so that Calibre can see them. 90% of my use case for Sigil is for EPUB container maintenance (file renaming, file splitting/merging, TOC editing, etc.) and the rest is for the "Delete unused" features, so the CSS editing bug only hits me once every few months. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.1 Released | user_none | Sigil | 33 | 10-16-2014 05:04 PM |
Sigil 0.8.0 Released | user_none | Sigil | 126 | 10-11-2014 07:52 PM |
Sigil 0.7.4 Released | user_none | Sigil | 47 | 01-05-2014 02:31 PM |
Sigil 0.4.2 Released | user_none | Sigil | 41 | 10-26-2011 06:03 AM |