Enable HTML language in opinions?

Locked
User avatar
[Mike of the Desert]
Joined: Fri Jul 25, 2003 5:56 am
Status: Lonely
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Contact:
Org Profile

Enable HTML language in opinions?

Post by [Mike of the Desert] » Sat Jul 16, 2005 11:00 am

Enable HTML language in opinions.

Could that be possible?

If yes, is it a good idea or you think it's useless?
ImageImage
Image

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Sat Jul 16, 2005 1:10 pm

I've been given an opinion completely in Japanese before (when I went to respond, it was all "&#...;" codes), so I think it's already possible.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

trythil
is
Joined: Tue Jul 23, 2002 5:54 am
Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
Location: N????????????????
Org Profile

Re: Enable HTML language in opinions?

Post by trythil » Sat Jul 16, 2005 4:26 pm

Michele wrote:Enable HTML language in opinions.

Could that be possible?
A heavily restricted subset would be good. <em>, <br />, <p> and <p />, <h1> ... <h6>...sectioning stuff like that.

It is possible to do a pretty naive implementation of this; however, we can't get away with that forever. One of the problems with allowing HTML input on this site is that the input needs to be validated: much of the .org HTML is listed as having the XHTML 1.0 Strict document type.

XHTML follows XML rules for well-formed documents, so there are some tricky parts involved for people who have never written XML documents before, like self-closing tags: <br /> as opposed to <br>, for example. Right now the XHTML is being parsed as HTML (or so Firefox tells me) but if the .org ever decides to pass the XHTML with the proper MIME type then we'll need to ensure that the document is well-formed.

We can't expect people to know this, so implementation of a small checking and cleanup engine would have to be done. It wouldn't be hard -- I think LiveJournal has some code that we could port -- but:
If yes, is it a good idea or you think it's useless?
...the usefulness of such a feature would have to be gauged before doing anything.

trythil
is
Joined: Tue Jul 23, 2002 5:54 am
Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
Location: N????????????????
Org Profile

Post by trythil » Sat Jul 16, 2005 4:29 pm

Actually, I just noticed that you can use a small subset of HTML in the video information description box. I wonder if there's a validation and cleanup engine there already...

User avatar
[Mike of the Desert]
Joined: Fri Jul 25, 2003 5:56 am
Status: Lonely
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Contact:
Org Profile

Post by [Mike of the Desert] » Sat Jul 16, 2005 4:55 pm

I understand what you want to say and I agree with you. My idea was anyway was for the purpose of be more clears in opinions. Things such Italic and Bold can be something really useful.. Sometimes. Surely it is not essential. Even less useful but at least possible would be the possibility to make avaibles in the opinion hypertexts, to link pictures, or web pages.
ImageImage
Image

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Sat Jul 16, 2005 6:12 pm

Ignore my post; I seem to have misunderstood.

Just so you know, "HTML language" = "HyperText Markup Language Language". It's like "ATM machine" or "PIN number". :P
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
derobert
Phantom of the .Org
Joined: Wed Oct 24, 2001 8:35 am
Location: Sterling, Virginia
Contact:
Org Profile

Post by derobert » Sat Jul 16, 2005 8:04 pm

trythil wrote:Actually, I just noticed that you can use a small subset of HTML in the video information description box. I wonder if there's a validation and cleanup engine there already...
doubt it.
Key 55EA59FE; fingerprint = E501 CEE3 E030 2D48 D449 274C FB3F 88C2 55EA 59FE
A mighty order of ages is born anew.              http://twitter.com/derobert

User avatar
bum
17747114553
Joined: Sat Nov 08, 2003 9:56 pm
Org Profile

Post by bum » Sat Jul 16, 2005 9:55 pm

Wouldnt it just be easier to enable BB code instead?

User avatar
Eek-1
Joined: Sat Jun 22, 2002 10:06 am
Status: 0xc00000e9
Location: Cyberjaya
Org Profile

Post by Eek-1 » Sat Jul 16, 2005 11:10 pm

ah yes, why not just use phpbbcode function in the opinion form?

User avatar
[Mike of the Desert]
Joined: Fri Jul 25, 2003 5:56 am
Status: Lonely
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Contact:
Org Profile

Post by [Mike of the Desert] » Sun Jul 17, 2005 7:19 am

Thanks Scintilla :) :P
Eek-1
PostPosted: Sat Jul 16, 2005 11:10 pm Post subject:
ah yes, why not just use phpbbcode function in the opinion form?

bum
PostPosted: Sat Jul 16, 2005 9:55 pm Post subject:
Wouldnt it just be easier to enable BB code instead?
This is what I was talking about, be able to add codes like [url] or or
or even with the </>, I don't know how much useful would this be judged, but actually I think it would make things more dynamic and clears. Especially when you could add an url of a picture, or bold things.
ImageImage
Image

Locked

Return to “Site Help & Feedback”