I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 3a26218b authored by jrandom's avatar jrandom Committed by zzz
Browse files

just for clarity

parent 687abd94
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,10 @@ public class RSSRenderer extends HTMLRenderer { ...@@ -27,7 +27,10 @@ public class RSSRenderer extends HTMLRenderer {
BlogInfo info = archive.getBlogInfo(entry.getURI()); BlogInfo info = archive.getBlogInfo(entry.getURI());
out.write(" <item>\n"); out.write(" <item>\n");
out.write(" <title>" + sanitizeXML(sanitizeString((String)_headers.get(HEADER_SUBJECT))) + "</title>\n"); String subject = sanitizeXML(sanitizeString((String)_headers.get(HEADER_SUBJECT)));
if ( (subject == null) || (subject.length() <= 0) )
subject = "not specified";
out.write(" <title>" + subject + "</title>\n");
out.write(" <link>" + urlPrefix + sanitizeXML(BlogRenderer.getEntryURL(entry, info, true)) + "</link>\n"); out.write(" <link>" + urlPrefix + sanitizeXML(BlogRenderer.getEntryURL(entry, info, true)) + "</link>\n");
out.write(" <guid isPermalink=\"false\">syndie://" + entry.getURI().toString() + "</guid>\n"); out.write(" <guid isPermalink=\"false\">syndie://" + entry.getURI().toString() + "</guid>\n");
out.write(" <pubDate>" + getRFC822Date(entry.getURI().getEntryId()) + "</pubDate>\n"); out.write(" <pubDate>" + getRFC822Date(entry.getURI().getEntryId()) + "</pubDate>\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment