licensing.xhtml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * <https://y.st./>
  4. * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <https://www.gnu.org./licenses/>.
  18. **/
  19. $xhtml = array(
  20. 'title' => 'Website component licensing',
  21. 'subtitle' => 'The licenses that apply to this website and individual files',
  22. 'copyright year' => '2017',
  23. 'body' => <<<END
  24. <p>
  25. As a whole, this website is offered to you under the terms of the $a[GNU] General Public License version Three.
  26. At your option, you may instead use any later version of this license, as published by the $a[FSF].
  27. I may not like the $a[FSF] because of their noxious attitude toward the freedoms needed with non-software, but their software license fits the needs of this website well.
  28. Additionally, individual files may be under additional and more permissive licenses.
  29. If the file is in a text-based format that allows comments (for example, $a[XHTML], $a[CSS], and JavaScript), the license information that applies to that file will be in the comments.
  30. $a[XHTML] files additionally have this information in the footer, though this would break $[CSS] and JavaScript files, so you&apos;ll just have to read the comments of those.
  31. Files with paths ending in &quot;.asc&quot; are released as-is.
  32. They&apos;re signature files and you may not have the private key that I used to sign my pages.
  33. If you edit my pages and wish the edited version to be signed, you&apos;ll need to sign with your own key as to not misrepresent me.
  34. That said, the signature files are still under the same license as the rest of the website, so if you wanted to use them for something, you&apos;d be able to, though I can&apos;t fathom what they&apos;d be useful for.
  35. The <a href="/a/canary.txt">canary</a> file also doesn&apos;t specify a license, but again, is covered by the $a[GNU] {$a['GPLv3+']} with no signing key provided.
  36. The non-text files of this website have typically been stored using file paths that reference both the license and the domain that the file originated from.
  37. There has been one exception to this, and that has been any image that is referenced in $a[XHTML] files using the <code>&lt;link/&gt;</code> tag (directly (in the case of the website icon) or indirectly (in the case of images used in $a[CSS])).
  38. As of <span title="{$entry(2017, 02, 01)}">2017-02-01</span>, this exception has been corrected.
  39. All non-text files are dual licensed under the $a[GNU] {$a['GPLv3+']} and a license specified in the path.
  40. The path format is as follows:
  41. </p>
  42. <blockquote>
  43. <p>
  44. /{tag}/{license}/{domain}/{image}
  45. </p>
  46. </blockquote>
  47. <p>
  48. {tag} is the $a[XHTML] tag used to reference the file, and is mainly for internal use.
  49. It won&apos;t apply to your use outside of this website.
  50. {license} is the abbreviation of the name of the license that applies in addition to the $a[GNU] {$a['GPLv3+']}.
  51. This will usually be either a {$a['CC BY']} or {$a['CC BY-SA']} license with a particular version number.
  52. {domain} will be the domain in which the image originated from.
  53. In cases where the image didn&apos;t originate from this domain, I&apos;ll usually include more complete attribution in the $a[XHTML] file that references the image.
  54. {image} can be anything that completes the path.
  55. It may contain one or several nested directories and will contain the file name including the file extension.
  56. This information, like {tag}, may not be meaningful for your purposes and can be thrown away.
  57. </p>
  58. <p>
  59. For your convenience as well as mine, a couple Git repositories exist that show this website&apos;s code in full:
  60. </p>
  61. <ul>
  62. <li>
  63. <a href="https://git.vola7ileiax4ueow.onion/y.st./y.st.">On Volatile Git</a>
  64. </li>
  65. <li>
  66. <a href="https://notabug.org./y.st./y.st.">On NotABug.org</a>
  67. </li>
  68. </ul>
  69. <p>
  70. As of late, these repositories have not been seeing daily updates.
  71. Be patient though, updates are made available about monthly.
  72. </p>
  73. END
  74. );