#1111: Bootstrapped the Exif tag-lists.

This commit is contained in:
Andreas Huggel 2015-08-28 11:30:35 +00:00
parent 82b26001be
commit d258dc1cf7
13 changed files with 183 additions and 180 deletions

View File

@ -179,7 +179,8 @@ update-makernotes:
@cp -f ../doc/templates/__makernotes__ var/__makernotes__
$(TABLES):
@cp -f ../doc/templates/__$@__ var/__$@__
@cp -f ../doc/templates/$@.xml var/
@xsltproc var/exif.xsl var/$@.xml > var/__$@__
Iptc:
@cp -f ../doc/templates/$@.xml var/

View File

@ -1,59 +1,52 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Canon MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Canon MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Canon cameras. These tags are defined by Exiv2 in accordance with <a href="makernote.html#R2">[2]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Canon__
<br>
<h3>Canon Camera Settings Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonCs__
<br>
<h3>Canon Shot Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonSi__
<br>
<h3>Canon Panorama Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonPa__
<br>
<h3>Canon Custom Function Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonCf__
<br>
<h3>Canon Picture Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonPi__
<br>
<h3>Canon File Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__CanonFi__
<br>
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,22 +1,21 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Fujifilm MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Fujifilm MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Fujifilm cameras. These tags are defined by Exiv2 in accordance with <a href="makernote.html#R1">[1]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Fujifilm__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,41 +1,37 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Minolta MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Minolta MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Minolta cameras.
These Exiv2 tags are based on <a href="makernote.html#R5">[5]</a>,
<a href="makernote.html#R9">[9]</a> and <a href="makernote.html#R10">[10]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Minolta__
<br>
<h3>Minolta Camera Settings (tags from older and newer cameras)</h3>
<p>Click on a column header to sort the table.</p>
__MinoltaCsNew__
<br>
<h3>Minolta 5D Camera Settings</h3>
<p>Click on a column header to sort the table.</p>
__MinoltaCs5D__
<br>
<h3>Minolta 7D Camera Settings</h3>
<p>Click on a column header to sort the table.</p>
__MinoltaCs7D__
<br>
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,198 +1,169 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<p>There are three different Nikon MakerNote formats. Exiv2 will automatically detect the correct format for the Exif data from a particular Nikon camera model.</p>
<h2>Nikon (format 1) MakerNote Tags defined in Exiv2</h2>
<div><h2>Nikon (format 1) MakerNote Tags</h2>
<p>Tags found in the MakerNote of images taken with Nikon cameras, such as the E990 and D1. These tags are defined by Exiv2 in accordance with <a href="makernote.html#R3">[3]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Nikon1__
<br>
<h2>Nikon (format 2) MakerNote Tags defined in Exiv2</h2>
<h2>Nikon (format 2) MakerNote Tags</h2>
<p>Tags found in the MakerNote of images taken with Nikon cameras, including the E700, E800, E900, E900S, E910, E950. These tags are defined by Exiv2 in accordance with <a href="makernote.html#R1">[1]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Nikon2__
<br>
<h2>Nikon (format 3) MakerNote Tags defined in Exiv2</h2>
<h2>Nikon (format 3) MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with newer Nikon cameras, e.g., the E5400, SQ, D2H, D70.</p>
<p>Click on a column header to sort the table.</p>
__Nikon3__
<br>
<h3>Nikon Vibration Reduction Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonVr__
<br>
<h3>Nikon Picture Control Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonPc__
<br>
<h3>Nikon World Time Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonWt__
<br>
<h3>Nikon ISO Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonIi__
<br>
<h3>Nikon Auto Focus Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonAf__
<br>
<h3>Nikon Auto Focus 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonAf2__
<br>
<h3>Nikon AF Fine Tune Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonAFT__
<br>
<h3>Nikon File Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonFi__
<br>
<h3>Nikon Multi Exposure Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonMe__
<br>
<h3>Nikon Flash Info 1 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonFl1__
<br>
<h3>Nikon Flash Info 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonFl2__
<br>
<h3>Nikon Flash Info 3 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonFl3__
<br>
<h3>Nikon Shot Info D80 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonSiD80__
<br>
<h3>Nikon Shot Info D40 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonSiD40__
<br>
<h3>Nikon Shot Info D300a Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonSiD300a__
<br>
<h3>Nikon Shot Info D300b Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonSiD300b__
<br>
<h3>Nikon Shot Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonSi01xx__
<br>
<h3>Nikon Color Balance 1 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb1__
<br>
<h3>Nikon Color Balance 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb2__
<br>
<h3>Nikon Color Balance 2a Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb2a__
<br>
<h3>Nikon Color Balance 2b Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb2b__
<br>
<h3>Nikon Color Balance 3 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb3__
<br>
<h3>Nikon Color Balance 4 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonCb4__
<br>
<h3>Nikon Lens Data 1 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonLd1__
<br>
<h3>Nikon Lens Data 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonLd2__
<br>
<h3>Nikon Lens Data 3 Tags</h3>
<p>Click on a column header to sort the table.</p>
__NikonLd3__
<br>
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,72 +1,63 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Olympus MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Olympus MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Olympus cameras. References: <a href="makernote.html#R1">[1]</a>, <a href="makernote.html#R9">[9]</a>, and <a href="makernote.html#R10">[10]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Olympus__
<br>
<h3>Olympus Camera Settings Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusCs__
<br>
<h3>Olympus Equipment Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusEq__
<br>
<h3>Olympus Raw Development Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusRd__
<br>
<h3>Olympus Raw Development 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusRd2__
<br>
<h3>Olympus Image Processing Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusIp__
<br>
<h3>Olympus Focus Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusFi__
<br>
<h3>Olympus FE Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusFe1__
<br>
<h3>Olympus Raw Info Tags</h3>
<p>Click on a column header to sort the table.</p>
__OlympusRi__
<br>
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,24 +1,23 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Panasonic MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Panasonic MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Panasonic cameras. References:
<a href="makernote.html#R8">[8]</a>, <a href="makernote.html#R9">[9]</a>, and <a href="makernote.html#R10">[10]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Panasonic__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,25 +1,24 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Pentax MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Pentax MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Pentax cameras.
The same tags are found in Pentax native DNG makernotes with group <i>PentaxDng</i>.
The same tags are found in Pentax native DNG makernotes with group <code>PentaxDng</code>.
Reference: <a href="makernote.html#R10">[10]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Pentax__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,22 +1,21 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Samsung MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Samsung MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Samsung cameras.</p>
<p>Click on a column header to sort the table.</p>
__Samsung2__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,22 +1,21 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Sigma/Foveon MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Sigma/Foveon MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Sigma/Foveon cameras. These tags are defined by Exiv2 in accordance with <a href="makernote.html#R7">[7]</a>.</p>
<p>Click on a column header to sort the table.</p>
__Sigma__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,65 +1,58 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Sony MakerNote Tags defined in Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Sony MakerNote Tags</h2></div>
<p>Tags found in the MakerNote of images taken with Sony cameras.</p>
<p>Click on a column header to sort the table.</p>
__Sony1__
<br>
<h3>Sony Minolta Tags</h3>
<p>These are the same tags as found in the Minolta MakerNote.
In Sony images the group name is <b><code>SonyMinolta</code></b>.</p>
<p>Click on a column header to sort the table.</p>
In Sony images the group name is <code>SonyMinolta</code>.</p>
__SonyMinolta__
<br>
<h3>Sony Camera Settings Tags</h3>
<p>Click on a column header to sort the table.</p>
__Sony1Cs__
<br>
<h3>Sony Camera Settings 2 Tags</h3>
<p>Click on a column header to sort the table.</p>
__Sony1Cs2__
<br>
<h3>Sony Minolta Camera Settings Tags</h3>
<p>These are the same tags as the Minolta Camera Settings in the Minolta MakerNote.
In Sony images the group name is <b><code>Sony1MltCsOld</code></b> or <b><code>Sony1MltCsNew</code></b>.</p>
<p>Click on a column header to sort the table.</p>
In Sony images the group name is <code>Sony1MltCsOld</code> or <code>Sony1MltCsNew</code>.</p>
__Sony1MltCsOld__
<br>
<h3>Sony Minolta Camera Settings 7D Tags</h3>
<p>These are the same tags as the Minolta 7D Camera Settings in the Minolta MakerNote.
In Sony images the group name is <b><code>Sony1MltCs7D</code></b>.</p>
<p>Click on a column header to sort the table.</p>
In Sony images the group name is <code>Sony1MltCs7D</code>.</p>
__Sony1MltCs7D__
<br>
<h3>Sony Minolta Camera Settings A100 Tags</h3>
<p>Click on a column header to sort the table.</p>
__Sony1MltCsA100__
<br>
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

