on master help sign in
Merge pull request #334 from ckipp01/master

small updates

commit0eb6242a3cbf8430b6f385d2cbde4762c2ae1f6d authorhunor karamán <karamanhunor@protonmail.com> dateFri 18 Oct 2019, 12:07 (7 years ago) parente381cee2f69297
3 files changed+22−9
.github/ISSUE_TEMPLATE/portal-issue.md+10 README.md+2−3 scripts/sites.js+10−6
.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
1818``` js
1919{
2020 /* REQUIRED */
21− url: <string url used for Portal>,
2221 contact: <string used to contact if necessary>,
2322 langs: <array of represented languages (iso codes) ex. ['en', 'fr']>,
23+ url: <string url used for Portal>,
2424
2525 /* also possible */
26+ rss: <string url for rss or atom feed>,
2627 title: <string displayed alphanumeric name, used for the Portal>,
2728 type: <string used for the Portal, ex. 'blog'>,
28− rss: <string url for rss or atom feed>,
2929
3030 /* for WIKI */
3131 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
8282This 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.
8383
8484- 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.
8685
8786## Need Help?
8887
scripts/sites.js+10−6
@@ -1,8 +1,5 @@
11'use strict'
22
3−// Don't forget the comma! No trailing slashes
4−// protocol://url.domain.ext
5−
63const sites = [
74 {
85 author: 'neauoire',
@@ -751,7 +748,7 @@ const sites = [
751748 url: 'https://royniang.com',
752749 wiki: 'https://telecom.royniang.com/usefulnotes.ndtl'
753750 },
754−
751+
755752 {
756753 author: 'raul altosaar',
757754 contact: 'raul.altosaar@gmail.com',
@@ -771,10 +768,17 @@ const sites = [
771768 },
772769
773770 {
774− url: 'https://www.johannesg.com',
775771 contact: 'johannesg@johannesg.com',
776772 langs: ['en'],
777773 title: 'Jóhannes Gunnar Þorsteinsson',
778− type: 'hybrid'
774+ type: 'hybrid',
775+ url: 'https://www.johannesg.com'
779776 }
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+
780784]