Logan Bell > SWISH-Filters-ImageToMD5Xml > SWISH::Filters::ImageToMD5Xml

Download:
SWISH-Filters-ImageToMD5Xml-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

SWISH::Filters::ImageToMD5Xml - Adds MD5 information when filtering an image for SWISHE.

VERSION ^

Version 0.04

SYNOPSIS ^

A SWISH::Filter that takes an incoming image XML and applies a MD5 checksum against the binary content of the image.

The XML structure this filter expects includes an b64_data element containing the Base64 string representing the image. If that element (tag) is not found, no filter is applied.

METHODS ^

new ( $class )

Constructor.

filter( $self, $doc )

Generates XML meta data for indexing. If $doc contains the b64_data element (tag) then a MD5 checksum string will be added to the XML and returned with a new root element image_data.

AUTHOR ^

Logan Bell, <loganbell at gmail.com>

BUGS ^

Please report any bugs or feature requests to bug-swish-filters-imagetomd5xml at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SWISH-Filters-ImageToMD5Xml. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc SWISH::Filters::ImageToMD5Xml

You can also look for information at:

ACKNOWLEDGEMENTS ^

LICENSE AND COPYRIGHT ^

Copyright 2011 Logan Bell.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: