HudhaifaS\DOM\Model\DiscoverableDataObject
This interface marks a DataObject as searchable and discoverable by search engines and social media and provide the proper data about the object.
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
interface DiscoverableDataObject
{
- // methods
- public void getObjectMarkup()
- public void getObjectDescription()
Methods
public
- getObjectDescription() — A one to two sentence description of the object, shows below the link title on social (Facebook and Twitter), and meta description tag, also appended to the Rich Snippet markup.
- getObjectMarkup() — Structured data markup added to the existing HTML, which in turn allow search engines to better understand what information is contained on each dataobject page.