X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=readme.txt;h=021bc834e910c784d886e2300db18062fd985b9f;hb=6836fbb5db8464f56e682989996b2210b14231d0;hp=133a0aa2525f12178683d07fd264ce586b0f0f36;hpb=63376b2a82c3f6cdf2df56b1f134bd7df0aaab3a;p=fms.git
diff --git a/readme.txt b/readme.txt
index 133a0aa..021bc83 100644
--- a/readme.txt
+++ b/readme.txt
@@ -75,9 +75,10 @@ called site-template.htm is used to insert the site. You can customize the
template by placing an HTML file called identityname-template.htm in the same
directory as the fms binary. In the template, the string [LINKS] will be
replaced by a
list of links and [CONTENT] will be replaced by the page
-content. The Freesite will be inserted once a day and contain your last 10
-posts and your trust list if you are publishing it. The site will be inserted
-to a USK accessible via: USK@yourpublickey.../fms/0/
+content. [IDENTITYNAME] will be replaced by the name of the identity inserting
+the Freesite. The Freesite will be inserted once a day and contain your last
+10 posts and your trust list if you are publishing it. The site will be
+inserted to a USK accessible via: USK@yourpublickey.../fms/0/
You may add extra files to your Freesite by creating a file called identityname-
files.txt that contains a list of files to add to the Freesite. There should
@@ -107,3 +108,34 @@ above your configured minimum. You will also download messages from identities
with NULL local message trust (the peer message trust must be NULL or >= your
configured minimum as well), but you will not download trust lists from
identities with NULL local trust list trust.
+
+NNTP EXTENSIONS
+---------------
+The following commands are available through the NNTP connection. The client
+must have authenticated for the commands to work.
+
+XSETTRUST MESSAGE userid@keypart val
+XSETTRUST TRUSTLIST userid@keypart val
+
+Responses:
+2xx Trust Set
+4xx Unknown ID or other error
+5xx Syntax error
+
+XGETTRUST MESSAGE userid@keypart
+XGETTRUST TRUSTLIST userid@keypart
+
+Responses:
+2xx val
+4xx Unknown ID or other error
+5xx Syntax error
+
+XGETTRUSTLIST
+messagetrust and trustlisttrust will be 0 to 100 or can be the string "null"
+without quotes.
+
+Responses:
+2xx Trust List Follows
+userid@keypart TAB messagetrust TAB trustlisttrust
+.
+4xx other error