PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Phpdig indexing including HTML in results (http://www.phpdig.net/forum/showthread.php?t=1382)

Mrsoft 09-28-2004 03:04 AM

Phpdig indexing including HTML in results
 
If you look at the site http://www.fact.co.uk/phpdig/search.php, and search, you will see HTML sometimes gets included in the page results.

The only thing I can think of is that in some of the pages I have been required to use JavaScript with escape characters so the site validates in XHTML.

The actual stripping of tags doesn't change the results, I think it is in the reading of the file, as I have echoed out the contents of the $content_file variable and it "breaks" at certain points.

The script works great aside from this and I would be very grateful for any advice.

Charter 09-28-2004 04:23 AM

It's your left sidebar HTML, using &lt; for < and using a hard > to end the tags.


All times are GMT -8. The time now is 07:12 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.