On Tuesday, August 28, 2007, at 12:58PM, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote: >I don't think the way the script works is reliable enough. It just >uses a regexp to find where the xmp metadata is and adds some >metadata to it. At least Adobe warns against this way. Also I don't >think it works when the file does not yet contain any XMP metadata.
It uses a perl module that manipulates PDF in order to add the XMP: http://search.cpan.org/~areibens/PDF-API2-0.63/lib/PDF/API2.pm I never looked to see whether that uses regular expressions underneath, but Alf's script doesn't use a regex AFAIK. I was able to read his metadata with Adobe's C++ libraries and with some low-level CGPDF functions, but I haven't looked into it for a long time. -- Adam ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
