Check-in by ben on 2025-11-16 23:48:25 Replace PHAROS items with Internet Archive links. Work around geomyidae hURL bug on tilde.pink INSERTED DELETED 7 7 periodic.awk 7 7 TOTAL over 1 changed file Index: periodic.awk ================================================================== --- periodic.awk +++ periodic.awk @@ -1,6 +1,6 @@ -# periodic.awk version 4 by Ben Collver +# periodic.awk version 5 by Ben Collver # # Generate static gopher content for the periodic table of elements. # # Edit gopher_dir, gopher_host, and gopher_port in function main() # @@ -158,18 +158,18 @@ print "# About Gopher Periodic Table of the Elements\n" >f print "I wrote this AWK script as a fun and easy exercise." >>f print "Generating a simple gopher interface from CSV data.\n" >>f print "# See also\n" >>f - print "[1|A Visual Exploration (PDF)|/~bencollver/ia" \ - "/details/the-elements-by-theodore-gray-and-nick-mann" \ + print "[h|A Visual Exploration (PDF)|URL:https://archive.org" \ + "/details/the-elements-by-theodore-gray-and-nick-mann" \ "|tilde.pink|70]" >>f - print "[1|Periodic Table (DOS)|/~bencollver/ia" \ + print "[h|Periodic Table (DOS)|URL:https://archive.org" \ "/details/periodic-table-for-dos|tilde.pink|70]" >>f - print "[1|ATOMS (DOS)|/~bencollver/ia" \ + print "[h|ATOMS (DOS)|URL:https://archive.org" \ "/details/atoms-periodic-table-for-dos|tilde.pink|70]" >>f print "[0|ASCII Periodic Table|" \ "/users/amr66/b_scientific/periodic_table.txt" \ "|gopher.srcf.net|70]" >>f @@ -176,15 +176,15 @@ base = "https://www.meta-synthesis.com/webbook/35_pt/pt_database.php" url = base "?PT_id=748" print "[h|Hyde's Periodic Relationships of the Elements (web)|" \ - "URL:" url "|tilde.pink|70]" >>f + "URL:" url "|tilde.club|70]" >>f url = base "?PT_id=167" print "[h|Spiral Format Periodic Table (web)|" \ - "URL:" url "|tilde.pink|70]" >>f + "URL:" url "|tilde.club|70]" >>f close(f) return }