View Full Version : automatic acronyms
MrNase
01-03-2004, 03:20 PM
Hey :)
Some of you may heard about <acronym></acronym> :)
An example would be <acronym title="Cascading Style Sheet">CSS</acronym>.
With the user of this tag you'd be able to explain abbreviations to your users.
It'd be nice to have kind of database where you can add those things and every new post should get parsed and the abbreviations should be replaced with the (admin definded) acronym so that the users aren't left alone with abbreviations.
I'd be very nice if there'd be an option @ update counters so that you can easily search older post and replace the abbrevs with the right acronym :)
Tell me what you think about and how it can be done :)
Serge
01-03-2004, 04:37 PM
It really won't be that hard maybe not use the acronym tag though and just have a replacement value for it and then have it replace it with a link to an FAQ quetions with that acronym?
The update counters should be a very heavy server intensive update to do btw.
this sounds like a pretty good idea.... but making replacements are rather annoying and such.
Like if someone rights out LOL it will change to *laughs* and stuff like that.
MrNase
01-03-2004, 04:50 PM
i guess i didn't make i clear enough :rolleyes:
Well let me have another try :rolleyes:
LOL would be replaced by <acronym title="laughing out loud">LOL</acronym>...
That means that there is still the word LOL in the post but if you hover it you'll see it's description.
You can see a demo @ http://www.w3.org/
there just hover the link "html" or "TAG" in the left hand navigation.
Serge
01-04-2004, 02:40 PM
No I think you both didn't get what I was saying. With replacements you should be able to say if someone type LOL you would replace that with <a href="#" title="laughing out loud">LOL</a> which would produce the same effect and even better you could make it go to another page or make a pop up that explained the acronym more thoughly.
Princeton
01-04-2004, 03:08 PM
No I think you both didn't get what I was saying. With replacements you should be able to say if someone type LOL you would replace that with <a href="#" title="laughing out loud">LOL</a> which would produce the same effect and even better you could make it go to another page or make a pop up that explained the acronym more thoughly.
acronym and href are not the same thing ... what you speak of is something totally different from what was requested
MrNase
01-04-2004, 03:25 PM
princeton, exactly :)
An acronym is there the show the long form of an abbreviation...
Serge
01-04-2004, 04:38 PM
I guess I can try one more time. Here is a page that actually shows what you can do with the link tag but since I can't post HTML in here I had to make the page
http://www.surrix.net/patrick/titleexample.html
Check that out as I said this hack would be a waste of time for both the hacker and eventually the end user cause they are going to have to tag the thing themselves and that is a pain.
acronym and href are not the same thing ... what you speak of is something totally different from what was requested
It is not different i know the tags are differnt but we would make a replacement variable for his tag as well but that is a pain. Hackers are lazy people so if you can do it with the replacement variable system why go though the trouble of hacking it in?
EDIT: If you don't have html active I'm not sure if it would work or not but it should actually not positive.
Jadelit
01-05-2004, 09:45 AM
HAHA...
That's funny.
Koutaru
01-05-2004, 09:48 AM
I actually think Velocd made this kind of hack for vb2.. ask him to port it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.