PhpDig.net

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

Reply
 
Thread Tools
Old 07-27-2004, 05:48 AM   #1
skatters
Green Mole
 
Join Date: Apr 2004
Posts: 5
Displaying Meta Description

Hi All,

I followed the directions in another post about how to turn on using the meta description in search results vs. a text snippet. by changing the following:

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

Although after making this change and recrawling the site the text that shows up under the search result is not the meta description, but the title or the first line of the rendered page.

Anyone encountered this before and if so how did you fix it?

Thanks in advance.

Jay
skatters is offline   Reply With Quote
Old 07-27-2004, 06:03 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
I've never had that happen. Can you post the link to your search page, and a link to a page where this is happening?
vinyl-junkie is offline   Reply With Quote
Old 07-27-2004, 06:17 AM   #3
skatters
Green Mole
 
Join Date: Apr 2004
Posts: 5
http://beta.absorbentprinting.com/search/search.php

and search for coasters, for an example.
skatters is offline   Reply With Quote
Old 07-27-2004, 06:39 AM   #4
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
This is just a wild guess, but start your <title></title> line at the left margin underneath the <head> line. If that doesn't do anything for you, try putting a blank line in between the <title></title> line and your meta description. You won't have to re-index or anything to see if this works.
vinyl-junkie is offline   Reply With Quote
Old 07-27-2004, 10:35 AM   #5
skatters
Green Mole
 
Join Date: Apr 2004
Posts: 5
Tried that and it didn't work, plus I'm getting all those empty results that show just -- and a relevance.

Any ideas on those?

Jay
skatters is offline   Reply With Quote
Old 07-27-2004, 12:03 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
version 1.8.1+ config file...
PHP Code:
define('APPEND_TITLE_META',true); 
__________________
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-28-2004, 04:49 AM   #7
skatters
Green Mole
 
Join Date: Apr 2004
Posts: 5
Charter,

Thanks, that worked a charm but it didn't seem to get rid of the empty results showing just -- and a relevance. Any way to get these displaying properly? or getting rid of them?

Thanks
skatters is offline   Reply With Quote
Old 07-28-2004, 04:16 PM   #8
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. If the empty results came after sticking in blank lines, then try removing the blank lines. Otherwise, if that doesn't work, it may be that things got out of sync, perhaps due to deleting directly from the database instead of the admin panel, so if this is the case, you'll need to figure out where the inconsistency lies in order to correct it.
__________________
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
Reply

Thread Tools

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 10:38 AM
Description meta tag field in results flyingtwig How-to Forum 3 08-09-2004 07:58 AM
Meta-Tags: Description and Keywords herberth How-to Forum 1 06-13-2004 01:45 AM
Can phpDig use only the Meta Description Tag JuarezTourGuide How-to Forum 2 05-10-2004 03:54 PM
Error Displaying Results By Meta Description vinyl-junkie Bug Tracker 0 05-10-2004 03:01 PM


All times are GMT -8. The time now is 04:18 AM.


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