On 20 May 2001 09:54:53 -0700 impersonator of [EMAIL PROTECTED] ("Manuel
Lemos") planted &I saw in php.general:
>Hello elias,
>
>On 12-May-01 04:04:26, you wrote:
>
>>Hello guys,
>
>>I need that badly! I need a suggestion, advise, solution or whatever that
>>might help!
>
>>I need a Site Search script for a page that mostly have .PHP files some are
>>dynamic and some are not.
>>Basically i was using WebGlimpse but whenever I search using it, It shows
>>the source code of the PHP files!
>>So for example if i search "echo" , WebGlimpse displays the .PHP file source
>>code!
>
Actually, as I saw in a process of testing my by link indexer, some of
your pages have com`ments tags "<?--" "-->" being dinamicaly created.
Thats interfere with your commenting of whole block of script. I doubt,
any (well, lets talk a opinions:) search engine is smart enough to process
such source, without being a script interpreters themself. (I don't use
_by the book_ definition of comments, as it it is practicaly not followed
by most, but your case wouldn't fit any definition) Well, since browsers
switch to script interpreter mode its begining, it'll not mix up here..
>>Any suggestion for a better site search program?
>
What I would suggest is to break your comments at the statements, creating
"comments", so that these statements are non-commented, and, for search
engines, allowing that (like mine:) - exclude the mentioned statements
words from indexing.
Regards, Leonid.
PS. BTW, I run through to create you full index (with a source:( Because
there were no exclusion, it(indexer) diged a lot of unnesesary work, for
relatively small indexes. (Have to enFast my algoritm:). In case you
change your mind reg. search, I 'll keep the produced files for some days.
(And it[&I] does use mySql, nor intend to [for a time being] atleast:)
Security? Are there full`y trusted maintainers?:)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]