Problems with html coments <!-- -->
When I index pages with html coments like
<!-- #begintemplate="algo" -->
the spider replace it with
< begintemplate algo >
and this is a problem because I have coments with paths to conexion entries for my DataBases
The regular expressions in robot functions that match with that kind of sentences is as it appears:
//f..k <!SOMETHING tags !!
$text = eregi_replace('(<)!([^-])','\1\2',$text);
Sorry for my english, thanks for suggestions.
BYE
<!-- #begintemplate="algo" -->
|