Feature #69496
closedIndexed Search: PDF Indexing outputs only PDF Filename
100%
Description
There used to be a feature in indexed search where while indexing the document title would be added to a pdf if there was any, this feature now seems to have vanished completely.
The feature can be implemented in 3 lines so I think it would be a shame to not use it (also since it is used in other file types this completely makes sense):
File: indexed_search/Class/FileContentParser.php:477ff
... if(strlen($pdfInfo['title'])) { $contentArr['title'] = $pdfInfo['title']; } else { // I consider this part rather optional, so maybe you can leave this out $contentArr['title'] = explode(chr(10), $contentArr['body'])[0]; // get the first line as document title }
Updated by Alexander Opitz about 9 years ago
Hi Tizian,
can you bring a patch to Gerrit? See http://wiki.typo3.org/CWT for help.
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43200
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43200
Updated by Xavier Perseguers about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5d9cbae762c2bc79d0fa6abceb0858d4e3ec2867.