[ 
https://issues.apache.org/jira/browse/TIKA-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148026#comment-13148026
 ] 

Ray Gauss II commented on TIKA-774:
-----------------------------------

Indeed a tighter integration of the Property definitions would be ideal, but 
there could be the potential for namespace collisions for tika metadata 
constants that aren't prefixed so having the prefixed Properties in ExifTool 
allows users to explicitly fetch the field they need and optionally map those 
to existing fields like DublinCore via the ExiftoolTikaMapper.  As a noob to 
the project and with so many new properties I thought a separate interface 
might be the best approach but I'm happy to move them elsewhere.

I also agree that the ExiftoolMetadataExtractor could be called instead of or 
in addition to the existing ImageMetadataExtractor and JempboxExtractor under 
TiffParser and/or JpegParser since the absence of ExifTool in the environment 
should just fail silently, but again, as a noob, I didn't want to bust through 
the door with sweeping changes right off the bat.
                
> ExifTool Parser
> ---------------
>
>                 Key: TIKA-774
>                 URL: https://issues.apache.org/jira/browse/TIKA-774
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>    Affects Versions: 1.0
>         Environment: Requires be installed 
> (http://www.sno.phy.queensu.ca/~phil/exiftool/)
>            Reporter: Ray Gauss II
>              Labels: features, newbie, patch,
>             Fix For: 1.1
>
>         Attachments: testJPEG_IPTC_EXT.jpg, 
> tika-core-exiftool-parser-patch.txt, tika-parsers-exiftool-parser-patch.txt
>
>
> Adds an external parser that calls ExifTool to extract extended metadata 
> fields from images and other content types.
> In the core project:
> An ExifTool interface is added which contains Property objects that define 
> the metadata fields available.
> An additional Property constructor for internalTextBag type.
> In the parsers project:
> An ExiftoolMetadataExtractor is added which does the work of calling ExifTool 
> on the command line and mapping the response to tika metadata fields.  This 
> extractor could be called instead of or in addition to the existing 
> ImageMetadataExtractor and JempboxExtractor under TiffParser and/or 
> JpegParser but those have not been changed at this time.
> An ExiftoolParser is added which calls only the ExiftoolMetadataExtractor.
> An ExiftoolTikaMapper is added which is responsible for mapping the ExifTool 
> metadata fields to existing tika and Drew Noakes metadata fields if enabled.
> An ElementRdfBagMetadataHandler is added for extracting multi-valued RDF Bag 
> implementations in XML files.
> An ExifToolParserTest is added which tests several expected XMP and IPTC 
> metadata values in testJPEG_IPTC_EXT.jpg.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to