Login with OpenID Sign Up
foolishmortal.org
<< View Danial Forde's Profile

Message by Danial Forde

Dan Kuck-Alvarez

Formatting is permissible and a WYSIWYG editor is on the list of things to do here on foolishmortal.org.

The spec indicates that messagses should be in XHTML and adds a few namespaced element types to handle some customization. http://socknet.net/w/Socknet_Message_Format

When messages are shown, they are filtered for specific elements, attributes, and certain attribute values. Such as <style> tags and style attributes. (Actually style tags are so useful that we may have to dive into them and just get rid of the bad parts.)

Allowing for bbcode is not a bad idea and it would be as simple as converting that bbcode into HTML when sending it to friends. It may require that messages be stored in both bbcode and HTML format so that they can be easily edited later.

Thu May 27, 2010 at 01:29:53 PM EDT permalink [public]
Danial Forde Somehow I feel I am committing some great evil by corrupting your nice layout with the ability to produce the garish and nightmarish text formating of cheap add hosted forums about inane topics >.<
Thu May 27, 2010 at 12:18:39 PM EDT permalink [public]
Danial Forde That does not look that bad and can safely done clientside! http://code.google.com/p/bbcodejs/
Thu May 27, 2010 at 12:00:56 PM EDT permalink [public]
Danial Forde

www.google.com <-link
[b/]bold?[/b]
*adds simple text markup to todo list

and if you name the div you put the messages in then it can be done as a footer script. muahahah

Thu May 27, 2010 at 12:20:37 PM EDT permalink [public]
Danial Forde What I propose is a BBcode to html javascript on clientside, and a remove all formating stuff code, then, you can store and handle all the messages in bbcode (which limits nastier stuff like iframes and inserted javascript) and also have the user option to remove all formatting from posts they view. The term BBcode might have to go though, too much bad Dharma associated with it, something like PNM (PNM is not a markup) suits my tastes better :)
Thu May 27, 2010 at 01:46:47 PM EDT permalink [public]
The Socknet: Reclaim your social network.