# Topic "popular links" panel domain extraction doesn't handle country TLDs

**URL:** <https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156>\
**Category:** Bug\
**Created:** [March 30, 2017, 4:32am UTC](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156 "2017-03-30T04:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [March 31, 2017, 11:44pm UTC](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156/25 "2017-03-31T23:44:06Z")

</div>

> [@tgxworld](#):
>
> the heuristic algorithm will only produce kumamoto.jp which is not what we want

I think it _is_ what we want. Just a hint where the link going – some domain in Japan. That’s enough, and correct.

The perfect is the enemy of the good, my friends.

(turns out Kumamoto is [a prefecture in Japan](https://en.wikipedia.org/wiki/Kumamoto_Prefecture), I guess analogous to a “state” in the “united states” so that’s plenty good. The US equivalent might be `tulsa.oklahoma.us` which means seeing a link as `oklahoma.us` is **absolutely correct!** )

---

_[View the full topic](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156)._
