More on XMP Extraction

Dan Lyke wrote about the Perl regular expression for extracting XMP from Adobe files:

In the XML extractor, try replacing the grouping for $3, currently “(.*)”, with “(.*?)”. “*” and “+” are default greedy, so the rest of the match will match the last occurrence of that in the document. The “?” makes them non-greedy. Almost [...]

Adobe XMP Extractor

Over at w3.org, Dan Brickley wrote a web tool to extract Adobe XMP data from Adobe files such as PDFs and Photoshop files.
I asked him about the script, and he wrote that the key is a Perl regular expression applied to the document:

m/id=’W5M0MpCehiHzreSzNTczkc9d’\s*(bytes=’)*([^']*)’?\?>(.*)<\?xpacket end=’([^']*)’\?>/sg

The XMP is returned in $3.
You’ll want to experiment with this expression [...]

Benchmarking Web Apps on Apache

Chamas consulting put together a set of Web Application benchmarks on Apache, comparing the throughput and memory usage of a ‘Hello World’ application written in various frameworks (mod_perl, PHP, JSP, XSLT, custom Apache Modules).
As you’d expect, the custom Apache API modules were the top performers, but mod_perl appeared to outdo mod_php, in both throughput [...]

Misadventures in Perl

[ via Daring Fireball ] Oh, so that’s why the QuickTime installer balked…

He keeps the human genome next to Sublime’s Greatest Hits

Propaganda from my employer about Macs and the Human Genome Project. One of the researchers keeps a copy of the Human genome on his iPod. If he’s a Neil Young fan, does that me he’ll ‘rip, mix, burn’ himself a Cinnamon Girl?

The Mason Book

[ via Camworld ] O’Reilly’s published a book on HTML::Mason, which I’ve not had the opportunity to work with, but I’ve seen some extensive demos. Mason drives Salon and The Nation.

Apache 2 for Mac OS X

Looking for an Apache 2.0 to run under OS X.2? Server Logistics has packages for Apache (which install under /Library), Perl, PHP, Tomcat, and other server components.

Installing Perl 5.8 on Mac OS 10.2

Kevin (Morbus) walks you through building and installing Perl 5.8 on Mac OS 10.2.

Standalone TrackBack

[ via BoingBoing ] Mena and Ben released a stand-alone Perl implementation of Moveable Type’s Trackback that you can wire into your own weblogging tools. It’s released under the Artistic License. Yay!

XSH - XML Editing Shell

[ via XML Database JuJu ] Woah. A shell, written in Perl, for editing, piping and manipulating XML.

Callisto CMS

Callisto’s a CMS built on top of mod_perl and AxKit.

Tim O’Reilly: Inventing the Future

Tim O’Reilly gave a version of his essay on Inventing the Future as his keynote talk at the Apple WWDC this afternoon. He put a Mac spin on things (of course,) and said some things that make me proud to be a Mac Partisan: the Perl 6 internals team is using Mac OS. James Gosling’s [...]

Obfuscation is the Trade Secret of Web Services

In a comment on Edd Dumbul’s O’Reilly WebLog, Mike Champion reminds us that 95% of what SOAP does can be done in a few lines of Perl or sh.
Update: In his WebLog, Mike clarifies: “For the record, I said that 95% of what ordinary people would do with SOAP (e.g. the infamous “Hello, Stockticker” example, [...]

A non-subtle comment on Perl 6 development

Dan Lyke provides this comment on the state of Perl 6 development.

Spammers exploiting GET hole in formmail.pl

Spammers are using a hole in the popular formmail.pl CGI-bin script to send spam. The script’s authors list several changes you can make to secure your installation. They may be completely devoid of morals, but they are clever. At least this clears up the mystery of the format of the spam I’ve gotten lately.