.externalcontentGadgetRss()
Categories: UI
.externalcontentGadgetRss( [ options ] )
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.externalcontent.gadget.rss
Description: Create a RSS feed.
-
.externalcontentGadgetRss( [ options ] )
version added: 6.15.0options A map of additional options to pass to the method.
The Widget inserts a RSS feed into the target element on which the widget is executed on.
-
The Widget is executed on a pageelement and is called with passing the chosen services. In this example an RSS feed from heise.de is implemented. 10 complete articles (including images, no snippets) are shown in standard layout.
Code:
jQuery.ready({ plugin: [ 'de_epages.externalcontent.gadget.rss' ], DOM: true }, function($){ var widget = de_epages('<div>').externalcontentGadgetRss({ url: "http://www.heise.de/newsticker/heise-atom.xml", numberOfEntrie: 10, onlyHeadlines: false, onlySnippets: false, removeImages: false, layout: "standard" }); });
-
destroy
-
.externatcontentGadgetRss('destroy')
version added: 6.15.0
This method removes the container on which the RSS feed has been appended to.
-