Widget help

Hi all,

i have a widget which is an rss feed. I want it only to be one rss feed and have no preference to change the rss feed.

This is what needs to be edited so the user cannot change the rss feed? any suggestions?

urlPath

</p><p> include("reader.js");</p><p> if(preferences.urlPath.value=="")</p><p> {</p><p> initRequest("");</p><p> }</p><p> else</p><p> {</p><p> initRequest(preferences.urlPath.value); </p><p> }</p><p> </p><p>

</p><p> initRequest(preferences.urlPath.value);</p><p>

#471407

If this is a Konfabulator widget, best idea would be to ask at their forum.

Remove the preference, the change handler and insert a hard coded URL of your 'preference'.

The code should look like:

<action trigger="onLoad">

<![CDATA[

include("reader.js");

initRequest("http://WhatEverYourRssUrlIs.com");

]]>

</action>

hth,

herd

#472010

herd is right also you want to remove the preferences.urlPath.value from preferences and remove it from onPreferencesChanged handler.

#472016