PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Adding proprietary meta tags/values to be spidered (http://www.phpdig.net/forum/showthread.php?t=1894)

danwanner 03-02-2005 07:42 AM

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.

Charter 03-03-2005 09:28 AM

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']);


danwanner 03-03-2005 11:16 AM

Thank you very much for your help. You have a very fine program in PHPDig.


All times are GMT -8. The time now is 09:54 AM.

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