RSS Widget gone missing

13 views
Skip to first unread message

Phil Ashworth

unread,
Nov 2, 2017, 11:38:24 AM11/2/17
to Information Workbench Discussions
Hi.
I was read about the RSS widget in the help file but it is not available in the widget types to embed on page.
I tried the sample code anyway and got the following



Any idea where I can get  it from?

Thanks 
Phil

Andreas Schwarte

unread,
Nov 3, 2017, 3:59:09 AM11/3/17
to iwb-dis...@googlegroups.com

Hi Phil,

 

the RSS widget has been deprecated in the last release as a core platform feature. Unfortunately we seemed to have missed this in the documentation.

 

Background is that the Java Script API which we used for rendering the RSS feed was no longer available.

 

If you want we can provide you with the source code for the RSS Widget and you can adjust it to make it work using a different java script library.

 

Best,

Andreas

--
You received this message because you are subscribed to the Google Groups "Information Workbench Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iwb-discussio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Phil Ashworth

unread,
Nov 7, 2017, 4:09:22 AM11/7/17
to Information Workbench Discussions
Hi Andreas
Thanks for the info.
That's a shame about the RSS widget. 


I wonder if would you be able to suggest the best way to show the following xml in a widget.

It comes directly from the fda and if viewed in something like xml notepad you get the complete xslt formatting etc.
I was hoping the RSS would give me the same in IWB.

What would be my best option to display it in IWB .
I have tried an iframe but it is blank in chrome and totally un-formatted in Firefox and MS explorer.

Thanks 

Phil

Andreas Schwarte

unread,
Nov 9, 2017, 2:40:50 AM11/9/17
to iwb-dis...@googlegroups.com

Hello Phil,

 

I tried to open the linked XML document, however, for me it appears that no XSLT transformation is applied at all (Browser: Firefox). Likely the required stylesheet cannot be loaded.

 

The cleanest integration would be using an Iframe, however, this requires obviously that the document is rendered fine in its own browser tab as well. Also be aware of MIXED-CONTENT policies which prevents browsers from loading content from http:// resources if the page itself is accessed via https:// (maybe this is also the problem why the XSLT transformation is not applied).

 

The alternative approach would be to use the platform’s data integration functionality, e.g. using an XML Data Source. There you can define mappings based on Xpath expressions and build the UI using wiki syntax and styling as you like.

 

Hope this helps,

Reply all
Reply to author
Forward
0 new messages