[TYPO3-core] RFC: Index local files when a download script is used
René Fritz
rene at typo3.org
Tue Feb 14 10:51:27 CET 2006
I cannot see where this var is set but I suggest not to use
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']
['ext/indexed_search/class.indexer.php']['indexLocalFiles'])) {
but
$GLOBALS['T3_VAR']['ext']['indexed_search']['indexLocalFiles']
to have conf_vars clean with conf vars
for the rest
+1
René
> 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
--
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
More information about the TYPO3-team-core
mailing list