X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=Documentation%2Fdesign_www.txt;h=92897043ed85d80ae13578447b848bfe10bb889e;hp=0c38ae5f299949c2a1ffd610656330b414c517b8;hb=43c0f38b8dc27254deb10204cf97d7af7e49d368;hpb=afee3af86cd4c93e4d9bcdf1b2e34750bcff9a96 diff --git a/Documentation/design_www.txt b/Documentation/design_www.txt index 0c38ae5f..92897043 100644 --- a/Documentation/design_www.txt +++ b/Documentation/design_www.txt @@ -5,20 +5,22 @@ URL naming /$LISTNAME/?r=$GIT_COMMIT -> HTML only /$LISTNAME/atom.xml -> Atom feed +#### Optional, relies on Search::Xapian +/$LISTNAME/t/$MESSAGE_ID.html -> HTML content of thread + ### Stable endpoints /$LISTNAME/m/$MESSAGE_ID.html -> HTML content (short quotes) /$LISTNAME/m/$MESSAGE_ID.txt -> raw original /$LISTNAME/m/$MESSAGE_ID -> 301 to .html version /$LISTNAME/f/$MESSAGE_ID.html -> HTML content (full quotes) /$LISTNAME/f/$MESSAGE_ID -> 301 to .html version -/$LISTNAME/f/$MESSAGE_ID.txt -> 301 to m/$MESSAGE_ID.txt +/$LISTNAME/f/$MESSAGE_ID.txt -> 301 to ../m/$MESSAGE_ID.txt FIXME: we must refactor/cleanup/add tests for most of our CGI before adding more endpoints and features. Maybe TODO (these might be expensive) ------------------------------------- -/$LISTNAME/t/$MESSAGE_ID.html -> HTML content of thread /$LISTNAME/t/$MESSAGE_ID.mbox -> mbox content of thread We use file name suffixes on all of these (except /) so URLs may easily