Author: toad
Date: 2006-12-01 01:32:10 +0000 (Fri, 01 Dec 2006)
New Revision: 11163

Modified:
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Add an option to fetch as RSS.

Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:29:31 UTC (rev 11162)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:32:10 UTC (rev 11163)
@@ -128,6 +128,9 @@
                                                option.addChild("#", " to open 
the file as " + mimeType + " (<b>this may also be dangerous</b>).");
                                        }
                                        option = optionList.addChild("li");
+                                       option.addChild("a", "href", basePath + 
key.toString(false) + "?force=" + getForceValue(key, now)+extras, "Click here");
+                                       option.addChild("#", " to open the file 
as RSS (<b>this is dangerous if the site author is malicious</b>).");
+                                       option = optionList.addChild("li");
                                        option.addChild("a", "href", "/", 
"Click here");
                                        option.addChild("#", " to go to the 
FProxy home page.");



Reply via email to