PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 09-28-2004, 04:04 AM   #1
Mrsoft
Green Mole
 
Join Date: Sep 2004
Posts: 2
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.
Mrsoft is offline   Reply With Quote
Old 09-28-2004, 05:23 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
It's your left sidebar HTML, using &lt; for < and using a hard > to end the tags.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese characters and html fragments in results cranachan Troubleshooting 4 01-16-2006 12:27 PM
HTML entities in results scarydog How-to Forum 1 05-19-2005 08:28 AM
PHP and Javascript in phpdig.html template file jayhawk How-to Forum 1 06-17-2004 06:03 PM
need help: phpdig suddenly reads html-comments! manute Troubleshooting 28 01-19-2004 06:25 PM
Indexing all HTML-Comments Rolandks Bug Tracker 4 10-04-2003 07:38 AM


All times are GMT -8. The time now is 12:19 AM.


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