Table of Contents

Search

  1. Preface
  2. Introduction
  3. Configuring the Data Director Application
  4. Establishing a Root Node
  5. Defining the Business Entity Model
  6. Configuring Business Entity Properties
  7. Configuring Reference Entity Properties
  8. Transforming Business Entities and Views
  9. Configuring Hierarchy and Network Relationships
  10. Creating Match Rule Sets
  11. Configuring Search
  12. Configuring Tasks
  13. Configuring Security and Data Filters for Business Entities
  14. Integrating Data as a Service
  15. Configuring External Calls
  16. Designing the Data Director User Interface
  17. Localizing Data Director
  18. Appendix A: Provisioning Tool Frequently Asked Questions

RSS Feed Configuration Example

RSS Feed Configuration Example

You want to display the Twitter feed that belongs to a business entity. You use HTML and Javascript to configure how the Twitter feed appears.
The following sample code shows the HTML and Javascript code that you need for the Twitter feed to appear in an Entity view:
<div> <a target='_blank' class="twitter-timeline" href="https://twitter.com/{{taxID}}" data-screen-name="{{taxID}}" data-tweet-limit="5" data-show-replies="false" data-widget-id="473181088752222208">Tweets by {{displayName}} </a> <script>!function(d,s,id){ var widgetElem = d.getElementById(id); if (widgetElem) { var widgetParent = widgetElem.parentNode; widgetParent.removeChild(widgetElem); } var js, fjs=d.getElementsByTagName(s)[0], p=/^http:/.test(d.location)?'http':'https'; js=d.createElement(s); js.id=id; js.src=p+"://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); }(document,"script","twitter-wjs"); </script> </div>
The following image shows the Twitter feed that appears in the Entity view:
The sample External Resources component displays a twitter feed.
For more information about the Twitter API code in the example, see the Twitter documentation regarding embedded timelines.

0 COMMENTS

We’d like to hear from you!