|
|
@ -184,11 +184,11 @@ public class News {
|
|
|
|
title = record.attribute("title", "");
|
|
|
|
title = record.attribute("title", "");
|
|
|
|
description = record.attribute("url", "");
|
|
|
|
description = record.attribute("url", "");
|
|
|
|
} else if (category.equals(yacyNewsPool.CATEGORY_WIKI_UPDATE)) {
|
|
|
|
} else if (category.equals(yacyNewsPool.CATEGORY_WIKI_UPDATE)) {
|
|
|
|
link = "http://" + seed.getAddress() + "/Wiki.html?page=" + record.attribute("page", "");
|
|
|
|
link = (seed==null)?"":"http://" + seed.getAddress() + "/Wiki.html?page=" + record.attribute("page", "");
|
|
|
|
title = record.attribute("author", "Anonymous") + ": " + record.attribute("page", "");
|
|
|
|
title = record.attribute("author", "Anonymous") + ": " + record.attribute("page", "");
|
|
|
|
description = "Wiki Update: " + record.attribute("description", "");
|
|
|
|
description = "Wiki Update: " + record.attribute("description", "");
|
|
|
|
} else if (category.equals(yacyNewsPool.CATEGORY_BLOG_ADD)) {
|
|
|
|
} else if (category.equals(yacyNewsPool.CATEGORY_BLOG_ADD)) {
|
|
|
|
link = "http://" + seed.getAddress() + "/Blog.html?page=" + record.attribute("page", "");
|
|
|
|
link = (seed==null)?"":"http://" + seed.getAddress() + "/Blog.html?page=" + record.attribute("page", "");
|
|
|
|
title = record.attribute("author", "Anonymous") + ": " + record.attribute("page", "");
|
|
|
|
title = record.attribute("author", "Anonymous") + ": " + record.attribute("page", "");
|
|
|
|
description = "Blog Entry: " + record.attribute("subject", "");
|
|
|
|
description = "Blog Entry: " + record.attribute("subject", "");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|