PDA

View Full Version : Adding proprietary meta tags/values to be spidered


danwanner
03-02-2005, 07:42 AM
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.

Charter
03-03-2005, 09:28 AM
In robot_functions.php find:

settype($tag['keywords'],'string');

And afterwards add:

settype($tag['places'],'string');

In robot_functions find:

if ($phpdigTestDouble == 0) {

And afterwards add:

$places_metatag = phpdigCleanHtml($tags['places']);
array_push($text,$places_metatag['content']);

danwanner
03-03-2005, 11:16 AM
Thank you very much for your help. You have a very fine program in PHPDig.