Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafesj

Post to this Thread - Sort Descending - Printer Friendly - Home


Tech: Webmasters - alert to a change (MIME)

Mr Red 23 Feb 20 - 05:49 AM
GUEST,JHW 23 Feb 20 - 06:24 AM
Bonzo3legs 23 Feb 20 - 06:37 AM
Jack Campin 23 Feb 20 - 07:03 AM
Reinhard 23 Feb 20 - 07:55 AM
DaveRo 23 Feb 20 - 10:38 AM
Mr Red 23 Feb 20 - 02:03 PM
Mr Red 23 Feb 20 - 02:12 PM
Jack Campin 23 Feb 20 - 04:42 PM
Mr Red 24 Feb 20 - 09:27 AM
Share Thread
more
Lyrics & Knowledge Search [Advanced]
DT  Forum
Sort (Forum) by:relevance date
DT Lyrics:





Subject: Tech: Webmasters - alert to a change (MIME)
From: Mr Red
Date: 23 Feb 20 - 05:49 AM

Anyone who has not reviewed their .htm files for a long time might consider looking into "MIME types". I found it when trying to debug JavaScript that has worked flawlessly in the past.

Modern browsers now try to conform to one standard. Backward compatibility is a myth.

In my case <script language=JavaScript type=text/JavaScript src=myprog.js> ....... throws a warning and fails ultimately
Whereas - <script language=JavaScript type=application/JavaScript src=myprog.js> ....... does not throw a warning. One problem solved, I may be sometime with the rest of it!

You may not realise your pages have JavaScript, some of those old apps would throw them in with the click of a button. Dreamweaver eg. Long unchanged pages, and memory fade - do you remember exactly what you did?

A lot of us Folkies have long established webpages for clubs, CDs etc. The world has moved on, techy things particularly.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: GUEST,JHW
Date: 23 Feb 20 - 06:24 AM

No criticism of the well intended advice but an example of the internet being full of stuff users like me don't understand. Firms say 'why not go paperless?' or indeed just send emails without asking. This box of tricks on my desk may go wrong anytime and I would have no idea how to fix it.
My filing cabinet is behind me. Been there long before the existence of laptops etc. Joinery, sliding drawers and all visible. If that goes wrong I can fix it.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Bonzo3legs
Date: 23 Feb 20 - 06:37 AM

Couldn't agree more, all this "cloud" nonsense too!!


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Jack Campin
Date: 23 Feb 20 - 07:03 AM

Doesn't declaring the HTML version in the header make the browser use the old syntax?


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Reinhard
Date: 23 Feb 20 - 07:55 AM

texr/javascript has been made obsolete by the Internet Standard RFC 4329: Scripting Media Types in 2006. So people have had some time to adjust their web pages...


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: DaveRo
Date: 23 Feb 20 - 10:38 AM

That's interesting. I thought MrRed was wrong. I'd never seen or used other than text/javascript and it's still recommended here. Note that you can just omit it!

It turns out that the reason for not using text/ is quite technical


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Mr Red
Date: 23 Feb 20 - 02:03 PM

Yea. The way hobbyist work is to give things to the world (despite my years from FORTRAN right up to modern/web programming).
We react when things have gone wrong. Fit and Forget isn't good enough.

But the going wrong is the only way we know there is a need. The technicalities are just a means to an end, when the end is happily being an end rather than ending - we just assume.

The message is, if you work in HTML, check your pages every so often, in the all modes you have made it work. And in updated browsers.

If you use a provider like Godaddy or Squarethingy or Weebly etc they attend to it for you.

If you use Wordpress, Joomla or Drupl they will too BUT beware those updates, and the order. PHP particularly!

AND THAT'S ANOTHER THING!


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Mr Red
Date: 23 Feb 20 - 02:12 PM

Doesn't declaring the HTML version in the header make the browser use the old syntax?

Maybe, but this is about JavaScript, which is a another layer of surprises.

Trust me! I sort of have it working now, tinkering will be restricted to the look and feel.

eg songs.mister.red/#47 - the #47 is the clever (maybe) bit that had to work. It could be any number which I needed for answers/update on another thread. Otherwise the problem might not have been apparent for a long time yet.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Jack Campin
Date: 23 Feb 20 - 04:42 PM

52 looks like you missed a < .

Robert Graves, not Grave.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Webmasters - alert to a change (MIME)
From: Mr Red
Date: 24 Feb 20 - 09:27 AM

ta, there are other things to attend to also. < displays on-line, not locally. There is obviously something causing all sorts of confusion. Not the least a script that works faultlessly elswhere. The extraneous < etc is there in on-line rendering, but the BT CDN (content delivery network) has not registered any new iterations yet. Sometimes it does, other times it just gets in the way of de-bugging. (multiple browsers &/or history wipes don't solve)

BTW the reason I did not try to rely on any legacy modes in browsers (eg HTML) was precisely because of the way the problem presented. Deprecation>/I> becoming obsolescence at some time in the near future and having to monitor it for an unspecified duration.

I may be some time.......................


Post - Top - Home - Printer Friendly - Translate
  Share Thread:
More...

Reply to Thread
Subject:  Help
From:
Preview   Automatic Linebreaks   Make a link ("blue clicky")


Mudcat time: 15 May 10:39 AM EDT

[ Home ]

All original material is copyright © 1998 by the Mudcat Café Music Foundation, Inc. All photos, music, images, etc. are copyright © by their rightful owners. Every effort is taken to attribute appropriate copyright to images, content, music, etc. We are not a copyright resource.