Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 02:15 07 Jan 2025
 
- Taxi driver who stoked Southport riots jailed
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 tomorrow - Steam loco restoration - IRTE
09/01/25 - Bath Railway Society
24/01/25 - Westbury Station reopens
24/01/25 - LTP4 Wilts / Consultation end

On this day
7th Jan (1957)
Closure of Upwey Wishing Well Halt (link)

Train RunningDelayed
07/01/25 04:50 Fratton to Salisbury
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
January 07, 2025, 02:27:29 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[82] senior railcard
[59] New Adlestrop Railway Atlas update
[56] Coastal walks - station to station
[49] DFT - Where is the South Devon Railway
[34] Mining in Cornwall
[25] 2024 - Service update and amendment log, Swindon <-> Westbury...
 
News: the Great Western Coffee Shop ... keeping you up to date with travel around the South West
 
   Home   Help Search Calendar Login Register  
Pages: 1 2 3 [4] 5
  Print  
Author Topic: Inline expansion of abbreviations  (Read 14935 times)
Bmblbzzz
Transport Scholar
Hero Member
******
Posts: 4256


View Profile
« Reply #45 on: March 18, 2021, 15:06:53 »

Excellent idea to have differential expansion for guests and members.  Smiley

But I seem to have to turn the expansion on each time I visit the site. Is it meant to be that way?
Logged

Waiting at Pilning for the midnight sleeper to Prague.
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #46 on: March 18, 2021, 16:43:41 »

But I seem to have to turn the expansion on each time I visit the site. Is it meant to be that way?

I will have a play with that later.   It's supposed to stick.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #47 on: March 18, 2021, 17:15:34 »

But I seem to have to turn the expansion on each time I visit the site. Is it meant to be that way?

I will have a play with that later.   It's supposed to stick.

Edit to test live train links too - PAD» (Paddington (London) - next trains), BRI» (Bristol Temple Meads - next trains), and of course MKM» (Melksham (Station code) - next trains) and DMH» (Dilton Marsh - next trains)  Grin ... others too!
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Bmblbzzz
Transport Scholar
Hero Member
******
Posts: 4256


View Profile
« Reply #48 on: March 18, 2021, 18:18:27 »

But I seem to have to turn the expansion on each time I visit the site. Is it meant to be that way?

I will have a play with that later.   It's supposed to stick.
Having turned it on earlier today, it's still on now.
Logged

Waiting at Pilning for the midnight sleeper to Prague.
eXPassenger
Transport Scholar
Hero Member
******
Posts: 590


View Profile
« Reply #49 on: March 19, 2021, 17:22:26 »

I see that the acronym expansion of CCTV (Closed Circuit Tele Vision) uses less common words to explain the 'V'
Logged
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #50 on: March 19, 2021, 17:47:51 »

I see that the acronym expansion of CCTV (Closed Circuit Tele Vision) uses less common words to explain the 'V'

Should probably join up Tele and Vision into Television. Noted; will do in next update cycle - probably in a couple of days.

But I seem to have to turn the expansion on each time I visit the site. Is it meant to be that way?

I will have a play with that later.   It's supposed to stick.
Having turned it on earlier today, it's still on now.

I *think* it's working ... its is "per browser" so if you uses (as I do) Firefox, Safari and Chrome on the same laptop you'll have three lots of settings.  Also to note - if the link at the top says "turn off" it is currently on, and vice versa; I am not too thrilled with that as I find it confusing, and I wrote the darned thing!
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
JayMac
Data Manager
Hero Member
******
Posts: 19245



View Profile
« Reply #51 on: March 19, 2021, 21:32:30 »

Edit to test live train links too - PAD» (Paddington (London) - next trains), BRI» (Bristol Temple Meads - next trains), and of course MKM» (Melksham (Station code) - next trains) and DMH» (Dilton Marsh - next trains)  Grin ... others too!

My recent post mentioning the Rail Delivery Group had to be typed in full. RDG(resolve) would have confused. Tongue
Logged

"A clear conscience laughs at a false accusation."
"Treat everyone the same until you find out they're an idiot."
"Moral indignation is a technique used to endow the idiot with dignity."
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #52 on: March 20, 2021, 06:44:39 »

Edit to test live train links too - PAD» (Paddington (London) - next trains), BRI» (Bristol Temple Meads - next trains), and of course MKM» (Melksham (Station code) - next trains) and DMH» (Dilton Marsh - next trains)  Grin ... others too!