View File

@ -1,23 +1,22 @@
__doctype__
<html>
__header2__
<html lang="en">
__header4__
<body>
__sidebar2__
__navbar__
<div id="content">
__maintitle__
<h2>Exif Tags supported by Exiv2</h2>
<div class="container">
<div class="page-header">
<h1>Metadata reference tables</h1>
</div>
<div><h2>Standard Exif Tags</h2></div>
<p>These are the Exif tags as defined in the <a title="The Exif 2.3 standard (PDF)" href="http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf">Exif 2.3 standard</a>.</p>
<p>IFD1 tags are not listed seperately. All IFD0 tags may also be present in IFD1, according to the standard. The second part of the Exiv2 key of an IFD1 tag is <i>Thumbnail</i> (instead of <i>Image</i>), the other two parts of the key are the same as for IFD0 tags.</p>
<p>Click on a column header to sort the table.</p>
<p>IFD1 tags are not listed seperately. All IFD0 tags may also be present in IFD1, according to the standard. The second part of the Exiv2 key of an IFD1 tag is <code>Thumbnail</code> (instead of <code>Image</code>), the other two parts of the key are the same as for IFD0 tags.</p>
__Exif__
__footer__
</div>
<!-- closes content -->
__tracker__
</div><!-- /.container -->
__bootstrap__
</body>
</html>

64
website/var/exif.xsl Normal file
View File

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="iso-8859-1" ?> <!--*- sgml -*-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" />
<!-- *********************************************************************** -->
<xsl:template match="TAGLIST">
<!-- content generated from XML -->
<xsl:call-template name="table" />
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template match="HEADER/text">
<xsl:copy-of select="text()|*" />
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template name="header">
<h2><xsl:value-of select="HEADER/title" /></h2>
<xsl:apply-templates select="HEADER/text" />
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template name="table">
<table class="table table-striped">
<thead>
<xsl:call-template name="header-row" />
</thead>
<tbody>
<xsl:apply-templates select="ROWSET/ROW" />
</tbody>
</table>
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template name="header-row">
<tr>
<th>Tag (hex)</th>
<th>Tag (dec)</th>
<th>IFD</th>
<th>Key</th>
<th>Type</th>
<th>Tag description</th>
</tr>
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template match="ROWSET/ROW">
<xsl:call-template name="data-row" />
</xsl:template>
<!-- *********************************************************************** -->
<xsl:template name="data-row">
<tr>
<td><xsl:value-of select="taghex" /></td>
<td><xsl:value-of select="tagdec" /></td>
<td><xsl:value-of select="ifd" /></td>
<td><xsl:value-of select="key" /></td>
<td><xsl:value-of select="type" /></td>
<td><xsl:value-of select="tagdesc" /></td>
</tr>
</xsl:template>
<!-- *********************************************************************** -->
</xsl:stylesheet>