| Author |
metatags values being replaced with "" nothing.
|
|
| newsgroup user 2004-02-12, 7:36 am |
| Hello,
If I have a metatag that was indexed
<meta name="IMGPRINT1" content="/imagepath/filename.jpg">
and I want to change the data in the 'content' in the metatag to equal something different like:
content="/imagepath/filename.jpg"
The index will index the new value.
However if I want to change a metatag value to a blank string "" like:
content=""
the index server will not index the blank string as a null value, instead it will keep the last known value for the metatag.
So if i change
<meta name="IMGPRINT1" content="/imagepath/filename.jpg">
to
<meta name="IMGPRINT1" content="">
indexing server will keep the old value of
<meta name="IMGPRINT1" content="/imagepath/filename.jpg">
My question is, is there anyway around this. How come will will not index a blank value to replace another value.
My solution so far is to replace blank values with a " ".
Then I use asp to not display metatag values that are either <> "" or = ""
How can I take out a value of the 'content=' with a metatag that has already been indexed.
I hope this makes some sense.
Thank you for your time
Chris Rowe
| |
| newsgroup user 2004-02-12, 7:36 am |
| Sorry I made a mistype
This:
My solution so far is to replace blank values with a " ".
Then I use asp to not display metatag values that are either <> "" or = ""
should be this:
My solution so far is to replace blank values with a " ".
Then I use asp to not display metatag values that are either <> "" or = " "
notice the added space int '<> "" or = " "'
| |
| George Cheng [MSFT] 2004-02-12, 7:36 am |
| The metatag can't have a blank or null value. You will need to change it
to a value that the Index Server filter understands.
Thank You
George Cheng
Microsoft Application Center & Index Server Support
Note: This article has no warranties implicit or explicit.
All the content is given on the "as is" basis and the user
takes full responsibility for its use and assumption.
Microsoft Corporation Copyright 2004
All Rights Reserved
--------------------
| Thread-Topic: metatags values being replaced with "" nothing.
| thread-index: AcPxp9d0Z0V36cGcQROT6qx73YtYKg==
| X-Tomcat-NG: microsoft.public.inetserver.indexserver
| From: "=?Utf-8?B?Q2hyaXMgUm93ZQ==?=" <anonymous@discussions.microsoft.com>
| References: <90524F68-1F16-4DF6-B623-4DBBC1B796FD@microsoft.com>
| Subject: RE: metatags values being replaced with "" nothing.
| Date: Thu, 12 Feb 2004 12:36:07 -0800
| Lines: 13
| Message-ID: <67766E19-B8AE-4C99-A990-4116DFA78715@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.inetserver.indexserver
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.inetserver.indexserver:27585
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.inetserver.indexserver
|
| Sorry I made a mistype
This:
My solution so far is to replace blank values with a " ".
Then I use asp to not display metatag values that are either <> "" or = ""
should be this:
My solution so far is to replace blank values with a " ".
Then I use asp to not display metatag values that are either <> "" or = " "
notice the added space int '<> "" or = " "'
|
|
|
|
|