Project

General

Profile

Actions

Feature #69496

closed

Indexed Search: PDF Indexing outputs only PDF Filename

Added by Tizian Schmidlin over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2015-09-03
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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
}

Actions #1

Updated by Alexander Opitz over 8 years ago

Hi Tizian,

can you bring a patch to Gerrit? See http://wiki.typo3.org/CWT for help.

Actions #2

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Gerrit Code Review over 8 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

Actions #4

Updated by Xavier Perseguers over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF