PhpDig.net

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

Reply
 
Thread Tools
Old 07-22-2004, 06:03 PM   #1
flyingtwig
Green Mole
 
Join Date: Jul 2004
Posts: 2
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.
flyingtwig is offline   Reply With Quote
Old 07-22-2004, 08:08 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Did you try define('APPEND_TITLE_META',true); in the config file?
__________________
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 07-22-2004, 08:49 PM   #3
flyingtwig
Green Mole
 
Join Date: Jul 2004
Posts: 2
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
flyingtwig is offline   Reply With Quote
Old 08-09-2004, 08:58 AM   #4
gman
Green Mole
 
Join Date: Dec 2003
Location: Texas
Posts: 7
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?
gman 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
Need meta description in results, getting much more... monkeyone How-to Forum 4 12-20-2004 11:38 AM
Displaying Meta Description skatters How-to Forum 7 07-28-2004 05:16 PM
Meta-Tags: Description and Keywords herberth How-to Forum 1 06-13-2004 02:45 AM
Can phpDig use only the Meta Description Tag JuarezTourGuide How-to Forum 2 05-10-2004 04:54 PM
Error Displaying Results By Meta Description vinyl-junkie Bug Tracker 0 05-10-2004 04:01 PM


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


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