Developer Forum »
How to extract microdata from innercontents?
1 posts

Hello.

I'm trying to extract the microdata properties from Innercontents.

On normal nodetypes I can do this:

var microData = new WAF.Engine.Content.ROM.Article.ArticleMicrodataApi();
microData.SchemaOrg...

or any other microdata property.

However for innercontents there is no such microdataapi.

What is the way to programatically extract the schema.org properties for innercontents?

-Djamel
181 posts

Hi!

The Microdata API is rarely used, since actual usage has shown that is often easier and more flexible to add the markup manually in the templates, than through the API. Due to the low usage of the API, and the amount of work needed to keep it up to date, we have removed support for the Microdata API in the ontology plugin currently in limited release. 

I would suggest that you add the markup manually. 

1