CheapWindowsHosting.com | Best and cheap Joola Hosting. Microdata is quickly becoming a must-have tool for site developers that want to improve their overall SEO strategy. By using Microdata tags, sites can tell search engines what type of content is being presented.
Let’s say you want to feature a movie on your site somewhere, and you would like to let the search engine know that you are listing a movie, as well as some important information about it.
Enter Microdata tags. These let search engines like Google, Bing, and Yahoo know that people searching for that particular movie might find your site useful. If anything, it makes it a lot more clear to their crawlers what the content on your site is about, so it can better determine how you fit in the results.
Microdata is more accurate than traditional metadata because it is content specific, not page specific. You can tag individual blocks of text differently, making a clear difference between a person’s name, their address, and a recipe for lobster ravioli.
Microdata has been one of the top features requested for Joomla! from marketers!
Developers will now be able to incorporate microdata more easily into their extensions and sites. From automating the Author tag in articles, to generating detailed markup for directories of information, the microdata library will significantly enhance how you can optimise SEO with Joomla!
Joomla’s new microdata library, being released in Joomla, is going to significantly change how search engines can interpret the information you have on your site. The addition of microdata is one of the most significant SEO improvements since the release of Joomla 3.
When search engines process pages for indexing in their databases, they usually don’t know what the context of the text on the site is. Context is extremely important in delivering the correct information to end users. For instance when you have ‘Avatar’ on a page, how does the search engine know whether its being referenced as an image avatar or the movie avatar, or just a regular image?
Microdata takes the guesswork out of this for the search Engines. Microdata places markup code inside your content that the search engine can read, and then rather than just indexing words, it can apply a context to them to identify features within the content.
This then lets the search engines identify things like who your article authors are, details about your business as a place, or details about events in your calendar on the site.
The next great benefit of using microdata is the ability to create Rich Snippets. Rich Snippets allows you to configure your content to show up as specially formatted data in search engine results. For example you can configure microdata on reviews and ratings on your site so that they then appear as part of the snippet when the search engine result is displayed.
To use the new microdata semantics library you need to make an instance of the library in your extensions.
$microdata = new JMicrodata('Article');
So let’s suppose that we have the following string:
And we need to add an author property:
echo 'Written by' . $microdata->content(“ASPHostPortal Web Hosting”)->property('author')->fallback('Person', 'name')->display();
The library will display:
<span itemprop='author' itemscope itemtype='https://yourdomain.com'> <span itemprop='name'> ASPHostPortal Web Hosting </span> </span>
What happens if the current scope is something other than ‘Article’, for example a ‘Product’ scope, and the current scope doesn’t have an author property?
Well it will fall back in:
<span itemscope itemtype='https://yourdomain.com'> <span itemprop='name'> ASPHostPortal Web Hosting </span> </span>
If we want to disable the microdata semantics output?
You can simply disable the microdata output: