PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 03-28-2006, 11:57 AM   #1
mokele
Green Mole
 
Join Date: Jan 2006
Posts: 4
Exlude and Include Not Working

In 1.8.9RC, can't get the PHPDIG_EXCLUDE_COMMENT and PHPDIG_INCLUDE_COMMENT to work, comments are on separate lines, it just seems not to recognize them. Any ideas?
mokele is offline   Reply With Quote
Old 04-06-2006, 12:16 AM   #2
CHEMiST
Green Mole
 
Join Date: Apr 2006
Location: Carmel, CA
Posts: 1
In your includes/config.php the variables PHPDIG_EXCLUDE_COMMENT and PHPDIG_INCLUDE_COMMENT are define by default:

Code:
define('PHPDIG_EXCLUDE_COMMENT','<!-- phpdigExclude -->');  
define('PHPDIG_INCLUDE_COMMENT','<!-- phpdigInclude -->');
Use these tags to include and exclude html content from being indexed on their own lines:

Code:
<!-- phpdigInclude -->
content I want included for index
<!-- phpdigInclude -->

<!-- phpdigExclude -->
content I want excluded from index
<!-- phpdigExclude -->
Pages that do not have these tags are indexed implicitly. If you cannot get this working with v.1.8.9RC 1 try reverting back to the v.1.8.8 stable release.
__________________
Pixus Media
CHEMiST 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
File include Iceburg Coding & Tutorials 0 12-09-2006 02:10 PM
Exlude sites from Search Surffritze Troubleshooting 4 10-05-2004 04:44 AM
include search.php OceanSurf How-to Forum 1 09-08-2004 09:58 AM
How to use PHP include to include the Google result pages? sid Coding & Tutorials 1 01-07-2004 04:53 AM
Using PHP include in templates sid How-to Forum 3 11-23-2003 06:06 AM


All times are GMT -8. The time now is 04:26 PM.


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