Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved sites list to external file, also added API section to README #76

Merged
merged 1 commit into from
Sep 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -22,6 +22,13 @@ Instead of linking to the directory, you can also link to the next link in the r
<a href='https://webring.xxiivv.com/#wiki.xxiivv' target='_blank'><img src='https://webring.xxiivv.com/icon.black.svg'/></a>
```

## 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).
64 changes: 1 addition & 63 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,73 +6,11 @@
<link rel="stylesheet" type="text/css" href="links/fonts.css"/>
<link rel="stylesheet" type="text/css" href="links/main.css"/>
<script src="scripts/portal.js"></script>
<script src="scripts/sites.js"></script>
<title>Webring</title>
</head>
<body>
<script>
// 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
]
let portal = new Portal(sites);
portal.start();
</script>
Expand Down
63 changes: 63 additions & 0 deletions scripts/sites.js
Original file line number Diff line number Diff line change
@@ -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