removed resources

This commit is contained in:
Tobi Schäfer 2002-02-04 15:52:11 +00:00
parent 75a443f96d
commit 21b0f47c33
2 changed files with 0 additions and 6 deletions

View file

@ -10,7 +10,6 @@ if (max > size)
if (max > 50)
max = 50;
var resources = "";
var items = "";
for (var i=0; i<max; i++) {
var weblog = this.get(i);
@ -22,7 +21,6 @@ for (var i=0; i<max; i++) {
param1.year = now.getYear();
param1.itemDescription = encodeXml(weblog.tagline);
items += renderSkinAsString("rss10Item", param1);
resources += renderSkinAsString("rss10Resource", param1);
}
}
@ -39,6 +37,5 @@ param2.date = sdf.format(now);
param2.updateBase = "2000-01-01T00:00:00Z";
param2.language = getProperty("language");
param2.items = items;
param2.resources = resources;
renderSkin("rss10Channel", param2);

View file

@ -11,7 +11,6 @@ if (this.online) {
if (max > 20)
max = 20;
var resources = "";
var items = "";
for (var i=0; i<max; i++) {
var story = this.allstories.get(i);
@ -25,7 +24,6 @@ if (this.online) {
str = convertHtmlImageToHtmlLink(str);
param1.itemDescription = encodeXml(str);
items += renderSkinAsString("rss10Item", param1);
resources += renderSkinAsString("rss10Resource", param1);
}
}
else {
@ -48,7 +46,6 @@ param2.date = sdf.format(this.lastUpdate);
param2.updateBase = sdf.format(this.createtime);
param2.language = this.language;
param2.items = items;
param2.resources = resources;
param2.textinput = this.renderSkinAsString("rssTextInput", param2);
renderSkin("rss10Channel", param2);