package page.misc;
import org.wikiwebserver.core.WareHouse;
import org.wikiwebserver.handler.http.HTTPException;
import org.wikiwebserver.handler.http.interfaces.*;
import page.config.SiteTemplatedPage;
import static org.wikiwebserver.html.HTMLHelper.*;
import page.example.LineCount;
public class Contribute extends SiteTemplatedPage implements HTTPResponder {
public void generate() throws HTTPException {
setTitle("Contribute - WikiWebServer.org");
addResourceRoot("/templates/default/contribute/");
addCSSLink("contribute.css");
String spLink = a("http://www.anrdoezrs.net/click-2445799-10357278'", "ServerPronto.com", "target='_top'") +
"";
LineCount lineCount = new LineCount();
String contributionsPage = WareHouse.getUrlPathForClass(Contributions.class);
append(h(1, "Contribute to WikiWebServer") +
p("WikiWebServer is an open source web server project started by " +
a("/michaelgardiner/", "Michael Gardiner") + " on the 1st May 2007." +
" WikiWebServer is a versatile HTTP 1.1 web server framework and much" +
" more in " + lineCount.getNumLines() + " lines of Java code.") +
p("Although still work in progress, WikiWebServer is already a very powerful" +
" web development tool offering a previously unseen level of editability " +
" within a running web server.") +
p("You can help contribute to the project by creating cool WikiWebServer" +
" classes, telling others about the project and donating to the WikiWebServer fund.") +
image("DSC01999.jpg", "ServerPronto data center", "align='right'") +
p("WikiWebServer.org is hosted on a dedicated server provided by ServerPronto.") +
p("If you would like to create your own customised branch of WikiWebServer" +
" I recommend purchasing a dedicated server from " + spLink) +
p("Download the active " + a("/WikiWebServerCore.jar", "WikiWebServer core") +
" for running WikiWebServer on other computers.") +
p(a(contributionsPage, "View contributions")) + cleardiv());
}
}