Acronym Mod

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
RogerMcAllen
Posts: 179
Joined: 06 Jul 2003, 07:02
I've donated: $35.00!
Location 1: Champaign, IL, USA

Acronym Mod

Post by RogerMcAllen »

Over at aquariumadvice.com we have an acronym mod so that when you hold the mouse over a common acronym it will display the meaning. I was wondering if such a thing could be enacted here on some of the latin species names so that a common name would display as I often find myself reading a thread and having no idea what type if fish is being talked about.

Here is a sample thread full of them:
http://www.aquariumadvice.com/viewtopic.php?t=9018
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

The HTML behind it is <acronym title="Small Polyped Stoney">SPS</acronym>; hrm, interesting...will do some digging.

Jools
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

Code: Select all

/* This is the line in the posting page which shows the rollover
help line. This is actually a text box,but if set to be the same
colour as the background no one will know;)*/
.helpline{background:#e1e9f2;border-style:none;color:#000000}

abbr, acronym {
	color: #FF0000;text-decoration:underline;
	cursor: help;
}
This is in the sylesheet, but I can't see how, on its own, it would work. Maybe something to do with the XML DTD.

Any techs out there want to suss it out?

Jools
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

The <acronym> and <abbr> tags are W3C non-compliant, so you don't see them around very often.

I don't see how we could make this easily workable... it's not like we have only a few three letter abbreviations, but we have thousands of species names, which are easily mis-spelled, mangled, etc.

Rusty
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

I was thinking of using it for stuff like AFAIK BTW LFS SL TL and so on from the acronym angle. I would also REALLY like to use it for a kind of inline glossary with words like conspecific or auchwufs etc.

Jools
User avatar
RogerMcAllen
Posts: 179
Joined: 06 Jul 2003, 07:02
I've donated: $35.00!
Location 1: Champaign, IL, USA

Post by RogerMcAllen »

Thats exactly what I was thinking, the technical jargon words. It has the capacity to work with any word/set of words not just acronyms.
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

OK, just as a teaser, I have LFS entered as an acronym. Mouse over and you get the full meaning.

Rusty
User avatar
RogerMcAllen
Posts: 179
Joined: 06 Jul 2003, 07:02
I've donated: $35.00!
Location 1: Champaign, IL, USA

Post by RogerMcAllen »

Nice work, can you add it so that it makes the word bold/a color so we know what words are able to do this.
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

Nicely done! How do we edit the list? Is it delivered via the site style sheet (and thus is available to any HTML page)? Maybe bold purple for recognised acronyms and terms?

Jools
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

I was actually doing it through the censor. We could enter a definition in the style sheet to make it bold/purple/whatever.

Rusty
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

All,

Well, it's open season on acronyms and the like. Any suggestions on ones to add?

Rusty,

Do you need me to change the CSS or can you do it (maybe "planet green" rather than "planet purple"?)

Jools
magnum4
Posts: 745
Joined: 14 Sep 2003, 22:04
Location 1: UK wirral
Interests: all things aquatic.

Post by magnum4 »

TL. SL. SPP. SP. CF.
AFAIK. YMMV. PC. IMO.
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

magnum4 wrote:PC.
Planet Catfish? Politically correct? Personal computer? What does it stand for? :D

Rusty
User avatar
Silurus
Posts: 12379
Joined: 31 Dec 2002, 11:35
I've donated: $12.00!
My articles: 55
My images: 884
My catfish: 1
My cats species list: 90 (i:0, k:0)
Spotted: 419
Location 1: Singapore
Location 2: Moderator Emeritus

Post by Silurus »

CF.
I think this would be too long and complicated for something like this. Explaining cf. and aff. would be better done in the new FAQ section.
Image
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

Rusty wrote:
magnum4 wrote:PC.
Planet Catfish? Politically correct? Personal computer? What does it stand for? :D

Rusty
The short term for Planet Catfish is Planet! For example, "Everyone at Planet likes keeping fish".

Jools
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

Code: Select all

<acronym lang="en" title="Standard Length">SL</acronym>
Just a reminder on for m on how to do this. :oops: Just add to this topic if anyone sees a need to add another acronym.

Jools


[/code]
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

Just testing something

asdasdasdasdlfsasdasd
Rusty
Posts: 682
Joined: 30 Dec 2002, 14:51
Location 1: New York, NY
Interests: Mochokidae, Clariidae, Heteropneustidae, Malapteruridae, Chacidae, Cetopsidae, Bagridae, Amphilidae
Contact:

Post by Rusty »

Doing this through the naughty word censor doesn't seem to be ideal. Any other ideas as to how to implement this?

Rusty
User avatar
Silurus
Posts: 12379
Joined: 31 Dec 2002, 11:35
I've donated: $12.00!
My articles: 55
My images: 884
My catfish: 1
My cats species list: 90 (i:0, k:0)
Spotted: 419
Location 1: Singapore
Location 2: Moderator Emeritus

Post by Silurus »

Baltimore.

Don't suppose this is the result of the acronym mod on the word "B a l t i m o r e"?
Image
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Post by Jools »

Yup, Rusty is right, doing this via the forum censor is not a good plan for the reasons Silurus shows.

Jools
Post Reply

Return to “All Resolved Issues”