add DOAP to readme
authorChristian Weiske <cweiske@cweiske.de>
Mon, 17 Sep 2012 16:57:54 +0000 (18:57 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 17 Sep 2012 16:57:54 +0000 (18:57 +0200)
README.rst

index c94f29e..d1c6491 100644 (file)
@@ -182,6 +182,8 @@ URLs
   Show specific revision of the paste
 ``/[0-9]/delete``
   Delete the paste
+``/[0-9]/doap``
+  Show DOAP document for paste
 ``/[0-9]/fork``
   Create a fork of the paste
 ``/search?q=..(&page=[0-9]+)?``
@@ -214,6 +216,7 @@ If you use nginx, place the following lines into your ``server`` block:
     rewrite ^/([0-9]+)$ /display.php?id=$1;
     rewrite ^/([0-9]+)/delete$ /delete.php?id=$1;
     rewrite ^/([0-9]+)/delete/confirm$ /delete.php?id=$1&confirm=1;
+    rewrite ^/([0-9]+)/doap$ /doap.php?id=$1;
     rewrite ^/([0-9]+)/edit$ /edit.php?id=$1;
     rewrite ^/([0-9]+)/fork$ /fork.php?id=$1;
     rewrite ^/([0-9]+)/raw/(.+)$ /raw.php?id=$1&file=$2;