PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Description meta tag field in results (http://www.phpdig.net/forum/showthread.php?t=1115)

flyingtwig 07-22-2004 05:03 PM

Description meta tag field in results
 
Hi.

I am trying to get phpdig up and running, but am having a little problem with returning the description field in the results as i would like it to.

config file setup is as follows
PHP Code:

define('DISPLAY_SNIPPETS',false);
define('DISPLAY_SUMMARY',true); 

But then on the search results page where i have the
PHP Code:

<phpdig:text/> 

code I get some unexpected results.

I was assuming that I would see the actual meta tag description field from the pages I had indexed yet I appear to be getting a reordered and UPPERCASE/lowercase combination of the meta tag keywords field from the page.

Eg: meta tags are
PHP Code:

<META name="description" content="This is description field">
<
meta name="keywords" content="about, friends, family"

and when i do a search my phpdig:text returns
"FRIENDS FAMILY About"
where i would like it to return
"This is description field"

Many thanks for your help.

Charter 07-22-2004 07:08 PM

Hi. Did you try define('APPEND_TITLE_META',true); in the config file?

flyingtwig 07-22-2004 07:49 PM

Hi Charter,

I have made that changed and it worked perfectly. I looked through and through the config file but didn't notice that for some reason.

Thanks heaps and it's a really fantastic tool, great work.

. Flyingtwig

gman 08-09-2004 07:58 AM

After making the change in the config file do you have to reindex the site for the meta descriptions to display on the search results?


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

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