PDA

View Full Version : excluding problem


schaapje
03-30-2004, 09:42 AM
First of all a big "Hi!" to everyone here!

I've been using phpdig for a short while now, and i have encountered a slight problem. I'm trying to exclude parts of a page for indexing (the navigation menu), because it contains the same words over and over again. Yet, if i put a <!-- phpdigExclude --> [here is my navigation code] <!-- phpdigInclude --> around it, it seems to stop indexing the rest of the page as well... I've put the tags on completely seperate lines, but that didn't help either... (running win-xp / apache 2.0 / php 4.3)

Actually, it would be perfect if phpdig would follow links in my navigation menu, but not index the link-text as a keyword. If the exclude thing works, would this also work: <a href="somewhere.html"><!-- phpdigExclude -->Link to somewhere<!-- phpdigInclude --></a> ?

Charter
03-30-2004, 09:51 AM
Hi. The comments work as in this (http://www.phpdig.net/showthread.php?threadid=383) thread. Look at the HTML source and check and see if the comments are on separate lines.