Upgraded for omeka 2.0 based on PDF Text Plugin