Hello all,
We have been working hard on a number of behind the scenes features for the API, and we thought we'd let you know about our latest release and one of the cool features in it.
Unfortunately this features is for partner tier keys only, but we are working making this available to the approved tier.
We'll be sure to let you know as soon as these features are available for approved keys.
Story: Include HTML5 Interactives in the API.
A new media asset (interactive) has been added to the Content API. The response is similar to picture, audio and video media assets.
Search request:-
"results":[{
"id":"lifeandstyle/interactive/2012/apr/25/fruit",
"sectionId":"lifeandstyle",
"sectionName":"Life and style",
"webPublicationDate":"2012-04-25T15:37:12+01:00",
"webTitle":"interactive",
"fields":{
"lastModified":"2012-04-25T15:37:13+01:00"
},
"mediaAssets":[{
"type":"interactive",
"rel":"body",
"index":1,
"fields":{
"altText":"Unassigned",
"height":"560",
"width":"500"
}
}]
}
]
Note that the URLS in this example are from an internal server and won't work externally.
We are expecting to use these urls to allow the embedding of certain interactives in external websites, but we cannot be sure that any given interactive will work on external sites because of things like the Single Origin Policy, and some assumptions baked into some interactives that we create.
In addition to this work on interactives in the API, we are hard at work on trying to bring images and inline images to the API in the near future. We'll be sure to let you know as soon as we are able to release this.
Michael Brunton-Spall
Content Platform Team Lead
Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - newspaper of the year
www.guardian.co.uk www.observer.co.uk www.guardiannews.com
On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone
To save up to 30% when you subscribe to the Guardian and the Observer
visit www.guardian.co.uk/subscriber
---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.
Guardian News & Media Limited
A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP
Registered in England Number 908396