Webboard: Creation Date of Documents (PDF) for searching
| Newsgroups | gmane.comp.web.mnogosearch.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Alexander Barkov Email: [email protected] Message: Sorry, forgot the Mime commands in my previous post: indexer.conf configuration: # for pdftohtml Section User.Date 0 25 afterparser '<META name="date" +content="([^"]*)">' "$1" # for tika Section User.Date 0 90 afterparser '<meta name="Creation-Date" +content="(... ... .. ..:..:..) ... ([0-9]{4})"/>' "$1 $2" Mime application/pdf text/html "pdftohtml -noframes -enc UTF-8 -i -stdout $1" Mime application/msword text/html "java -jar /usr/local/mnogosearch33/bin/tika-app-0.9.jar --html $1" Reply: <http://www.mnogosearch.org/board/message.php?id=21291>