on master help sign in
Moved sites list to external file, also added API section to README
commit34e84c48e010f379ded433d505cf1c5a01ad3ecd authorTomasz Czarnecki <creo.one@gmail.com> dateSat 1 Sep 2018, 20:46 (8 years ago) parentd499c0d
3 files changed+72−64
README.md+8−1 index.html+1−63 scripts/sites.js+63
README.md+8−1
@@ -1,6 +1,6 @@
11# Webring
22
3−This [webring](https://wiki.xxiivv.com/webring) is an attempt to inspire artists & developers to create and maintain their own website and share traffic among each other. The webring's aim is to share personal websites such as *diaries, wikis & portfolios*. To add yourself to the ring, submit an [edit](https://github.com/XXIIVV/webring/edit/master/index.html) to this repository.
3+This [webring](https://wiki.xxiivv.com/webring) is an attempt to inspire artists & developers to create and maintain their own website and share traffic among each other. The webring's aim is to share personal websites such as *diaries, wikis & portfolios*. To add yourself to the ring, submit an [edit](https://github.com/XXIIVV/webring/edit/master/index.html) to this repository.
44
55## Join the webring
66
@@ -22,6 +22,13 @@ Instead of linking to the directory, you can also link to the next link in the r
2222<a href='https://webring.xxiivv.com/#wiki.xxiivv' target='_blank'><img src='https://webring.xxiivv.com/icon.black.svg'/></a>
2323```
2424
25+## API
26+
27+This repository does not contain mature API capabilities, but there is one way to request list of sites currently in the webring.
28+
29+- Request [sites.js on xxiivv](https://webring.xxiivv.com/scripts/sites.js) or [sites.js on github](https://raw.githubusercontent.com/XXIIVV/webring/master/scripts/sites.js)
30+- Parse it as text from `[` to `]`, split by `,` and then trim all whitespace and `"` in resulting array.
31+
2532## Need Help?
2633
2734The ring is managed by [@neauoire](https://twitter.com/neauoire), but any member of the network is also welcome to join this repository as a collaborator to help manage new links and Pull Requests. Read more [here](https://wiki.xxiivv.com/webring).
index.html+1−63
@@ -6,73 +6,11 @@
66 <link rel="stylesheet" type="text/css" href="links/fonts.css"/>
77 <link rel="stylesheet" type="text/css" href="links/main.css"/>
88 <script src="scripts/portal.js"></script>
9+ <script src="scripts/sites.js"></script>
910 <title>Webring</title>
1011</head>
1112<body>
1213 <script>
13− // protocole://url.domain.ext
14− let sites = [
15− "https://wiki.xxiivv.com"
16− , "http://estevancarlos.com"
17− , "https://electro.pizza"
18− , "http://xla.wiki"
19− , "https://monochromatic.co"
20− , "https://joshavanier.github.io"
21− , "http://kaemura.com"
22− , "https://liamcooke.com"
23− , "https://electricgecko.de"
24− , "https://wichniow.ski"
25− , "https://hraew.autophagy.io"
26− , "https://evenunto.net"
27− , "https://anxl.faith"
28− , "https://xvw.github.io"
29− , "https://heracl.es"
30− , "https://felipecortez.net"
31− , "http://rukial.tk"
32− , "http://luminghao.com"
33− , "http://silane.pw"
34− , "https://theiceshelf.com"
35− , "https://turelio.github.io"
36− , "https://spaceshipsin.space"
37− , "http://log.lectronice.com"
38− , "https://craze.co.uk"
39− , "https://shaneckel.com"
40− , "https://cblgh.org"
41− , "https://ellugar.co"
42− , "http://hur.bet"
43− , "http://chigby.org"
44− , "https://0101.solar"
45− , "https://longest.voyage"
46− , "https://palomakop.tv"
47− , "https://travisshears.com"
48− , "https://v-os.ca"
49− , "http://secretinternet.club"
50− , "https://jmandel.xyz"
51− , "https://systems.ws"
52− , "https://jamesin.space"
53− , "https://nathanwentworth.co"
54− , "https://eswat.ca"
55− , "https://uonai.space"
56− , "http://controls.ee"
57− , "https://wasin.io"
58− , "https://inns.studio"
59− , "http://kokorobot.ca"
60− , "https://ameyama.com"
61− , "https://wake.st"
62− , "https://xarene.la"
63− , "https://alex.zyzhang.me"
64− , "http://bildwissenschaft.vortok.info"
65− , "https://jakofranko.github.com"
66− , "https://aeriform.io"
67− , "http://blog.lucasdidthis.com"
68− , "http://npisanti.com"
69− , "https://underscorediscovery.ca"
70− , "https://drisc.io"
71− , "https://neufv.website"
72− , "https://simbolo.xyz"
73− , "https://ricky.codes"
74− // Don't forget the comma! No trailing slashes
75− ]
7614 let portal = new Portal(sites);
7715 portal.start();
7816 </script>
scripts/sites.jsnew file+63
@@ -0,0 +1,63 @@
1+// protocole://url.domain.ext
2+let sites = [
3+ "https://wiki.xxiivv.com"
4+ , "http://estevancarlos.com"
5+ , "https://electro.pizza"
6+ , "http://xla.wiki"
7+ , "https://monochromatic.co"
8+ , "https://joshavanier.github.io"
9+ , "http://kaemura.com"
10+ , "https://liamcooke.com"
11+ , "https://electricgecko.de"
12+ , "https://wichniow.ski"
13+ , "https://hraew.autophagy.io"
14+ , "https://evenunto.net"
15+ , "https://anxl.faith"
16+ , "https://xvw.github.io"
17+ , "https://heracl.es"
18+ , "https://felipecortez.net"
19+ , "http://rukial.tk"
20+ , "http://luminghao.com"
21+ , "http://silane.pw"
22+ , "https://theiceshelf.com"
23+ , "https://turelio.github.io"
24+ , "https://spaceshipsin.space"
25+ , "http://log.lectronice.com"
26+ , "https://craze.co.uk"
27+ , "https://shaneckel.com"
28+ , "https://cblgh.org"
29+ , "https://ellugar.co"
30+ , "http://hur.bet"
31+ , "http://chigby.org"
32+ , "https://0101.solar"
33+ , "https://longest.voyage"
34+ , "https://palomakop.tv"
35+ , "https://travisshears.com"
36+ , "https://v-os.ca"
37+ , "http://secretinternet.club"
38+ , "https://jmandel.xyz"
39+ , "https://systems.ws"
40+ , "https://jamesin.space"
41+ , "https://nathanwentworth.co"
42+ , "https://eswat.ca"
43+ , "https://uonai.space"
44+ , "http://controls.ee"
45+ , "https://wasin.io"
46+ , "https://inns.studio"
47+ , "http://kokorobot.ca"
48+ , "https://ameyama.com"
49+ , "https://wake.st"
50+ , "https://xarene.la"
51+ , "https://alex.zyzhang.me"
52+ , "http://bildwissenschaft.vortok.info"
53+ , "https://jakofranko.github.com"
54+ , "https://aeriform.io"
55+ , "http://blog.lucasdidthis.com"
56+ , "http://npisanti.com"
57+ , "https://underscorediscovery.ca"
58+ , "https://drisc.io"
59+ , "https://neufv.website"
60+ , "https://simbolo.xyz"
61+ , "https://ricky.codes"
62+ ];
63+ // Don't forget the comma! No trailing slashes