It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jun 2006
Age: 38
Posts: 5
|
Hi everyone,
I’m in a bit of a problem, and am looking for someone with exceptional PHP skills to help me out. To make a problem short, i have a php script, which indexes my site. However, when you search, it displays words from the top down, which will include the menu. I basically need someone to try and configure it so that it only indexes content between two specific tags, for example:Menus.... <spider> ...what i want indexed comes here </spider> copyright text etc. etc. Thanks David |
|
|
|
|
|
|
|
#3 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 27
Posts: 3
|
The problem may be due to some chars in contents(like <,>) , manytimes single quote and double quote conflict result in problem you are facing. Try using regular expressions (and functions like preg_replace etc.) to replace such chars (better use > insted > and < for <).
|
|
|
|
|
|
#4 (permalink) |
|
Senior Member
Join Date: Jul 2006
Age: 30
Posts: 258
|
here is a link how to use it:
preg_replace
__________________
-- iM |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|