Talk:List of Internet top-level domains

Zundark, why did remove the bullets from List of Internet TLDs GTLDs? Noldoaran 20:41, Nov 27, 2003 (UTC)

Because it looks better when everything lines up properly. --Zundark 08:22, 28 Nov 2003 (UTC)



Is the .sj domain not in use? Google lists one http://einkaritara.sj/ domain name. ᚣᚷᚷᛞᚱᚫᛋᛁᛚ 03:07, 19 May 2004 (UTC)

According to Norid (http://www.norid.no/domenenavnbaser/bv-sj.html), to whom it is assigned, .sj is not in use. I get a DNS look-up failure for einkaritara.sj, don't you? Google lists three .sj pages (http://www.google.com/search?q=site%3Asj), but it has no cache of these pages, and none of them work for me. Further experimentation shows that Google lists pages with TLDs that don't exist at all. It has no cache of such pages, of course. Perhaps non-existent pages are listed if there are links to them (though I can't find any such links at the moment). --Zundark 07:23, 19 May 2004 (UTC)

.something links

Why some TLDs are links and others aren't?

Becuase those with links have articles regarding that particular TLD? I don't think there are articles for most TLDs, and if they were all links it would be a big sea of red. --kjd 06:54, 24 Aug 2004 (UTC)

Converted to table

I've recently written quick programs to convert text data presented in tabular form into tables to improve accessibility. Here's the program I used on this article:

 // File:    convert-tld.cpp
 // License: Public domain
 // Author:  Ardonik
 #include <fstream>
 #include <iostream>
 #include <string>
 using namespace std;

 void generate(istream& in, ostream& out) {
   out << "{| border=\"1px\" cellspacing=\"0\" cellpadding=\"2px\"\n";
   out << "|- style=\"background-color: #a0d0ff;\"\n";
   out << "!TLD!!Country or entity!!Notes\n";
   out << "|-\n";

   string line;
   while (getline(in, line)) {
     // If the line begins with [[, the TLD is linked, and we need to find the
     // end of it.  Otherwise, search for whitespace.
     string tld, remainder;
     size_t tld_start = 1, remainder_start;
     if (line.substr(tld_start, 2) == "[[")
       tld = line.substr(tld_start, line.find("]]", tld_start) + 2 - tld_start);
     else
       tld = line.substr(tld_start, line.find(" ", tld_start) - tld_start);
     remainder_start = line.find_first_not_of(" ", tld_start + tld.length());
     remainder = line.substr(remainder_start);
     out << "|" << tld << "||" << remainder << "|| \n"; // Will fill in 3rd
     out << "|-\n";                                          // columns by hand
   }
   out << "|}\n";
   if (in.fail() && !in.eof()) cout << "Could not read from input\n";
   if (out.fail()) cout << "Could not write to output\n";  
 }

 int main(int argc, char* argv[]) {
   if (argc != 3) {
     cout << "Usage: " << argv[0] << " [infile] [outfile]\n";
     cout << "  If infile is \"-\", input will be read from stdin.\n";
     cout << "  If outfile is \"-\", output will be written to stdout.\n";
     return 0;
   }
   string infile = argv[1], outfile = argv[2];
   if (infile == "-" && outfile == "-") {
     generate(cin, cout);
   } else if (infile == "-") {
     ofstream out(outfile.c_str());
     generate(cin, out);
   } else if (outfile == "-") {
     ifstream in(infile.c_str());    
     generate(in, cout);
   } else {
     ifstream in(infile.c_str());    
     ofstream out(outfile.c_str());    
     generate(in, out);
   }
   return 0;
 }

To use it, copy the tld text from the pre-table version (http://en.wikipedia.org/w/wiki.phtml?title=List_of_Internet_TLDs&oldid=5730373) of the page into a text file. Run convert-iso on it and the Wikified table will be printed to stdout. You'll still have to copy the parenthetical information into the third columns by hand--they were too inconsistent for me to automate their parsing without expending more than a minimal effort. --Ardonik.talk() 01:32, Sep 8, 2004 (UTC)

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools