Publishing

Rich Snippets

By clicking on the Test Google Rich Snippets button (right after the Permalink in the editor) you can see the list of entities being added to the content from the Google Structured Data Testing Tool.

_images/wordlift-publish-post-test-structured-data.png _images/wordlift-publish-structured-data-testing.png

In this example we’re telling search engines that this post could be relevant for searches related to the [Solar System].

Linked Data

By clicking on the View Linked Data button (right after the Permalink in the editor) the RDF representation of the entity is displayed using LodView.

_images/wordlift-publish-entity-view-linked-data.png _images/wordlift-publish-entity-lodview.png

In this example you can see the relation being created between the entity [Mars] and the entity [Solar System] (dcterms:relation). This relation has been created from the entity page page by annotating the description of the entity.

_images/wordlift-publish-entity-lodlive.png

You can also see (in this last image using LodLive) the sameAs attributes.

As of today, the data being represented in RDF for each post or page include:

  • schema-org:datePublished
  • schema-org:dateModified
  • schema-org:interactionCount
  • rdfs:label
  • rdf:type
  • schema-org:url
  • dcterms:references
  • schema-org:author
_images/wordlift-publish-post-lodview.png

Note

In the RDF representation of the posts you can find all entities related to a post (or a page) by looking at the dcterms:references attribute

The attributes describing the posts can be browsed. In this example by clicking on the entity [Solar System] you will be able (directly from LodView) to consult and read the data publish on that entity by WordLift.

Widgets and Shortcodes

Shortcodes

WordLift provides several useful shortcodes to provide enhanced visualizations on your web site.

Widgets

WordLift widgets can be inserted in a post or page to give a rich visual presentation of the entities populating the blog. As the blog grows and entities are created and mentioned, the widgets update their content without intervention from the editor.

Chord

[wl_chord width=... height=... main_color=... depth=... global=...]
_images/wordlift-shortcodes-chord.png

The Chord widget visualizes relations between entities, starting from the current post and the entities mentioned in it.

width
(optional) Width of the chord. Can be expressed in pixels or percentages (e.g. 120px or 70%).
height
(optional) Height of the chord. Can be expressed in pixels or percentages (e.g. 120px or 70%).
main_color
(optional) The chord’s base color.
depth
(optional) Maximum distance to travel in the entity graph in order to populate the chord. A small number limits the exploration of the main entity.
global
(optional) When global=true the main entity of the chord is not the current post, but the most mentioned entity in the latest posts.

Geomap

[wl_geomap width=... height=... global=...]
_images/wordlift-shortcodes-geomap.png

The Geomap widget displays “Place” entities on a map. Each Place has its own marker with a popup containing a thumbnail and links of the place. Here are the parameters:

width
(optional) Width of the geomap. Can be expressed in pixels or percentages (e.g. 120px or 70%).
height
(optional) Height of the geomap. Can be expressed in pixels or percentages (e.g. 120px or 70%).
global
(optional) By default the geomap displays places mentioned in the current post. When global=true the geomap displays all places mentioned in the blog.

Timeline

[wl_timeline width=... height=... global=...]
_images/wordlift-shortcodes-timeline.png

The Timeline widget displays a navigable list of chronologically ordered Event entities. The window on top shows details of the selected Events. Here follows the list of the supported parameters:

width
(optional) Width of the timeline. Can be expressed in pixels or percentages (e.g. 120px or 70%).
height
(optional) Height of the timeline. Can be expressed in pixels or percentages (e.g. 120px or 70%).
global
(optional) By default the timeline displays events (or events related to places) mentioned in the current post. When global=true the timeline displays events mentioned in the latest posts.
display_images_as
(optional) When display_images_as=’background’ the timeline displays for each event the featured image of the entity as background.
excerpt_length
(optional) Allows you to set the number of words that appear in the the excerpts of the timeline.

Note

When you create a timeline with WordLift you can pass in the shortcode optional parameters to set a variety of presentation options. These are derived from the TimelineJS library read more here.

Entity Cloud

[wl_cloud]

The WordLift Entities Cloud Widget is also available as a shortcode. The widget displays entities related to the current post/entity in a tag cloud.

_images/wordlift-entities-cloud-widget.png

Glossary

[wl_vocabulary limit=... type=... orderby=...]

The Glossary is a site-wide Widget that displays all the entities in alphabetical order. Here you can see an example of the Semantic SEO Glossary

_images/wordlift-discover-vocabulary.gif

By default the widget takes into account the latest 100 entities from all types (i.e. Person, Place, Organization, …). The following paramenters can be used to personalise the entities beind displayed in the vocabulary:

limit
the total number of entities to displaye (100 is the defualt value). Use -1 to remove the limit.
type
the type of entities to display (all is the default value). Use `Person`to display only entities of type Person.
orderby
the selection is by default related to the alphabetical order (title is the default value). Selected entities can be ordered using different parameters. Read more here