Timeline for please add a key fields to stackauth results
Current License: CC BY-SA 2.5
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2020 at 8:33 | history | edited | CommunityBot |
Commonmark migration
|
|
Mar 17, 2017 at 10:37 | history | edited | CommunityBot |
replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
|
|
Jul 1, 2010 at 12:10 | history | edited | Mark Henderson | CC BY-SA 2.5 |
added 318 characters in body; added 409 characters in body
|
Jun 27, 2010 at 23:52 | comment | added | Mark Henderson | @Code, thanks - pity we have to work around these things by wrapping a wrapper, but oh well. | |
Jun 27, 2010 at 17:56 | comment | added | Sky Sanders |
as noted in the question update, I am simply adding a read-only id property to my Site domain class that returns the name lcased with whitespace removed. If the name is guaranteed to be unique, barring any bizarre name variants, this should sufficiently serve as a key.
|
|
Jun 25, 2010 at 10:18 | comment | added | systempuntoout | sure, your regex should handle this case taking third\forth\etc. levels domain into account. (area51.stackexchange , odata.stackexchange would be your keys) Something like : ^http://(.*)\.com$ | |
Jun 25, 2010 at 9:25 | comment | added | Mark Henderson | @system - sure, but then to find the associated record in the StackAuth list you have to do serial search to find it, and then you could get multiple matches (what if they launch two sites on the same 2nd level domain? Liiikee... area51.stackexchange.com and odata.stackexchange.com) - it's just not unique enough. | |
Jun 25, 2010 at 9:02 | comment | added | systempuntoout | sorry if it seems naive but, could you just extract the second level domain from url with regex using it as a key? | |
Jun 25, 2010 at 4:42 | vote | accept | Sky Sanders | ||
Jun 25, 2010 at 0:25 | history | answered | Mark Henderson | CC BY-SA 2.5 |