![]() |
Indexing all HTML-Comments PHP > 4.3.2
Win 2003 and IIS 6 don't like PhpDig :D
If you are indexing a Win 2003 IIS 6 Site and PhpDig runs at Win 2003 Server he is indexing ALL HTML-Comments: Code:
<!--LayoutTable--> If you are indexing the same Win 2003 IIS 6 Site and PhpDig runs at Linux or Win 2000 Server he is NOT indexing HTML-Comments !! :mad: :confused: Any Ideas - where is the php-code which exclude HTML-Comments - hhm, i don't found it .... -Roland- Ps.: This fix is included: http://www.phpdig.net/showthread.php?s=&threadid=67 |
Re: Again Win 2003: indexing all HTML-Comments
Quote:
In the Text-content files TXT all < HTML-Comments are > are < > Example : 14.txt: Code:
< Navigations-Table end > And here is the Real text robot_functions.php Line 156 Code:
//f..k <!SOMETHING tags !! Thanks -Roland- |
Re: Re: Again Win 2003: indexing all HTML-Comments
Quote:
The following Line "kills" the Comments, but NOT with PHP 4.3.2 at Win 2003: :confused: Code:
//replace any group of blank characters by an unique space -Roland- |
PHP Bug #25730 : ereg_replace or strip_tags unexpected result:
Quote:
$text = ereg_replace("[[:blank:]]+"," ",strip_tags($text)); Can anyone change this to SGML-Conform :confused: - it must fix for the future because never works with PHP > 4.3.2 !! Thanks -Roland- PS.: I Change Headlline of this Thread: its ALL OS ! |
The following must work as possible solution:
Change this in robot_functions.php Line 160: Code:
//replace any group of blank characters by an unique space Code:
//replace any group of blank characters by |
All times are GMT -8. The time now is 09:01 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.