PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-03-2004, 01:26 AM   #1
sbrazil
Green Mole
 
Join Date: Jan 2004
Posts: 7
Unhappy Exclude text or parts of a page from the search

In my search results it is picking up menus/navigation items and the footer navigation too.

I have tried using the <!-- phpExclude --> tag but it's not working. Do I need to respider the site for this to work?

Also am I using these tags correctly:

table to be excluded
<!-- phpdigExclude --><table width="121" border="0" cellspacing="0" cellpadding="0">

<tr>
<td valign="top"><img src="../images/arrow_nav.gif" name="arrownav" width="32" height="19" border="0" id="arrownav"></td>
<td class="content"><a href="../index.html" class="contentlinks"><font color="#990000">Home</font></a></td>
</tr>
<tr>
<td valign="top"><img src="../images/inv.gif" width="10" height="10"></td>
<td class="content"><img src="../images/inv.gif" width="10" height="10"></td>
</tr>
</table>
start content to be included
<!-- phpdigInclude -->

Do I need to start the include comment from the first entry after the BODY tag in my HTML page?

Is this the only way for the excellent phpdig to ignore parts of an HTML page, so it dosen't show up in the search description?

many thanks

simon
sbrazil is offline   Reply With Quote
Old 02-04-2004, 11:10 PM   #2
sbrazil
Green Mole
 
Join Date: Jan 2004
Posts: 7
so there isn't a solution to this...

simon
sbrazil is offline   Reply With Quote
Old 02-05-2004, 08:27 AM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The exclude/include tags need to be each on their own line. If your pages are dynamic, try using \n in the code.
__________________
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
Exclude links from indexing, keep text digger_123 How-to Forum 0 12-20-2006 05:14 AM
Exclude part of a page darrenm How-to Forum 2 06-21-2005 07:28 AM
Exclude meta tags from text snippet guillemc How-to Forum 2 05-03-2004 12:14 AM
How to exclude part of page in a PHP file mario51 How-to Forum 2 12-18-2003 12:13 AM
Exclude index page teostress How-to Forum 1 12-16-2003 09:53 AM


All times are GMT -8. The time now is 03:44 PM.


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