PhpDig.net

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

Reply
 
Thread Tools
Old 02-03-2004, 12: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, 10: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, 07: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

Thread Tools

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 04:14 AM
Exclude part of a page darrenm How-to Forum 2 06-21-2005 06:28 AM
Exclude meta tags from text snippet guillemc How-to Forum 2 05-02-2004 11:14 PM
How to exclude part of page in a PHP file mario51 How-to Forum 2 12-17-2003 11:13 PM
Exclude index page teostress How-to Forum 1 12-16-2003 08:53 AM


All times are GMT -8. The time now is 10:22 AM.


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