Is it possible to have custom meta data returned as an abstract? For instance, under search setting you can select description, which returns the description content .
Custom Abstracts
Custom Abstracts
You can't choose arbitrary meta data to use for abstract, just meta description right now. But in the new version that's expected to be released later today you can adjust the walk settings to get the meta description from a different meta field using the "Data from Field" option.
-
- Posts: 24
- Joined: Fri Mar 30, 2001 9:32 am
Custom Abstracts
Can you cite an example of how this might work?
Custom Abstracts
Under all walk settings, in Data from Field, set Search to
.*
Leave replace empty. Set Meta to the name of the meta tag you want to use for description. Set Field to Description.
.*
Leave replace empty. Set Meta to the name of the meta tag you want to use for description. Set Field to Description.
-
- Posts: 24
- Joined: Fri Mar 30, 2001 9:32 am
Custom Abstracts
Thanks, I think I follow:
Translates to: On any search look to selected meta field and return that value as the description.
How would the replace function work? Replace the searched value with the replaced value?
Translates to: On any search look to selected meta field and return that value as the description.
How would the replace function work? Replace the searched value with the replaced value?
Custom Abstracts
Yes. That lets you do some translation on the found values. See http://www.thunderstone.com/site/vortexman/node113.html for a description of what can be in Replace.
Custom Abstracts
We are testing this feature and the new Abstract formed has parentheses around it.
Here is the META Tag that we are using for Description:
<meta name="alt_description" content="Pattern: OCEANA (PINK CORAL EDGE) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF">
Here is the Abstract returned in the XML file:
<Abstract>
(Pattern: OCEANA \(
<B>PINK</B>
CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,
<B>PINK</B>
CORAL EDGE,SHELL MOTIF,)
</Abstract>
And here is how the Abstract is displayed in the search results:
(Pattern: OCEANA \(PINK CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF,)...
Why are these parentheses surrounding the Abstract and how can we remove them?
Here is the META Tag that we are using for Description:
<meta name="alt_description" content="Pattern: OCEANA (PINK CORAL EDGE) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF">
Here is the Abstract returned in the XML file:
<Abstract>
(Pattern: OCEANA \(
<B>PINK</B>
CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,
<B>PINK</B>
CORAL EDGE,SHELL MOTIF,)
</Abstract>
And here is how the Abstract is displayed in the search results:
(Pattern: OCEANA \(PINK CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF,)...
Why are these parentheses surrounding the Abstract and how can we remove them?
Custom Abstracts
A little more info's needed. Please indicate how you're trying to use this (what you're filling into which settings fields). The url of the html page witht he description listed above. Under list/edit urls, find that url and see what's stored for the meta data.
Custom Abstracts
We want to specify a different description to use for the abstract for our site search.
Under All Walk Settings ~ Data From Field
The following fields have these values:
Search: .*
Replace:
Meta: alt_description
Field: Description
Which Field: Description
We have set up a test environment with a smaller number of pages, so here is the URL of the test page that we are using in this example:
http://www.replacementsauctions.com/thu ... FITOCE.htm
Here is the data from the list/edit urls:
Title: FITZ/FLOYD OCEANA (PINK CORAL EDGE) at Replacements, Ltd
Description: (Pattern: OCEANA \(PINK CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF,)
Keywords: OCEANA,(PINK,CORAL,EDGE), FITZ/FLOYD, dinnerware, tableware, dishes, Replacements
Meta data: -None-
Under All Walk Settings ~ Data From Field
The following fields have these values:
Search: .*
Replace:
Meta: alt_description
Field: Description
Which Field: Description
We have set up a test environment with a smaller number of pages, so here is the URL of the test page that we are using in this example:
http://www.replacementsauctions.com/thu ... FITOCE.htm
Here is the data from the list/edit urls:
Title: FITZ/FLOYD OCEANA (PINK CORAL EDGE) at Replacements, Ltd
Description: (Pattern: OCEANA \(PINK CORAL EDGE\) by FITZ/FLOYD [FITOCE] Description: CREAM BODY,PINK CORAL EDGE,SHELL MOTIF,)
Keywords: OCEANA,(PINK,CORAL,EDGE), FITZ/FLOYD, dinnerware, tableware, dishes, Replacements
Meta data: -None-
Custom Abstracts
Change the .* to .+