PhpDig.net

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

Reply
 
Thread Tools
Old 03-02-2005, 08:42 AM   #1
danwanner
Green Mole
 
Join Date: Feb 2005
Posts: 4
Adding proprietary meta tags/values to be spidered

I would be most appreciative of some help.

I wish to add a number of additional meta tags and values to be spidered. I've read through the forum threads and am still not sure exactly how to do this.

For example, if I would want to add a meta tag name="places" with the value being many, many geopraphical place names, how would I alter the code to accomplish this?

Thnking you in advance for your help.
danwanner is offline   Reply With Quote
Old 03-03-2005, 10:28 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
In robot_functions.php find:
Code:
settype($tag['keywords'],'string');
And afterwards add:
Code:
settype($tag['places'],'string');
In robot_functions find:
Code:
if ($phpdigTestDouble == 0) {
And afterwards add:
Code:
$places_metatag = phpdigCleanHtml($tags['places']);
array_push($text,$places_metatag['content']);
__________________
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
Old 03-03-2005, 12:16 PM   #3
danwanner
Green Mole
 
Join Date: Feb 2005
Posts: 4
Thank you very much for your help. You have a very fine program in PHPDig.
danwanner 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
PgpDig 1.8.3 wont index meta tags (description, leywords) darjanp Troubleshooting 0 11-14-2004 03:38 AM
Meta-Tags: Description and Keywords herberth How-to Forum 1 06-13-2004 02:45 AM
Exclude meta tags from text snippet guillemc How-to Forum 2 05-03-2004 12:14 AM
How are the Revisit-After META tags processed? sid Troubleshooting 1 11-22-2003 12:50 PM
Indexing META-Tags Rolandks Bug Tracker 7 10-25-2003 07:46 AM


All times are GMT -8. The time now is 12:25 AM.


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