Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi.
I use the new 2.1.0 and are trying to use the new social features. But i can't figure out how.
Normally i use this for seo
Model.Content.GetPropertyValue<SEOChecker.MVC.MetaData>("seoChecker");
When i just get the IProperty i get this. But i can't find any models for SEOCheckerSocial.
{<SEOCheckerSocial> <socialImage /> <ogTitle></ogTitle> <ogDescription></ogDescription> <twitterTitle></twitterTitle> <twitterDescription></twitterDescription> </SEOCheckerSocial>}
Hi Bo,
Best to use
@{ var meta = Model.Content.GetPropertyValue<SEOChecker.MVC.MetaData>("seoChecker"); } @meta.AllTags
Best,
Richard
Hi Richard.
Thanks for answering.
I am using it in a surfaceController, so this gives me null.
Model.Content.GetPropertyValue<MetaData>("socials");
Why i am using a surfaceController is because i need to get other opengraph properties like, og:url, og:type, og:locale, og:locale:alternate, og:{0}:publishedtime, og:{0}:modifiedtime.
Properties will still be on the meta object. Will add a property editor converter for socials in the next release..
Okay i used SocialTags instead of AllTags.
But only problem i got with that is
But i'll keep it for now and change it when SeoChecker gets a new version :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How do we use the new social feature?
Hi.
I use the new 2.1.0 and are trying to use the new social features. But i can't figure out how.
Normally i use this for seo
When i just get the IProperty i get this. But i can't find any models for SEOCheckerSocial.
Hi Bo,
Best to use
Best,
Richard
Hi Richard.
Thanks for answering.
I am using it in a surfaceController, so this gives me null.
Why i am using a surfaceController is because i need to get other opengraph properties like, og:url, og:type, og:locale, og:locale:alternate, og:{0}:publishedtime, og:{0}:modifiedtime.
Properties will still be on the meta object. Will add a property editor converter for socials in the next release..
Best,
Richard
Okay i used SocialTags instead of AllTags.
But only problem i got with that is
But i'll keep it for now and change it when SeoChecker gets a new version :)
is working on a reply...