Conversation:
Notices
-
@moonman 1. Tags (as in how they're actually recognized) are sent as Atom "category". How (_if_) they're represented in the rendered HTML is dependent on software that generates it. I don't think we should mess with the rendered notices except perhaps hide stuff (like with notice URLs in !Qvitter that are shown as their full representations instead). 2. Not using a reg…
-
@maiyannah Emojis (images) should reasonably be implemented by having a javascript loaded at runtime, looking for the proper Unicode bytecodes and then exchanging them to the proper <img> tags. No need to store an alternative rendering (because Unicode emojis are very easy to detect).
-
@moonman 1. That Diaspora relative URL link thing is already fixed: http://status.hackerposse.com/url/10390 2. I personally think these things shouldn't be messed since the notice is already rendered as the original user intended it to. If you want to mark up stuff differently, then it should be fixed in the posting client. Default !GNUsocial assumes bare text. (One wa…
-
@maiyannah Why would you have different emoji processing per notice when there's an entirely separate codeblock in (WESTERN OPPRESSOR) Unicode for those characters? It's not like you're doing on-the-fly colon-parenthesis to <img> conversion :]
-
@moonman Oh and I'd suggest to you too that these manipulations would probably be best to do in client-side javascript. No need to mess with database or whatever. Just some regex like 's/^(\>me .*$)/<span class="pukegreencrap">\1</span>/' or however you do it in javascript...
-
@maiyannah I'm a purist and think the rendered representation (HTML) of a notice is best kept as it was originally intended by the posting user. If you want encouragement to manipulate that data, you'll have to look elsewhere ;)
-
@maiyannah That's much easier to do if you leave the unicode characters as is and don't hide it in arbitrary HTML ;)
-
@Moonman I'm sure we could make style="color:green;" pass the HTMLPurifier filter...
-
@moonman Yeah, it'd kinda suck if you could hide text... I hate the web.