Great Western Coffee Shop

Sideshoots - associated subjects => News, Help and Assistance => Topic started by: grahame on August 23, 2020, 14:37:32



Title: Pages that change between different devices
Post by: grahame on August 23, 2020, 14:37:32
I am ... experimenting ... with web server software that works out whether a site visitor is from a small or large screened device.  Rather than gloriously cobbling the forum, I'm using the MRUG pages including "your connection", with a wide table on an tablet or laptop, and a narrower one on a phone.

Working OK for me ... http://www.mrug.org.uk/wsb.html example below, showing how my server has sent out different columns of data. However, I don't have a "one of each device supported lab here ... so can I ask members try out that URL for me and let me know via the poll how you get on?   Thanks!  (Please post or message if you have had a problem - letting me know what the device is. Thanks!)

(http://www.wellho.net/pix/wideannarrow.jpg)


Title: Re: Pages that change between different devices
Post by: PhilWakely on August 23, 2020, 15:20:48
No problems encountered on
Lenovo IdeaPad laptop (latest version of Windows 10);
Samsung Galaxy Tab A; and
Samsung Galaxy A40  (both running latest Android version).


Title: Re: Pages that change between different devices
Post by: bobm on August 23, 2020, 16:40:53
Works fine on my phone - either landscape and portrait.

Also fine on my desktop PC - am I the only one who uses one these days?   ;D

Laptop is in my bag and I can't be bothered to take it out and power it up.


Title: Re: Pages that change between different devices
Post by: eightonedee on August 23, 2020, 17:00:40
Working ok on my Samsung Galaxy SM - J 530F (I had to pull the user guide out of the cover to find out what it was!)



Title: Re: Pages that change between different devices
Post by: Reginald25 on August 23, 2020, 19:12:52
Ok on my Windows 10 desktop (old-fashioned concept I know) and also my Galaxy A20e.


Title: Re: Pages that change between different devices
Post by: martyjon on August 23, 2020, 19:50:37
OK on my Nokia TA-1020.


Title: Re: Pages that change between different devices
Post by: GBM on August 24, 2020, 03:24:58

....
Also fine on my desktop PC - am I the only one who uses one these days?   ;D
...

I only use a desktop PC for the forum, as up to now on my Android Samsung Galaxy (s) the forum comments have always been different sizes, so had to zoom, which then lost the overall sizing.  A right pain for me, so never used mobile; desktop only.

Will try mobile sometime this week as and when....


Title: Re: Pages that change between different devices
Post by: grahame on August 24, 2020, 07:16:46
Looking good(ish) thus far - thanks, folks.  A dozen people have tried it out, 24 devices / categories, and it's worked for you all. Desktops fall into the same screen / software support category as laptops and (yes) they're working fine too.   

This is an experiment - a toe in the water - with a technology for the forum into the future, to see if this is a system that can be used through there too.  MRUG is a useful test site; for multiple reasons changes are quick and easy there - put in and if need be pulled back out if the thing falls over, but rather like trying a new recipe in the experiment kitchen as a food production plant prior to scaling it up to an industrial level. 

The particular problem being overcome is that our forum (and MRUG stuff) is running on our web server, and requests from browsers do NOT include "my window / screen resolution is" data. They do usually include a client descriptor string - 1,180 different strings yesterday alone, and there's sometimes a pattern in those ... I have spent some time looking through tables of "this works for this type of browser" data.  I am not convinced that the solution I have is 100% robust yet - there have been some unusual spikes in server loads which I'm looking at today and there may be one or two requests from bots that are causing issues - so there may be more tuning today if I pinpoint why the spikes are happening.


Title: Re: Pages that change between different devices
Post by: bradshaw on August 24, 2020, 09:50:23
works Ok on
iPhone 6 with iOS 12.4.8
iPad with iPadOS 12.4.8
MacBook Pro with MacOS 10.15.6


Title: Re: Pages that change between different devices
Post by: johnneyw on August 24, 2020, 11:20:37
Works find on my Amazon Fire tablet and my Motorola Moto E6 Play phone.  Will check that it works on my laptop when I get home.


Title: Re: Pages that change between different devices
Post by: patch38 on August 24, 2020, 14:08:46
Fine on my Windows 10 laptop and on my iPhone8 running whatever flavour of iOS is the current one.


Title: Re: Pages that change between different devices
Post by: grahame on August 25, 2020, 05:00:49
Looking good - only one problem so far (the Lynx browser - rarely used these days) which I have fixed, and  around 30 reports of success from 15 members.  I am still watching search engine visibility to check I haven't "fogged" things and effected indexing and ranking - the Lynx issue may have effected them too.


Title: Re: Pages that change between different devices
Post by: grahame on September 01, 2020, 07:08:19
Should now be all updated at http://www.mrug.org.uk/newcomer.html and http://melksh.am/trains ... good to see through trains to Gloucester and Sothampton Central starting again - even if (Amsterdam style) you have to change on the way back.

(http://www.wellho.net/pix/laptop_newcomer_20200901.jpg)

(http://www.wellho.net/pix/phone_newcomer_20200901.jpg)



This page is printed from the "Coffee Shop" forum at http://gwr.passenger.chat which is provided by a customer of Great Western Railway. 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 content provided contravenes our posting rules ( see http://railcustomer.info/1761 ). The forum is hosted by Well House Consultants - http://www.wellho.net