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

Michael Stucki michael at typo3.org
Mon Feb 13 23:04:58 CET 2006


And still waiting... Come on, it's not such a big change!

- michael

Michael Stucki wrote:

> Still waiting for approval...
> The patch is attached again.
> 
> - michael
> 
> Michael Stucki wrote:
> 
>> 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
> 

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- 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/20060213/1e4d9caf/attachment.bin 


More information about the TYPO3-team-core mailing list