We are currently using SEO Checker 2.1.0 with Umbraco 7.10.4 and are experiencing some wierd encoding issues. The SEO Description is currently being HTML encoded while the SEO Title isn't.
That is pretty easy to fix with decoding of the value, but it gets a bit more difficult when the Twitter Description is using the SEO Description as fallback since this results in a double encoding of the value.
That makes it difficult to figure out how many times to decode, and it would be nice if none of the values were encoded when pulling them out in the Razor template using SEOChecker.Library.MetaData.Current.Description
Indeed SEO Description is envrypted, Google likes that. Title not because that is also shown in the browser. I will make sure it gets decoded for Twitter as well.
Best to use the following snippet by the way this generates all metadata at once.
@{
var meta = Model.Content.GetPropertyValue<SEOChecker.MVC.MetaData>("seoChecker");
}
@meta.AllTags
Encoding of descriptions
Hi,
We are currently using SEO Checker 2.1.0 with Umbraco 7.10.4 and are experiencing some wierd encoding issues. The SEO Description is currently being HTML encoded while the SEO Title isn't.
That is pretty easy to fix with decoding of the value, but it gets a bit more difficult when the Twitter Description is using the SEO Description as fallback since this results in a double encoding of the value.
That makes it difficult to figure out how many times to decode, and it would be nice if none of the values were encoded when pulling them out in the Razor template using
SEOChecker.Library.MetaData.Current.Description
Looking forward to hear from you :-)
Hi Simon,
Indeed SEO Description is envrypted, Google likes that. Title not because that is also shown in the browser. I will make sure it gets decoded for Twitter as well.
Best to use the following snippet by the way this generates all metadata at once.
Best,
Richard
Hi Richard,
Just to be sure.. Are you going to make sure that both desc and title are decoded for Twitter and Facebook?
Yup but only for Twitter and Facebook. Google Description will be the same. When you use the API like mentioned above that will be automatically.
If you want a hotfix please send an email to [email protected] Best,
Richard
That sounds great.
We will just wait for the update of the package.
Thank you very much :)
Fixed in 2.2.3
is working on a reply...