// As the Default renderhandler for the Pod Weather Content process even if the element is empty
request.element.hasData = 1;
// leave isStatic=0 so not to cache specific users data
request.element.isStatic = 0;
//Application.ADF.utils.dodump(request.element,"request.element",0);
// Get the Configuration Data
appConfigStruct = application.ptPortlet.getAppConfig();
//variables.safehtmltaglist = "em,strong,b,i,br,table,tbody,thead,tfoot,tr,td,div,span,hr,li,ul,ol,a,u";
safehtmltaglist = appConfigStruct['pod_type_rss_feed_allowed_html_list'];
if ( ArrayLen(podcontentArray) )
items = podcontentArray;
else
items = attributes.elementInfo.elementData.propertyValues;
//Application.ADF.utils.dodump(items,"items",0);
rssStruct = StructNew();
rss_error = true;
rss_URL = appConfigStruct['pod_type_weather_rss_url'] & items[i].values.weatherZip;
// Initialize the Title and Description variables
rssTitleText = "";
rssDescriptionText = "";
if ( FindNoCase("200", objHttp.Statuscode) AND rss_error IS false) {
try {
rssStruct = Application.ptPortlet.podRSS.normalize(
rss: objHttp.filecontent,
prefersummary: true,
synthtitle: false,
xmlbase: false,
//uri: TRIM(rss_URL),
nativeParseError: false,
safehtmllist: safehtmltaglist);
}
//Application.ADF.utils.dodump(rssStruct,"rssStruct",0);
catch(Any excpt) {
rss_error = true;
}
} else {
rss_error = true;
}
at","all") />
","all") />
","all") />
#rssTitletext#
#rssDescriptiontext#
There was a problem retrieving remote RSS weather content.
RSS Weather URL not configured.