Stories
Slash Boxes
Comments

SoylentNews is people

Journal by takyon

Regional Indicator Symbol

I am adding some flag emoji to the Soylent Upgrade extension. It seems to work although they don't render as anything other than letters or boxes on my main system. I'm sure that 95% of them will work on my Chromebook, however.

I don't want to include every possible flag on the list (sorry Lesotho, New Caledonia, Svalbard and Jan Mayen...). I included the ten that were proposed as part of a draft standard in 2007, flags of the ten most populous countries (Bangladesh, Nigeria, and Indonesia OMG), the EU flag, Puerto Rico, and a number of other territories that are in the news often or are amusing.

Fun fact, separate emoji for England, Scotland, and Wales were added to Unicode in 2017. Good timing! I added England to my list below, but it renders very differently from the other symbols, showing up as one box instead of two boxes, "GBENG", or whatever.

There is no Nazi flag in Unicode, aristarchus, I already checked. However, it might be fun to speculate on what unreserved regional indicator (of the 26x26) could be used. NZ = New Zealand and SS = South Sudan so those are out. Actually, given that GB-ENG, GB-SCT, and GB-WLS were added, you are no longer constrained by 676 choices (is it 26^5 or 11,881,376 now?) and DE-NZI might be the best option. US-NZI? US-CSA?

Should the flag of Antarctica be orange?

Here's what I have included so far:

🇦🇫 - \uD83C\uDDE6\uD83C\uDDEB - AF / Afghanistan
🇦🇶 - \uD83C\uDDE6\uD83C\uDDF6 - AQ / Antarctica
🇦🇺 - \uD83C\uDDE6\uD83C\uDDFA - AU / Australia
🇧🇩 - \uD83C\uDDE7\uD83C\uDDE9 - BD / Bangladesh
🇧🇷 - \uD83C\uDDE7\uD83C\uDDF7 - BR / Brazil
🇨🇦 - \uD83C\uDDE8\uD83C\uDDE6 - CA / Canada
🇨🇳 - \uD83C\uDDE8\uD83C\uDDF3 - CN / China
🇨🇺 - \uD83C\uDDE8\uD83C\uDDFA - CU / Cuba
🇩🇪 - \uD83C\uDDE9\uD83C\uDDEA - DE / Germany
🇪🇬 - \uD83C\uDDEA\uD83C\uDDEC - EG / Egypt
🇪🇸 - \uD83C\uDDEA\uD83C\uDDF8 - ES / Spain
🇪🇺 - \uD83C\uDDEA\uD83C\uDDFA - EU / European Union
🇫🇷 - \uD83C\uDDEB\uD83C\uDDF7 - FR / France
🇬🇧 - \uD83C\uDDEC\uD83C\uDDE7 - GB / United Kingdom
🏴󠁧󠁢󠁥󠁮󠁧󠁿 - \uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F - GB-ENG / England
🇮🇩 - \uD83C\uDDEE\uD83C\uDDE9 - ID / Indonesia
🇮🇪 - \uD83C\uDDEE\uD83C\uDDEA - IE / Ireland
🇮🇱 - \uD83C\uDDEE\uD83C\uDDF1 - IL / Israel
🇮🇳 - \uD83C\uDDEE\uD83C\uDDF3 - IN / India
🇮🇶 - \uD83C\uDDEE\uD83C\uDDF6 - IQ / Iraq
🇮🇷 - \uD83C\uDDEE\uD83C\uDDF7 - IR / Iran
🇮🇹 - \uD83C\uDDEE\uD83C\uDDF9 - IT / Italy
🇯🇵 - \uD83C\uDDEF\uD83C\uDDF5 - JP / Japan
🇰🇵 - \uD83C\uDDF0\uD83C\uDDF5 - KP / North Korea
🇰🇷 - \uD83C\uDDF0\uD83C\uDDF7 - KR / South Korea
🇲🇽 - \uD83C\uDDF2\uD83C\uDDFD - MX / Mexico
🇳🇬 - \uD83C\uDDF3\uD83C\uDDEC - NG / Nigeria
🇵🇰 - \uD83C\uDDF5\uD83C\uDDF0 - PK / Pakistan
🇵🇷 - \uD83C\uDDF5\uD83C\uDDF7 - PR / Puerto Rico
🇵🇸 - \uD83C\uDDF5\uD83C\uDDF8 - PS / Palestinian Territory
🇷🇺 - \uD83C\uDDF7\uD83C\uDDFA - RU / Russia
🇸🇦 - \uD83C\uDDF8\uD83C\uDDE6 - SA / Saudi Arabia
🇸🇪 - \uD83C\uDDF8\uD83C\uDDEA - SE / Sweden
🇹🇷 - \uD83C\uDDF9\uD83C\uDDF7 - TR / Turkey
🇺🇸 - \uD83C\uDDFA\uD83C\uDDF8 - US / United States
🇻🇦 - \uD83C\uDDFB\uD83C\uDDE6 - VA / Vatican City
🇻🇪 - \uD83C\uDDFB\uD83C\uDDEA - VE / Venezuela
🇿🇦 - \uD83C\uDDFF\uD83C\uDDE6 - ZA / South Africa

