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

WoTNS

-

The Web of Trust 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/target.

+

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> @@ -21,7 +23,7 @@ and you have to enable the identity here.

<%/foreach> -<%foreach disabledIdentities identity> +<%foreach disabledIdentities identity|sort> <%first>

Disabled Identities

<%/first>