[TYPO3-core] RFC: Index local files when a download script is used

Michael Stucki michael at typo3.org
Wed Feb 15 11:19:08 CET 2006


Hi Kasper,

> I don't understand the question.

Sorry, let me try to explain:

I have an extension prints a directory listing of a non-public file archive. 
Played for a long time to try have it indexed the private files but point to 
the download script (which is needed in such a case).

The solution was to add this array:

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']
['ext/indexed_search/class.indexer.php']['indexLocalFiles']

which can contain md5sums of a download URL as the key plus the local path of 
this file as the value.

The change works great and my directory listing will now store the HREF of the 
download script, having the contents of the real file indexed.


Hope this was clear. Does this feature need to be documented somewhere?

Regards, michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060215/52c87833/attachment.pgp 


More information about the TYPO3-team-core mailing list