We're using Umbraco 4.7.1 and I recently noticed that running a Google Search on our company produced some undesired page links below our standard search result - i.e they weren't pages I would send people to as a start point. My investigation revealed that this structured data was dictated largely by Rich Snippets in the website code but when I try and add these snippets to pages within Umbraco, the snippets are stripped out after the page has been published rendering the snippets redundant. Do the snippets need to be written differently for Umbraco to parse them or do I need to use a different type of snippet - initially I've tried microdata. Is the RDFa version of snippets better?
If you're trying to add the snippets from the rich text editor, that is why they're being removed. The rich text editor is not for custom HTML code but for text, which can be formatted with elements meant for formatting.
Depending on how you site is built and how your content is structured you can add the rich snippets in the different razor or xslt snippets that is being used to render the content on your website.
I've gone through the process of adding the data highlighter hooks to our relevant pages - thanks.
Looking at the other area, the way our (now defunct) developer configured our pages they are largely Rich Text Edit or html editable. I've been editing the attributes in the html editor but on many of the pages the important info in the tags is stripped during the publishing process. I don't know how to "add the rich snippets to the razor or xslt snippets" as you suggest. Would this be in the Admin/Developer login rather than the regular editor login?
Sounds good - from what you describe above I think that the data highlighter currently is your best option to have structured data on your site.
It does not sound like it has been constructed in a way that allows seperating content and markup, which is a bit of a shame.
The way that I suggest requires that you can access xslt/razor files and templates files either through Umbraco or on the file system where you can use an exnternal editor to edit the files.
But it requires some coding skills and it also requires the site to be structured so it would make sense to add these snippets in the code.
Adding Google Rich Snippets to content
We're using Umbraco 4.7.1 and I recently noticed that running a Google Search on our company produced some undesired page links below our standard search result - i.e they weren't pages I would send people to as a start point. My investigation revealed that this structured data was dictated largely by Rich Snippets in the website code but when I try and add these snippets to pages within Umbraco, the snippets are stripped out after the page has been published rendering the snippets redundant. Do the snippets need to be written differently for Umbraco to parse them or do I need to use a different type of snippet - initially I've tried microdata. Is the RDFa version of snippets better?
Any advice gratefully received. Thanks
Hi Adam and welcome to our :)
If you're trying to add the snippets from the rich text editor, that is why they're being removed. The rich text editor is not for custom HTML code but for text, which can be formatted with elements meant for formatting.
Depending on how you site is built and how your content is structured you can add the rich snippets in the different razor or xslt snippets that is being used to render the content on your website.
So Umbraco does not really limit what you can do.
If you don't have a clue about what I'm talking about then you could perhaps benefit from using this http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2692911
Looking forward to hearing from you.
/Jan
Hi Jan
I've gone through the process of adding the data highlighter hooks to our relevant pages - thanks.
Looking at the other area, the way our (now defunct) developer configured our pages they are largely Rich Text Edit or html editable. I've been editing the attributes in the html editor but on many of the pages the important info in the tags is stripped during the publishing process. I don't know how to "add the rich snippets to the razor or xslt snippets" as you suggest. Would this be in the Admin/Developer login rather than the regular editor login?
Many thanks
Adam
Hi Adam
Sounds good - from what you describe above I think that the data highlighter currently is your best option to have structured data on your site.
It does not sound like it has been constructed in a way that allows seperating content and markup, which is a bit of a shame.
The way that I suggest requires that you can access xslt/razor files and templates files either through Umbraco or on the file system where you can use an exnternal editor to edit the files.
But it requires some coding skills and it also requires the site to be structured so it would make sense to add these snippets in the code.
Hope this makes sense.
/Jan
is working on a reply...