PDA

View Full Version : new version, does it read meta tags?


pandha
11-17-2006, 09:22 PM
does the new version of script read meta tags? i am thinking about buying a pro version, but reading meta tags is a must. thanks

Dave Baker
11-17-2006, 11:31 PM
Hello pandha,
What do you mean "read mete tags"?

pandha
11-18-2006, 07:41 PM
... so a user doesnt have to fill in fields like title and description, but after giving an url of the page the script automatically reads. when saying meta tags i mean:

for example:
<meta name="robots" content="index, follow" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
<title>bla bla bla</title>
<meta name="description" content="this page is about bla bla" />
<meta name="keywords" content="bla, blaa, blaaaa, ble" />

for example indexu [directory script] when adding a website makes it possible. here you have a polish version of this script. if you write an url and click the button next to it, the meta tags will be copied to proper fields.

http://www.zgred.pl/add.php?cat=5894864

Dave Baker
11-19-2006, 08:42 PM
Yes pandha, you can train the script to make it (we will help you with pleasure).

For example (Maybe you will use it later):
***Open view-link.php and find code***

/** breadcrumb formation **/
$bc['viewlink']['url'] = '';
$bc['viewlink']['caption'] = $gDirLang['view_link'];
$breadcrumb = $gDirLayout->print_breadcrumb($category['id'], $bc, 1);
$gDirSmarty->assign_by_ref('breadcrumb', $breadcrumb);

***Below this code add***

$gDirSmarty->assign_by_ref('view_link', $view_link);

***Save file***
***Open templates/yourTemplate/header.tpl and find code***

<meta name="description" content="{$description}" />

***Replace with following***

<meta name="description" content="{if $view_link}{$link.description}{else}{$description}"{/if} />

***Save file***
That's all :)

pandha
11-20-2006, 08:59 AM
thanks, i tried it with a free script, but unfortunately, i see no difference. is it possible to implement the changes to your demo, so i could see how it works? i know that many people who are owners of web directories think it's a very important thing.

Sergey Ten
11-20-2006, 07:13 PM
Hello pandha,

I think, I understand what you meant. I need 3-4 of days that I will make modification.

pandha
11-21-2006, 05:40 PM
hi, to make it clear, have a look at this script:

http://www.nicecoder.com/indexu/demo/add.php?cat=508536

if you write an url and click fetch meta tags, you will see what i mean ;)