To embed a pulse widget in an HTML page:
1. Copy the following code to your Clipboard:
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id))
{js=d.createElement(s);js.id=id;js.src=p+"://admin.netbase.com/cb/pulse/embed/embed.js";fjs.parentNode.insertBefore(js,fjs);}}
(document,"script","embed-js");</script>
<div class="netbase-widget sub-container" data-type="mentions" data-id="af0a69e5-1989-4dc2-a697-7d5a2e13eaba"></div>
2. Open an HTML page for editing.
3. Copy the code into the HTML page.
4. Modify only the portions of the code that are highlighted below:
For data-type
, use one of the following values to specify the widget type:
Widget Type | data-type Value |
Emerging Topics |
|
Geo Hotspots |
|
Image Pulse |
|
Impressions |
|
Mentions |
|
Most Recent |
|
Most Impressions |
|
Most Retweets |
|
Net Sentiment |
|
Retweets |
|
For data-id
, copy the ID number from your own Pulse URL:
Example HTML page:
Result: