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

WoTNS

-

Yay, Index!

-

Manage Names

-
- - -
+

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|sort> + <%first> +

Enabled Identities

+ <%/first> +
+ + + <%identity.nickname|html> + +
+<%/foreach> + +<%foreach disabledIdentities identity|sort> + <%first> +

Disabled Identities

+ <%/first> +
+ + + <%identity.nickname|html> + +
+<%/foreach> +<%include include/tail.html> \ No newline at end of file