Embedding a stream definition on a web page
Updated on Wednesday, 27 February, 2013 - 14:37
You can embed a stream in your own website. There are several scenarios where this technique might be valuable:
- Sharing a particular stream definition with readers on your blog
- Posting the latest version of one of your stream definitions at the top of a content page
- Including a stream definition as part of a help system or in a support guide
The embedded stream might look like this:
We use a special API call: http://widget.datasift.com/embed
There's just one parameter, essence, which uniquely identifies a stream. In the UI, click Share CSDL to get the value of essence for any stream.
To include this stream on your page, add a <script> tag like this:
<script src="http://widget.datasift.com/embed?essence=lhahwp" type="text/javascript"></script>
