[JDEV] client proposal

Anders Qvist quest at netg.se
Wed Sep 8 15:08:52 CDT 1999


On Wed, 8 Sep 1999, Jerrad Pierce wrote:

> message formatting.
> 
> a la zephyr
> 
> @style[text]
> 
> style           does                 alias
> @bold           Bold                 @b
> @center         Centered text        @c
> @huge           Huge text	     
> @italic         Italicized           @i
> @large          large text
> @plain          Normal text
> @right          Right aligned text
> @small          Small text
> 
> any bracketing tags can be used in place of [].
> styles can be imbeded ad infinitum
> 
> just a thought of course this means @ needs to be escaped if it wants to be
> displayed. but a smart parser should realize if there is no container tag,
> then no message formatting is to take place, and leave the @ alone
> 
> I realize a lot of people would probably want HTML style formatting, I don't
> see why both couldn't be implemented. Of course it's entirely up to the
> client.

Once the MIME proposal gets integrated, you can have any formatting style
you want; eg "Content-Type: text/x-jabber-formatted-with-weird-squiggles"
:)

Personally, I'd prefer using XML for formatting info, as this takes care
of any escaping and such.

Anders "Quest" Qvist
NetGuide Scandinavia

And we who listen to the sky, or walk the dusty grade,
Or break the very atoms down, to see how they are made,
Or study cells, or living things, seek truth with open hand;
The profoundest act of worship is to try to understand.

-- Catherine Faber, "The Word of God"





More information about the JDev mailing list