[TYPO3-core] RFC: Index local files when a download script is used
Michael Stucki
michael at typo3.org
Fri Jan 27 10:09:10 CET 2006
This is a CVS patch request.
Problem:
I want to be able to use a download script but the target files should still
be indexed. indexed_search is basically ready for this but there is no way to
use this feature.
Solution:
Add a global array that holds the shortMD5-sum of a URL as key and the local
path of the file as its value. Indexed search will find it and index that
file instead of the original URL.
Result:
When searching for that file, it will be listed by indexed search, but the URL
still refers to the download script.
Comments:
I am not sure if this has to be documented anywhere...(?)
Regards, michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index_localFiles.diff
Type: text/x-diff
Size: 2380 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060127/dc58f131/attachment.bin
-------------- 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/20060127/dc58f131/attachment.pgp
More information about the TYPO3-team-core
mailing list