mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Join Netizens webring
This commit is contained in:
parent
c648324fe6
commit
2bdcd17970
2 changed files with 13 additions and 1 deletions
|
@ -38,4 +38,4 @@
|
|||
{{- end -}}
|
||||
</ol>
|
||||
</details>
|
||||
<p>If you’re part of a webring and would like me to join, just ask. I’ll probably accept if joining only requires me to add hyperlinks to this page (no scripts, external content, or images), and if the ring doesn’t seem to promote anything I find objectionable.</p>
|
||||
<p>If you’re part of a webring and would like me to join, just ask.</p>
|
||||
|
|
|
@ -85,9 +85,21 @@ endless_orbit() {
|
|||
echo
|
||||
}
|
||||
|
||||
netizens() {
|
||||
printf 'Netizens,'
|
||||
{
|
||||
curl -sSL --compressed https://netizensring.link/onionring-variables.js \
|
||||
| grep -C 1 https://seirdy.one/ | sd -s '];' "'https://netizensring.link/,'"
|
||||
echo "'null',"
|
||||
} | sd 'https://seirdy.one/,?' 'https://netizensring.link/,' \
|
||||
| sd "\n|'" '' | trim_trailing_comma
|
||||
echo
|
||||
}
|
||||
|
||||
print_csv_values() {
|
||||
george
|
||||
endless_orbit
|
||||
netizens
|
||||
}
|
||||
|
||||
if [ "$dry_run" = '1' ]; then
|
||||
|
|
Loading…
Reference in a new issue