From 1a8339bf4201ff2213e1bf79461629c7048dafff Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Sun, 28 Jul 2013 22:09:28 +0200 Subject: [PATCH] Adds license page generated from static rst file. Refs #10. --- forum.nim | 5 +++++ static/license.rst | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 static/license.rst diff --git a/forum.nim b/forum.nim index 51e20fe..c95b80d 100644 --- a/forum.nim +++ b/forum.nim @@ -806,6 +806,11 @@ get "/newthread/?": resp genMain(c, genFormPost(c, "donewthread", "New thread", "", "", false), "Nimrod Forum - New Thread") +const licenseRst = slurp("static/license.rst") +get "/license": + createTFD() + resp genMain(c, rstToHtml(licenseRst), "Forum content license") + when isMainModule: docConfig = rstgen.defaultConfig() math.randomize() diff --git a/static/license.rst b/static/license.rst new file mode 100644 index 0000000..47e5762 --- /dev/null +++ b/static/license.rst @@ -0,0 +1,42 @@ +Forum content license +===================== + +All the content contributed to the Nimrod Forum is `cc-wiki (aka cc-by-sa) +`_ licensed, intended to be +**shared and remixed**. In the future we may even provide all this data as a +convenient data dump. + +But our cc-wiki licensing, while intentionally permissive, does **require +attribution**:: + + **Attribution** — You must attribute the work in the manner specified by + the author or licensor (but not in any way that suggests that they endorse + you or your use of the work). + +Let us clarify what we mean by attribution. If you republish this content, we +require that you: + +* **Visually indicate that the content is from the Nimrod Forum**. It doesn’t + have to be obnoxious; a discreet text blurb is fine. +* **Hyperlink directly to the original post** (e.g., + http://forum.nimrod-code.org/t/186) +* **Show the author names** for every post. +* **Hyperlink each author name** directly back to their user profile page + (e.g., http://forum.nimrod-code.org/profile/Araq) + +By “directly”, we mean each hyperlink must point directly to our domain in +standard HTML visible even with JavaScript disabled, and not use a tinyurl or +any other form of obfuscation or redirection. Furthermore, the links must not +be `nofollowed +`_. + +This is about the spirit of fair **attribution**. Attribution to the website, +and more importantly, to the individuals who so generously contributed their +time to create that content in the first place! + +Feel free to remix and reuse to your heart’s content, as long as a good faith +effort is made to attribute the content! + +Content previous to the forum license change of +http://forum.nimrod-code.org/t/186 remains under the original authors' +copyright, and therefore you cannot reuse it.