My recent post mentioning the Rail Delivery Group had to be typed in full. RDG(resolve) would have confused. Tongue

And there you open list back the covers and reveal one of the biggest problems - where things could expand multiple ways. I mentioned TV (Television v Thames Valley) and DVT(resolve) (Deep Vein Thrombosis v DriVing Trailer). I cannot see a practical coding way of getting there 98% right which would be the sort of target we would need, and even then we would have the issue of them being got wrong at the very time someone wanted to understand an unusual use.  Ongoing R&D may suggest a solution but for the moment (next update to the list) I will un-expand RDG.  You will still need to explain in your posts - but at least we will not be feeding members with porkies!

P.S.  If you type not EXD but EX[I][/I]D you will avoid expansion.   Example here is NOT Reading so that its will still show up as I intend after the change above.

Also to note - expansions do not show in previews as you post, nor (I don't believe) in personal messages.  I know why; big move round of code blocks to make it work and I fear introducing significant bugs.   May do and test it at a quiet time.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Bmblbzzz
Transport Scholar
Hero Member
******
Posts: 4256


View Profile
« Reply #53 on: March 20, 2021, 13:06:57 »

Would it be possible to link RDG(resolve) and others to both expansions? It should be clear from context which one applies.
Logged

Waiting at Pilning for the midnight sleeper to Prague.
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #54 on: March 20, 2021, 13:25:46 »

Would it be possible to link RDG(resolve) and others to both expansions? It should be clear from context which one applies.

I did wonder / am thinking along those lines.  Very much a question of balance and compromise without providing a mind-blowingly complex control panel for everyone, and without spewing up so much extra text ...

EDIT - I am trying some things out - RDG only at the moment.  You will see a double dagger saying that it can be expanded in 2 (or more!) ways. May add a pop-up to link to the acronyms page or part of it to resolve if people need to.
« Last Edit: March 20, 2021, 14:09:34 by grahame » Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #55 on: March 20, 2021, 20:01:04 »

EDIT - I am trying some things out - RDG(resolve) only at the moment.  You will see a double dagger saying that it can be expanded in 2 (or more!) ways. May add a pop-up to link to the acronyms page or part of it to resolve if people need to.

There are now 9 acronyms which have that double dagger - click on "Resolve" and it will take you - in a new frame - to the acronyms page offering just that particular abbreviation.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #56 on: March 24, 2021, 06:01:03 »

What does CLC (Castle Cary) stand for?

I'm picking up that example to highlight the compromises taken thus far with the inline expansion helper.

It is NOT easy to choose which expansions to put in; my shouting of NOT as some of our members do would come in as "Nottingham" if we expanded that. 

Adding in an extra 2500 would cause all sort of issues as the British National Party was reported at a station in North Devon, and First Great Western being seen at a station in West Wales. About thirty key stations - those which we offer as ongoing connections live feeds - are expanded; even there, we have already had an issue [Reading / Rail Delivery Group] , resolved by providing a link to the filtered acronyms page rather than a direct resolution.  My feeling is that the balance is about right as we stand; a few more code adjustments may be advantageous and significant ongoing updates to the general resolutions list (thanks, VickiS for picking this up).
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
eightonedee
Transport Scholar
Hero Member
******
Posts: 1728



View Profile
« Reply #57 on: March 24, 2021, 11:09:49 »

Might it be (at least as a temporary expedient) an idea to encourage contributors to use the full station name in posts?
Logged
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #58 on: March 24, 2021, 11:51:46 »

Might it be (at least as a temporary expedient) an idea to encourage contributors to use the full station name in posts?

We do / always have done. But seeing your first 769 at CHO, CUM or even CUA can lead to some shortened posting in excitement which overlooks the understandability ... for guests or even members not familiar with the line in question.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 43053



View Profile WWW Email
« Reply #59 on: May 31, 2021, 20:51:15 »

Significant number of abbreviations added ... there are now 713 that resolve for members by default, and a further 40 for guests.  There are a further 199 abbreviations and acronmys in the page at http://www.passenger.chat/acronyms.html . Big thanks to VickyS for all the hard work.    There are bound to be odd cases where our expansion system is over complex or an abbreviation has multiple expansions and we have only caught one.  Please post a follow up or send a pm to Vicky or me with corrections.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: 1 2 3 [4] 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page