A non-profit initiative OF THE

  • WSRI
  • Media Standards Trust

Value Added Labels

Basic Labels

Once you have made your articles machine-readable by adding hNews you can let your users know by adding a Value Added label next to each article.

Just pick the style of label you want...


...then cut & paste the resulting HTML snippet into your page:



'Smart' Label

This is a javascript-based widget which provides a Value Added label with a popup box. When the mouse moves over the label, a box pops up showing the embedded information in a user-friendly format - a little like movie credits at the end of a film or food ingredients on the side of a food packet (see example below).

Popup Value Added label example

Just paste this HTML snippet into your page:

Multiple articles per page

The widget will support multiple articles on the same page. Just repeat the vab-container part once near each article you'd like a popup for, and include the <script> part once only.

Development

All our development is open source. You can see the development history - and contribute improvements - via our version control system (hosted on github.com).

The widget consists of two files:

These files are licensed under the MIT license.

Custom versions

You are, of course, welcome to take the widget and create a custom version which takes advantages of whatever special features your site may have, or just one which matches the visual style of your site.