X-Git-Url: https://git.pterodactylus.net/?p=WoTNS.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5fb6a8608229aa1d3e71248a14c953b3afab97f3;hp=2da3f2de8cfacb2ecd270773614ae1262c7a893e;hb=9288c73f25d0ce121b574812d71b9d4c41d529ba;hpb=24003baffbff36d768eeba877948449e84edd90e diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2da3f2d..5fb6a86 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,7 +1,17 @@ +<%include include/head.html>

WoTNS

-

Yay, Index!

+

The Web of Trust Name Service uses properties of Web of Trust identities to implement a DNS-like scheme on top of Freenet.

+

The general syntax is: http://<%request.host>/tns/identity[@start-of-key]/target[/path].

+

identity is the nickname of a Web of Trust identity, such as “WoTNS”. It is also possible to include the beginning of the identity’s +key into identity, in the form of nickname@start-of-key, such as “WoTNS@DAx”.

+

The target consists of a name chosen by the remote identity. It can consist of latin latters, digits, and periods (and the final name +has to fulfill the Web of Trust’s requirement for a valid property name.

+

The target can be followed by a path, such as “more_content.html”, that will be appended to whatever the target is set to, +including the slash between target and path.

+

To be able to add targets for one of your identities, you first have to create an identity using the Web of Trust, +and you have to enable the identity here.

-<%foreach enabledIdentities identity> +<%foreach enabledIdentities identity|sort> <%first>

Enabled Identities

<%/first> @@ -13,7 +23,7 @@ <%/foreach> -<%foreach disabledIdentities identity> +<%foreach disabledIdentities identity|sort> <%first>

Disabled Identities

<%/first> @@ -24,3 +34,4 @@ <%/foreach> +<%include include/tail.html> \ No newline at end of file