Skip to content

Commit 209869d

Browse files
committed
rsl license.xml
1 parent f524115 commit 209869d

7 files changed

Lines changed: 29 additions & 4 deletions

File tree

handler/demozoo/demozoo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ const (
596596
// groups returns a map of releasers URIs mapped to their Demozoo IDs.
597597
func groups() Groups { //nolint:funlen,maintidx
598598
return Groups{
599+
"shade": 138682,
599600
"digital-corruption": 5425,
600601
"dextrose": 136063,
601602
"fuck-off-or-die": 18992,

handler/router.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func (c *Configuration) embed(e *echo.Echo, public embed.FS) *echo.Echo {
117117
panic(fmt.Errorf("%s: %w", msg, err))
118118
}
119119
e.FileFS("/favicon.ico", "public/image/favicon.ico", public)
120+
e.FileFS("/license.xml", "public/text/license.xml", public)
120121
e.FileFS("/osd.xml", "public/text/osd.xml", public)
121122
e.FileFS("/robots.txt", "public/text/robots.txt", public)
122123
e.FileFS("/js/wdosbox.wasm.js", "public/js/wdosbox.wasm", public) // this is required by `js-dos.js`

handler/site/site.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ type Groups map[URI][]Website
2828
// - NotWorking will not apply a hyperlink to the URL.
2929
func Websites() Groups {
3030
return Groups{
31+
"shade": {
32+
{URL: "www.suburbia.net/~shade", NotWorking: true},
33+
},
3134
"infinite-darkness-bbs": {
3235
{URL: "infidark.nws.net", NotWorking: true, Name: "former Telnet"},
3336
},

public/js/editor-artifact.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/uploader.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/text/license.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<rsl xmlns="https://rslstandard.org/rsl">
2+
<content url="/">
3+
<license>
4+
<permits type="usage">all</permits>
5+
<payment type="attribution">
6+
<standard>https://creativecommons.org/licenses/by/4.0/</standard>
7+
</payment>
8+
</license>
9+
</content>
10+
<content url="/v/">
11+
<license>
12+
<prohibits type="usage">all</prohibits>
13+
</license>
14+
</content>
15+
<content url="/f/">
16+
<license>
17+
<prohibits type="usage">all</prohibits>
18+
</license>
19+
</content>
20+
</rsl>

view/app/layout.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
<meta name="defacto2:file-count" content="{{$cachefiles}}">
4141
<meta name="defacto2:version" content="{{ version }}">
4242
<meta name="defacto2:heya" content="Did you know this app is open source?
43-
Check out and star our repository,
44-
https://github.com/Defacto2/server">
43+
Check out and star our repository: https://github.com/Defacto2/server">
4544
<meta name="monetization" content="$ilp.uphold.com/RpWPnb88yLaF">
4645
<meta name="format-detection" content="telephone=no">
4746
<meta name="format-detection" content="address=no">
@@ -94,6 +93,7 @@
9493
<link rel="alternate" href="{{$github}}" type="text/html" title="Defacto2 organisation on GitHub">
9594
<link rel="alternate" href="https://demozoo.org/groups/10000/" type="text/html" title="Defacto2 group profile on Demozoo">
9695
<link rel="terms-of-service" href="{{$cc}}" title="CC BY 4.0 DEED">
96+
<link rel="license" type="application/rsl+xml" href="/license.xml">
9797
{{- /* opensearch.org */}}
9898
<link rel="search" href="/osd.xml" type="application/opensearchdescription+xml" title="Defacto2 search">
9999
{{- /* cascading style sheets */}}

0 commit comments

Comments
 (0)