All Downloads are FREE. Search and download functionalities are using the official Maven repository.

a.hyperscala-examples_2.11.0.10.3.source-code.social_meta_data.html Maven / Gradle / Ivy

The newest version!

SocialMetadata module

The SocialMetadata module provides information in meta tags to improve social media, and search engine crawls. It is separated into sections to target specific consumers.

Base data
Base data are basic meta tags that are typically used by search engines and social media sites that do not require specially composed tags. The description and keywords are particularly important.
Description
Description of the page content.
Keywords
Keywords that may be used to find the page.
Author
Author of the page content. Particularly useful when the page represents an article written by a recognizable author.
Copyright
When it is important to specify the copyright.
Application-name
The name of the application where the page resides.
There is also an extras parameter to permit one to add extra parameters.
Twitter
Twitter data are used to generate a twitter summary card. This permits twitter to present a preview for a shared link. The meta data can be tested using the card validator.
Title
The title of the content for the page. Likely should match the title tag designated in the head of the page, though this should be 70 characters or fewer; the preview will truncate the title at 70 characters.
Description
A 140 character description of the page content.
Image
An image URL to include in the preview. Ideally, a thumbnail image of size 120px by 120px, or a large image of size 280px by 150px.
There is also an extras parameter to permit one to add extra parameters. Check here before adding extra parameters.
Open Graph
The Open Graph data are typically consumed by Facebook but can be read by other sites some even using it as a fall-back when their own protocol is unavailable. Details can be found at opengraphprotocol.org and in Facebook documentation.
Title
The title of the content for the page.
The content type of the page using the specific keyword.
See here. Each type can have its own tags associated with it. Some types include article, book, profile, and others.
Image
An image URL representing the graphed object. Ideally between 200px by 200px and 1200px by 630px
URL
The canonical URL of the graphed object. This is the distinct, authoritative, URL for the graphed object.
Description
A description of the object.
Schema.org
Schema.org is a robust and complicated meta data system. It is used by Google+ and others.
In addition to typical markup, Schema.org needs to have the content inside a scoped tag. The expectation for this module is that this will be used on the HTML tag and the page level schema.org markup will be added to the HEAD with Meta tags via the SchemaDotOrg method. The simplest type to use for the itemtype is Thing.
Name
Name of the item.
Description
Description of the item.
Image
An image associated with the item.
This is also an extras parameter to permit one to add extra parameters. Check schema.org before adding extra parameters.

View source, then the head section of the document.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy