Domains for links in topics just show two levels
-
As you can see here, the BBC link helpfully has
co.uk
next to it, rather thatbbc.co.uk
which would be useful. Is it really that much trouble to filter by ccTLD and have a rule for some TLDs that shows three whole levels of DNS name?Apologies if this has come up before, but I couldn't see anything.
-
here are some links.
-
Discourse... the gift that keeps on giving.
-
@lolwhat - Days Since Last Discourse Bug: -1
-
Apologies if this has come up before, but I couldn't see anything.
It's not like the search has some problems finding relevant results when you don't know the exact words that were used ...
Not to forget, bugs regressing in slightly different ways than how they originally occurred.Makes me wonder why nobody noticed this before, though.
-
Or just show three levels of the domain, no matter the TLD
Edit: See for a good reason
-
Working out whether a particular suffix should be shortened or not is non-trivial, as it depends on what are true domains and what aren't, which changes from time to time according to various business pressures in naming (i.e., not on any real technical basis). There's a helpful list online, but it's a genuinely messy problem.
-
Agreed, but the list there is a good start. I remembered it being at Mozilla, but that seems to have moved to the thing you linked. And, I mean, anything would be an improvement on the current output, really... The Discourse team just need to make sure they're on the ball and keep up to date with the announced changes to the list, which should be a pretty simple task for ... well, it should be a task for them, at least.
-
Refetching the list once a month would be enough; the types of domains it describes tend to not acquire large amounts of content rapidly when they've just been created (on the list). Browsers have to fetch the list periodically too; it's necessary for detecting some types of cookie spoofing.
-
I don't see the need for anything other than:
URI.parse('http://ed.ac.uk/').getDomain();
Maybe I am missing something?
-
-
It's Discourse
I'll accept this answer.
But, regarding Ruby, what I posted was JavaScript which is what they are already using to do this:Apparently, IE only oops...
-
-
URI.parse('http://what.thedailywtf.com/').getDomain() "what.thedailywtf.com"
I don't think so. Unless you're advocating showing the entire domain, instead of only up to the first company-specific level?
-
first company-specific level?
why only show that?
ihategoatsandpigs.tumblr.com
is a verry different site thanonlycutekittens.tumblr.com
and for the record i pulled both of those out of my tail. i have no idea if they are actual tumblr blogs nor what is on them if they exist.
-
-
It's tumblr so probably filth anyway.
Well, neither of them exist (at the time of posting), so you're safe ;)
-
Natch. No-one hates goats and pigs.
-
It's tumblr so probably filth anyway.
well yes. but two very different kinds, which was rather my point.
-
Natch. No-one hates goats and pigs.
Are tumblrs supposed to reveal what the owner really thinks about something? That's a scary thought.
-
-
Natch. No-one hates goats and pigs.
You mean nobody hates 'goat sand-pigs', a rare cross-breed found in deserts?
-
What is this sand-pig, and what is it doing in my dessert?
-
-
Even better:
-
Ah, it's okay here. On PJH's instalation I get this:
-
Testing
For some reason, I get redirected to testing.com... maybe that's a Firefox thing.
-
For some reason, I get redirected to testing.com... maybe that's a Firefox thing.
It doesn't happen on Chrome. Try this link:
-
yesssss
-