View Single Post
Old 11-02-2016, 12:46 PM   #66
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,930
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,

Yes our own (Mobileread) Wiki for xpgt has the following:

Code:
application/adobe-page-template+xml
as the media-type. But other links seems to use:

Code:
application/vnd.adobe-page-template+xml
The official registrar of media-types http://www.iana.org/assignments/medi...ia-types.xhtml does NOT list it in either form so there is no official media-type (as of October 5th of this year).

So we should probably support both.

KevinH

Quote:
Originally Posted by DiapDealer View Post
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
If the vnd prefix is common, we'll probably have to add it as well.
KevinH is offline   Reply With Quote