From 34e84c48e010f379ded433d505cf1c5a01ad3ecd Mon Sep 17 00:00:00 2001 From: Tomasz Czarnecki Date: Sat, 1 Sep 2018 20:46:52 +0200 Subject: [PATCH] Moved sites list to external file, also added API section to README --- README.md | 9 ++++++- index.html | 64 +----------------------------------------------- scripts/sites.js | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 64 deletions(-) create mode 100644 scripts/sites.js diff --git a/README.md b/README.md index fee521e..9cbde1e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Webring -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. +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. ## Join the webring @@ -22,6 +22,13 @@ Instead of linking to the directory, you can also link to the next link in the r ``` +## API + +This repository does not contain mature API capabilities, but there is one way to request list of sites currently in the webring. + +- 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) +- Parse it as text from `[` to `]`, split by `,` and then trim all whitespace and `"` in resulting array. + ## Need Help? The 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). diff --git a/index.html b/index.html index 1a394ed..22c2480 100644 --- a/index.html +++ b/index.html @@ -6,73 +6,11 @@ + Webring diff --git a/scripts/sites.js b/scripts/sites.js new file mode 100644 index 0000000..3192100 --- /dev/null +++ b/scripts/sites.js @@ -0,0 +1,63 @@ +// protocole://url.domain.ext +let sites = [ + "https://wiki.xxiivv.com" + , "http://estevancarlos.com" + , "https://electro.pizza" + , "http://xla.wiki" + , "https://monochromatic.co" + , "https://joshavanier.github.io" + , "http://kaemura.com" + , "https://liamcooke.com" + , "https://electricgecko.de" + , "https://wichniow.ski" + , "https://hraew.autophagy.io" + , "https://evenunto.net" + , "https://anxl.faith" + , "https://xvw.github.io" + , "https://heracl.es" + , "https://felipecortez.net" + , "http://rukial.tk" + , "http://luminghao.com" + , "http://silane.pw" + , "https://theiceshelf.com" + , "https://turelio.github.io" + , "https://spaceshipsin.space" + , "http://log.lectronice.com" + , "https://craze.co.uk" + , "https://shaneckel.com" + , "https://cblgh.org" + , "https://ellugar.co" + , "http://hur.bet" + , "http://chigby.org" + , "https://0101.solar" + , "https://longest.voyage" + , "https://palomakop.tv" + , "https://travisshears.com" + , "https://v-os.ca" + , "http://secretinternet.club" + , "https://jmandel.xyz" + , "https://systems.ws" + , "https://jamesin.space" + , "https://nathanwentworth.co" + , "https://eswat.ca" + , "https://uonai.space" + , "http://controls.ee" + , "https://wasin.io" + , "https://inns.studio" + , "http://kokorobot.ca" + , "https://ameyama.com" + , "https://wake.st" + , "https://xarene.la" + , "https://alex.zyzhang.me" + , "http://bildwissenschaft.vortok.info" + , "https://jakofranko.github.com" + , "https://aeriform.io" + , "http://blog.lucasdidthis.com" + , "http://npisanti.com" + , "https://underscorediscovery.ca" + , "https://drisc.io" + , "https://neufv.website" + , "https://simbolo.xyz" + , "https://ricky.codes" + ]; + // Don't forget the comma! No trailing slashes