If you think a country should be included, comment and make your case.

South American representation is looking particularly bad.

Antarctica, England, and Puerto Rico and others should probably be removed if they just don't render anywhere.

One stupid thing is that there is currently no way for me to add a tooltip that identifies the flag your are hovering over. I will think about the best way to add this.

-----

New ordered list buttons will be added. Now the type attribute can be changed (discussed here). Clicking the "1. List" button will output <ol type="1">. "A. List" adds type="A", and "I. List" adds type="I" (Roman numerals). I could make two more buttons for the lowercase versions, but that seems excessive. Having the two new options should be a good enough reminder that you can change the look of your ordered list.

  1. Wow
  2. Who
  3. Even
  4. Uses
  5. Roman
  6. Numerals
  7. Anymore
  8. Latin
  9. Is
  10. A
  11. Dead
  12. Language
  13. Plus
  14. What
  15. Happened
  16. To
  17. The
  18. Zero?

  1. This
  2. Is
  3. A
  4. Test

  1. This
  2. Is
  3. Another
  4. Test

Too bad we can't access the incredible variety added by CSS3 and later's list-style-type.

Also on the agenda:

  • Title case fix(es) such as "IPhone" to "iPhone".
  • Fix so the title case button appears even after you have previewed a journal.
  • Recognize the poll results/comments page so commenting features are added. The URL in question is https://soylentnews.org/pollBooth.pl?qid=110&aid=-1 where QID is the number of the poll.
  • Take a look at *New* comment cycling. The button appears on some individual thread pages where there are no actual new comments (but there were new comments on the overall story).

These are just ideas:

Maybe a "Now" button on admin.pl?op=edit so editors can set the story release time to the current time. Not sure about this, would entertain other ideas about the release time field, such as manipulation of the time using [+60m] and [+90m] buttons (including correct handling of the date change). The only thing the extension currently does with this field is add a check to make sure whether or not you want to post a story in the past (typically because you forgot to add a day).

If I missed anything or you have any ideas, let me know.

 

Post Comment

Edit Comment You are not logged in. You can log in now using the convenient form below, or Create an Account, or post as Anonymous Coward.

Public Terminal

Anonymous Coward [ Create an Account ]

Use the Preview Button! Check those URLs!


Score: 0 (Logged-in users start at Score: 1). Create an Account!

Allowed HTML
<b|i|p|br|a|ol|ul|li|dl|dt|dd|em|strong|tt|blockquote|div|ecode|quote|sup|sub|abbr|sarc|sarcasm|user|spoiler|del>

URLs
<URL:http://example.com/> will auto-link a URL

Important Stuff

  • Please try to keep posts on topic.
  • Try to reply to other people's comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)
  • If you want replies to your comments sent to you, consider logging in or creating an account.

If you are having a problem with accounts or comment posting, please yell for help.