Discussion:
[Typo3] Indexing external files
Kraft Bernhard
2005-04-06 09:58:58 UTC
Permalink
Hallo list,


I've just installed the indexed search engine and set it up ... it worked like a charm
with normal pages.

But now I wanted it to index external files. If I upload them as normal content elements
this works quite well but I want to let files which get uploaded by a self-written extension
to get indexed.

Is there some kind of API call which I can use to index files ?


greets,
Bernhard
--
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50
Dominic Brander
2005-04-08 18:41:31 UTC
Permalink
hi bernhard
Post by Kraft Bernhard
I've just installed the indexed search engine and set it up ... it worked like a charm
with normal pages.
But now I wanted it to index external files. If I upload them as normal content elements
this works quite well but I want to let files which get uploaded by a
self-written extension
to get indexed.
the files are not indexed when they are uploaded but as soon as you hit
the FE.
if there is in the FE no link to the file direcly (<a
href="myfile.pdf">) the indexer does not "see" the file and your pdf
will not be indexed.
this happens eg. in the mit_download ext too.

another reason could be, that your ext. is set to "not cached".
Post by Kraft Bernhard
Is there some kind of API call which I can use to index files ?
I do not know - but I think the API is the indexer itself ;-)


cheers
dominic
--
________________________________________________________________________
Dominic Brander
Secretary - TYPO3 Association
http://association.typo3.org
Kraft Bernhard
2005-04-08 20:39:08 UTC
Permalink
Post by Dominic Brander
the files are not indexed when they are uploaded but as soon as you hit
the FE.
if there is in the FE no link to the file direcly (<a
href="myfile.pdf">) the indexer does not "see" the file and your pdf
will not be indexed.
this happens eg. in the mit_download ext too.
another reason could be, that your ext. is set to "not cached".
Oh. That's for sure the reason ... I do not link to the files directly because I wan't to
zip them on the fly ... but I could try direct links ...

Do you probably know how I achieve that the browser (IE) doesn't open the file in the same or
another window but pop's up a download dialog ? I know just of one way : setting HTTP Headers
Content-Type appropriate ...



greets,
Bernhard

Continue reading on narkive:
Loading...