|
09-28-2004, 04:04 AM | #1 |
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. |
09-28-2004, 05:23 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
It's your left sidebar HTML, using < 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. |
Thread Tools | |
|
|
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 |