Thursday 15 August 2013

Is there a defined method for storing Adobe XMP in HTML? -


Adobe Standard methods for storing XMP metadata inside many file formats including PMD, TIFF, JPEG, GIF, SWF Have defined. , MP3, MP4, etc. However, I do not find any documentation defining standardized method for storing XMR in HTML.

Note I look into XMP but I have found it In Adobe's specification, perhaps it helps:

All cited (page 41ff):

2.5.1 HTML

embed code in XMP must be in line with one of the W3C recommendations to embed html in XML For reference information, see the Meeting Report for the May 1990 W3C meeting:

L a SCRIPT or XML can be embedded in element, placed in any legal base; The suggested location is the end of the HEAD element SCRIPT or XML element of the element is XMP packet. The browser should recognize the SCRIPT or XML element so that the text representing the value of the RDF properties can not be displayed as a page content. Unlike the use of the xml element, unless the incompatibilities with the old software are known; If so, then the SCRIPT element is likely to be recognized.

2.5.1.1 Embedding XML in HTML

as shown in the examples below There are three approaches for embedding HTML in the XML two using the SCRIPT element, and the third XML element Uses

2.5.1.1.1 SCRIPT element and LANGUAGE attribute

  & lt; Html & gt; & Lt; Top & gt; & Lt; SCRIPT LANGUAGE = "XML" & gt; & Lt ;? Xpacket start = '' id = 'W5M0MpCehiHzreSzNTczkc9d'? & Gt; & Lt ;! - Serial RDF goes here. This is removed for brevity - & gt; & Lt ;? Xpacket end = 'w'? & Gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

Note : Adobe has problems with using the SCRIPT element and LANGUAGE attribute in Microsoft Word 2000 Microsoft has been running under Windows XP: body contents can not be displayed

2.5.1.1.2 SCRIPT element and TYPE attribute

  & lt; Html & gt; & Lt; Top & gt; & Lt; SCRIPT TYPE = "text / xml" & gt; & Lt ;? Xpacket start = '' id = 'W5M0MpCehiHzreSzNTczkc9d'? & Gt; & Lt ;! - Serial RDF goes here. This is removed for brevity - & gt; & Lt ;? Xpacket end = 'w'? & Gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

2.5.1.1.3 XML element usage

  & lt; Html & gt; & Lt; Top & gt; & Lt; Xml & gt; & Lt ;? Xpacket start = '' id = 'W5M0MpCehiHzreSzNTczkc9d'? & Gt; & Lt ;! - Serial RDF goes here. This is removed for brevity - & gt; & Lt ;? Xpacket end = 'w'? & Gt; & Lt; / XML & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

No comments:

Post a Comment