Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 17:55 30 Dec 2024
 
- Replacement 'green' ferry emits more CO2 than old diesel ship
- What we know so far
- The driver who 'jumped' his bus over the Tower Bridge gap
- Avanti West Coast strike to hit New Year's Eve trains
- Gatwick flights returning to normal after fog
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 01/01/25 - Railway 200 'Whistle Up' UK
09/01/25 - Bath Railway Society
24/01/25 - Westbury Station reopens
24/01/25 - LTP4 Wilts / Consultation end

On this day
30th Dec (1956)
Liverpool Overhead Railway closed (link)

Train RunningCancelled
17:49 Reading to Gatwick Airport
19:29 Gatwick Airport to Reading
Short Run
16:23 Exmouth to Paignton
17:19 Paignton to Exmouth
17:40 Paignton to Exmouth
18:18 Paignton to Exmouth
Delayed
16:48 London Paddington to Swansea
17:03 London Paddington to Penzance
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
December 30, 2024, 18:09:48 *
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
[121] The Wider Picture - making it wider, but also clearer, hopeful...
[91] Working from roam: more people logging on from UK airports and...
[56] Server Map (mark 2) - as from January 2025 - a technical intro...
[51] Weekend of 28th/29th December - Coffee Shop offline for engine...
[48] Terrible signalling error!
[41] Southern Railway to axe toilets from new train (BBC News 19/09...
 
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]
  Print  
Author Topic: URLs corrupting when they have an abbreviation embedded in them  (Read 2179 times)
grahame
Administrator
Hero Member
*****
Posts: 43000



View Profile WWW Email
« on: May 12, 2024, 09:45:10 »

(Edit: removed the link to realtimetrains timetable for yesterday at Gloucester as, when posted, something strange was happening to it.)

Yes, aware of that one.  It relates to expanded abbreviations and URLs that include acronyms within them.  Significant coding job to correct the issue and with all sorts of likely side effects - adding complexity would add special cases.

Best solution is to mention the abbreviation in the text above the URL.   Outside a URL, it is possible for the poster to suppress expansion by adding another tag pair within it - for example an italic start and end tag.

Logged

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


View Profile Email
« Reply #1 on: May 12, 2024, 11:06:25 »

Um.
For those of us who don't speak programming, could someone please translate the above.
Logged

Personal opinion only.  Writings not representative of any union, collective, management or employer. (Think that absolves me...........)
grahame
Administrator
Hero Member
*****
Posts: 43000



View Profile WWW Email
« Reply #2 on: May 12, 2024, 11:16:13 »

Um.
For those of us who don't speak programming, could someone please translate the above.



If you quote a web address that has an abbreviation hidden in it, it can go wrong.   For example

https://www.realtimetrains.co.uk/search/detailed/gb-nr:MKM/to/gb-nr:SWI/2024-05-12/0000-2359?stp=WVS&show=all&order=wtt

won't work because of the "SWI" and "MKM" in there, both of which will usually expand.



If you mention MKM» (Melksham (Station code) - next trains) and SWI» (Swindon - next trains) earlier in the message, though, it will work:

https://www.realtimetrains.co.uk/search/detailed/gb-nr:MKM/to/gb-nr:SWI/2024-05-12/0000-2359?stp=WVS&show=all&order=wtt

and if you wish to use the abbreviations within text and not have them expand - as I did at the start of this message - you can add something like [ I ][/ I ] in the middle of the abbreviation - won't be seen, but will mean that the letters of the abbreviation are no longer up against each other in the raw message.
« Last Edit: May 12, 2024, 11:21:41 by grahame » Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Mark A
Global Moderator
Hero Member
*****
Posts: 1786


View Profile
« Reply #3 on: May 12, 2024, 11:52:02 »

Thanks for that!

Mark
Logged
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]
  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