on master help sign in
small updates
2f69297ckipp01
.github/ISSUE_TEMPLATE/portal-issue.mdnew file+10
@@ -0,0 +1,10 @@
1+---
2+name: Portal issue
3+about: Report an issue with the Portal
4+title: ''
5+labels: portal
6+assignees: neauoire, kodedninja, joshavanier, ckipp01
7+
8+---
9+
10+**Please describe the issue in the portal:**
README.md+2−3
@@ -18,14 +18,14 @@ Only the `url`, `contact`, and `langs` keys are required to join the webring. Be
18``` js
18``` js
19{
19{
20 /* REQUIRED */
20 /* REQUIRED */
21− url: <string url used for Portal>,
22 contact: <string used to contact if necessary>,
21 contact: <string used to contact if necessary>,
23 langs: <array of represented languages (iso codes) ex. ['en', 'fr']>,
22 langs: <array of represented languages (iso codes) ex. ['en', 'fr']>,
23+ url: <string url used for Portal>,
24
24
25 /* also possible */
25 /* also possible */
26+ rss: <string url for rss or atom feed>,
26 title: <string displayed alphanumeric name, used for the Portal>,
27 title: <string displayed alphanumeric name, used for the Portal>,
27 type: <string used for the Portal, ex. 'blog'>,
28 type: <string used for the Portal, ex. 'blog'>,
28− rss: <string url for rss or atom feed>,
29
29
30 /* for WIKI */
30 /* for WIKI */
31 author: <string used in WIKI and HALLWAY>,
31 author: <string used in WIKI and HALLWAY>,
@@ -82,7 +82,6 @@ If you'd prefer to interact with the webring through your terminal, you can clon
82This repository does not contain mature API capabilities, but there are a couple ways to request a list of sites and other information currently in the webring.
82This repository does not contain mature API capabilities, but there are a couple ways to request a list of sites and other information currently in the webring.
83
83
84- 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) and parse it. An example can be seen [here](https://gist.github.com/ckipp01/2ab7ac42e2837b4359efeb76eb49bb54).
84- 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) and parse it. An example can be seen [here](https://gist.github.com/ckipp01/2ab7ac42e2837b4359efeb76eb49bb54).
85−- If you'd like a already parsed list, [webring-checker.now.sh/sites](https://webring-checker.now.sh/sites) will return an json array of the site objects in the webring. See [webring-checker.now.sh](https://webring-checker.now.sh) for more info on what else is available.
86
85
87## Need Help?
86## Need Help?
88
87
scripts/sites.js+10−6
@@ -1,8 +1,5 @@
1'use strict'
1'use strict'
2
2
3−// Don't forget the comma! No trailing slashes
4−// protocol://url.domain.ext
5−
6const sites = [
3const sites = [
7 {
4 {
8 author: 'neauoire',
5 author: 'neauoire',
@@ -751,7 +748,7 @@ const sites = [
751 url: 'https://royniang.com',
748 url: 'https://royniang.com',
752 wiki: 'https://telecom.royniang.com/usefulnotes.ndtl'
749 wiki: 'https://telecom.royniang.com/usefulnotes.ndtl'
753 },
750 },
754−
751+
755 {
752 {
756 author: 'raul altosaar',
753 author: 'raul altosaar',
757 contact: 'raul.altosaar@gmail.com',
754 contact: 'raul.altosaar@gmail.com',
@@ -771,10 +768,17 @@ const sites = [
771 },
768 },
772
769
773 {
770 {
774− url: 'https://www.johannesg.com',
775 contact: 'johannesg@johannesg.com',
771 contact: 'johannesg@johannesg.com',
776 langs: ['en'],
772 langs: ['en'],
777 title: 'Jóhannes Gunnar Þorsteinsson',
773 title: 'Jóhannes Gunnar Þorsteinsson',
778− type: 'hybrid'
774+ type: 'hybrid',
775+ url: 'https://www.johannesg.com'
779 }
776 }
777+
778+ // Make sure you've read the README!
779+ // Don't forget the comma on the previous entry!
780+ // No trailing slashes or commas!
781+ // Alphabetize your keys!
782+ // protocol://url.domain.ext
783+
780]
784]