Humbird0's Projects · @humbird0
66 followers · 232 posts · Server aethy.com
Humbird0's Projects · @humbird0
66 followers · 231 posts · Server aethy.com

It's such a simple thing to foget, but I don't think I've ever showed anybody how my website's cross-poster actually works. So let's record a video of the actual process, warts and all.

#webdev #video #tutorials #rss #programming #metadata #mastodon #hashtags #gui #ui #finished #experiments #leveleditor #software #gamedesign #gamedev #design #project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
63 followers · 225 posts · Server aethy.com

I finally added alt-text to my website's update-feed editor.

The point of this editor was to make it easy for me to keep people informed with minimal effort.
I added pictures to make the text look interesting enough to read. But... sometimes they also show something relevant, and encouraging people to include alt-text seems noble, so I decided to at least add the option. I do write stories sometimes. It's reasonable that a blind person might want to know about them.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 115 posts · Server aethy.com

Now it's working.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 114 posts · Server aethy.com

I could either live dangrously and not sanitize anything, or... be only slightly less reckless and make an exception for escape codes. It's probably fine.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 113 posts · Server aethy.com

Well... no. But it's probably working. My website's just sanitizing the update posts.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 112 posts · Server aethy.com

Okay, now for the real test!
This post is being uploaded by my cross-posted to both Mastodon and my website. Will these look correct on both?

🎮 Game
📖 Story / Comic
📽 Video
✏️ Pencil
✍ Writing Hand
💾 Software
🎓 Tutorial
💡 Idea
❓ Question (already works)
🔗 Link
↘ Arrow (escaped)
↘ Arrow (literal)

#x1f3ae #x1f4d6 #x1f4fd #x1f4be #x1f393 #x1f4a1 #x1f517 #x2198 #project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 111 posts · Server aethy.com

Also multi-codepoint does NOT mean multi-byte. Apparently the emoji's that are immune to escape codes are the ones that combine multiple emoji's together, like: brown-family-of-four-women... with antennas.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 110 posts · Server aethy.com

Apparently the answer to my technical problem is just... look up the codes on emojipedia.
... and just pray that website never ever goes down during my lifetime.
emojipedia.org/

Well okay, these are standard codes so there will probably be other places to look them up. You know, like ASCii codes.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 109 posts · Server aethy.com

... except for the ones that don't.

Fuck it, let's just pretend it's part of the code we see on Emojipedia and not worry about it.

#x2198 #project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 108 posts · Server aethy.com

Success!
Also, you ARE supposed to include the 1. It's just not techically part of the code, it's part of the (extremely long) escape prefix.
& # x 1
All of that is just the prefix! An overly elaborate warning to tell the browser that you're about to enter a code. And every code will needs this...

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 106 posts · Server aethy.com

Apparently the 1 in that code is purely decorative. (why?!)
So the controller's code is F3AE not 1F3AE

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 105 posts · Server aethy.com

... Something that doesn't work. That's what.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 104 posts · Server aethy.com

That's strange. Emojipedia says the game controller DOES have a HEX code... a 5-digit hex code?? Also, this doesn't match what the HEX editor says. Where are they getting these codes from?

Hmm... what's a "shortcode?"

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 103 posts · Server aethy.com

Well that sucks. Apparently multi-codepoint emoji's don't work with escape codes.
webnots.com/how-to-insert-emoj

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 101 posts · Server aethy.com

Is it because I'm using HEX?
... No the hex code for the lion works.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 100 posts · Server aethy.com

Well that didn't work.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 98 posts · Server aethy.com

Now... how do I look up the emoji's I want?
... How do I look up the hexadecimal codes of the... oh wait... I already did.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 97 posts · Server aethy.com

It looks like this will work! Escape codes don't care about encoding. They just use basic numbers and characters within the ancient ASCii character-space, which every encoding supports.

#project_mastodoncrossposter

Last updated 2 years ago

Humbird0's Projects · @humbird0
13 followers · 96 posts · Server aethy.com

Maybe there's a way to tell NodeJS to open the JSON files with a different UTF? I'd have to guess until I found one that worked.

But maybe I don't have to. I might be able to get away with using HTML escape codes instead. It would look ugly in my Flash cross-poster, but who cares? All the outputs go to websites, and all websites use HTML.

#project_mastodoncrossposter

Last updated 2 years ago