﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Newsgator Forums / NewsGator Online / Editor's Desk - Widgets and Buzz  / Pass a Feed URL to the Widget / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Newsgator Forums</description><link>http://forum.newsgator.com/</link><webMaster>info@newsgator.com</webMaster><lastBuildDate>Sun, 07 Sep 2008 18:36:29 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Pass a Feed URL to the Widget</title><link>http://forum.newsgator.com/Topic33771-53-1.aspx</link><description>Hi Rob, &lt;P&gt;To pass a feed URL to a widget that is set to use dynamic content, simply add the following parameter to the code snippet after the API token:&lt;/P&gt;&lt;P&gt;&amp;amp;xmlUrl=[XMLURL]&lt;/P&gt;&lt;P&gt;As an example, here is a simple widget that makes a call to dynamic content. The parameter only needs to be added to the snippet code that is included on your page where the widget will reside; you do not have to make any changes through Editor's Desk:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&amp;lt;script src="http://nmp.newsgator.com/NGBuzz/Buzz.ashx?buzzId=56443&amp;amp;apiToken=760F1E2C6BFD4C07866316A15F7A127F&lt;STRONG&gt;&amp;amp;xmlurl=http%3A%2F%2Fnewsrss.bbc.co.uk%2Frss%2Fnewsonline_world_edition%2Ffront_page%2Frss.xml"&lt;/STRONG&gt; type="text/javascript" language="javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There are two important things to make note of when utilizing dynamic content:&lt;BLOCKQUOTE&gt;1) The XML URL must be URI encoded (as you can see above, http:// is seen as http%3A%2F%2F). Here is a free utility for encoding your feed URLs: &lt;A href="http://lachy.id.au/dev/mozilla/sidebar/URI/uri-dec-enc.html" target=_blank&gt;http://lachy.id.au/dev/mozilla/sidebar/URI/uri-dec-enc.html&lt;/A&gt;&lt;BR&gt;Simply input the URL and hit "Encode."&lt;P&gt;2) The feed that is referred to in the parameter must exist in our system. If you see that no posts are showing up for a particular feed, just add it to a widget (you can remove it later as needed) or subscribe to it through any NewsGator service. Once this is done our system will recognize the feed and keep the content fresh.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Let me know if you have any other questions!&lt;/P&gt;&lt;BR&gt;&lt;BR&gt;</description><pubDate>Mon, 26 Nov 2007 13:13:00 GMT</pubDate><dc:creator>Jenny Blumberg</dc:creator></item><item><title>Pass a Feed URL to the Widget</title><link>http://forum.newsgator.com/Topic33771-53-1.aspx</link><description>When you set a feed url to the option "Provide Content Dynamically" it says that this is the default content if you do not pass a feed URL into the widget.&lt;/P&gt;&lt;P&gt;How do you pass a feed URL into the widget?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;ROb</description><pubDate>Sun, 25 Nov 2007 20:22:09 GMT</pubDate><dc:creator>robblackin</dc:creator></item></channel></rss>