diff -rubB apps/antville-orig/Site/page.skin apps/antville/Site/page.skin --- apps/antville-orig/Site/page.skin Sun Nov 21 20:31:41 2004 +++ apps/antville/Site/page.skin Sun Nov 21 20:31:15 2004 @@ -8,6 +8,7 @@ + diff -rubBN apps/antville-orig/Site/rsd.xml.hac apps/antville/Site/rsd.xml.hac --- apps/antville-orig/Site/rsd.xml.hac Thu Jan 1 01:00:00 1970 +++ apps/antville/Site/rsd.xml.hac Sun Nov 21 20:26:00 2004 @@ -0,0 +1,21 @@ +/* This is a first attempt at implementing RSD for Antville. + See http://archipelago.phrasewise.com/rsd for further + enlightenment. + + There are still is a difficult Problem: how do I find out if + XML-RPC is enabled and where it is running? + + --md@hudora.de + +*/ + +res.contentType = "text/xml"; + +// try to get hostname from the root +param = new Object(); +pattern = "http://([^:/]+).*"; +exp = new RegExp(pattern, "i"); +param.host = root.getUrl().replace(exp, "$1"); + +this.renderSkin("rsd.xml", param); + diff -rubBN apps/antville-orig/Site/rsd.xml.skin apps/antville/Site/rsd.xml.skin --- apps/antville-orig/Site/rsd.xml.skin Thu Jan 1 01:00:00 1970 +++ apps/antville/Site/rsd.xml.skin Sun Nov 21 20:28:18 2004 @@ -0,0 +1,13 @@ + + + + Antville / Helma Object Publisher + http://project.antville.org/ + <% site.url %> + + + + + + +