Myriad Forum (https://myriad-online.com/cgi-bin/bbs/YaBB.pl)
General >> OMeR / Myrweb / Melody Player & [english]other programs[/english][francais]autres produits[/francais] >> Getting Myrweb to Work with mymusicstaff.com
(Message started by: tubassee on May 11th, 2020, 7:19pm)

Title: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 11th, 2020, 7:19pm
My site is hosted through mymusicstaff.com. The only instructions I have found for linking files, is to upload the file to the media library, and then link to it on one of the site's pages, but these are the instructions for audio files and PDFs. It doesn't mention .html specifically.

That's not working: https://www.lessonslive.com/Guitar-Practice-Tools

The file does open in the browser and work, when I open it on my file explorer.

The site builder does allow for a the use of "Plain HTML Mode". Is there some script I can use, and paste in the file location/name? Sorry, I'm a total noob at this...

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 11th, 2020, 8:05pm
OK, so I figured it out with the help of support at Myriad.

Hopefully this can help someone else.

All you have to do is delete ".html" from the file name, before uploading it to your media library.

I'm excited to get my website populated with songs and exercises!

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Andre_B on May 11th, 2020, 8:15pm
I just had a look, my impression was a bit of the contrary: your file has there an extension of .myrweb, when it should end in ".myrweb.html", though only ".html" would work.

Depending on the browser, you may get around with an "open with" then selecting a browser. But I guess your users should be able to start it with just a double-click.

Now, it is possible that your site provider does not allow loading of .html files, then you might load it without this extension, but you should rename it there when loaded.  

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 12th, 2020, 2:44am
Well I have now found that it works fine in Microsoft Edge and Internet Explorer, but not Chrome or Firefox.

I have added all three extensions to an example at: https://www.lessonslive.com/Guitar-Practice-Tools


Here's the code:

<p style="margin: 0px 0px 10px; box-sizing: border-box;">
 <a href="http://www.lessonslive.com/Pentatonic Test.myrweb" style="text-decoration: none; box-sizing: border-box; box-shadow: none; text-shadow: none; -ms-user-select: auto; background-color: transparent;">Pentatonic Scales .myrweb</a>
</p>

<p style="margin: 0px 0px 10px; box-sizing: border-box;">
 <a href="http://www.lessonslive.com/Pentatonic Test.html" style="text-decoration: none; box-sizing: border-box; box-shadow: none; text-shadow: none; -ms-user-select: auto; background-color: transparent;">Pentatonic Scales .html</a>
</p>

<p style="margin: 0px 0px 10px; box-sizing: border-box;">
 <a href="http://www.lessonslive.com/Pentatonic Test.myrweb.html" style="text-decoration: none; box-sizing: border-box; box-shadow: none; text-shadow: none; -ms-user-select: auto; background-color: transparent;">Pentatonic Scale .myrweb.html</a>
</p>

This was from Myriad support:

"The problem comes from a misconfiguration of your server.
our .html files are supposed to be of type "text/html", while your server
returns "application/xhtml+xml". This would require many changes in our page
and script syntax to be compatible with xhtml.

You can try to use .htm extension instead of .html, maybe then it will issue
the right mime-type. Or you can choose any extension (for instance .myrweb) and
change your .htaccess file to make these of files be considered as text/html

This would then be something like :
AddType text/html .myrweb
to be added to your .htacess file."

The "Or you can choose any extension (for instance .myrweb)", is where I got the idea to try just removing ".html" from the file name. The .htaccess stuff is way beyond me. Maybe fixing that would get it to work in the other browsers?

Your instruction to put the .html back onto the name after uploading, doesn't seem to be allowed by the site builder.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Andre_B on May 12th, 2020, 11:27am
Hello,

What Myriad told you is that an .html file isn't opened in the usual way.

Two alternate tries, just rename the myrweb file from
xxx.myrweb.html  to xxx.myrweb.htm     (as you already suggested)
and xxx.myrweb.html  to xxx.myrweb.php

Perhaps your provider will open .htm and .php in a more standard way.


The .htaccess stuff is quite complex in its full capacities, but can also be used in a minimal manner (the only one I understand myself); perhaps a single-line file  with just
AddType text/html .myrweb
or even
AddType text/html .html
the second one would be simpler for future use, no need for any rename.

You can store such a .htaccess file - if allowed - in either folder (the root one or the guitar one).

It might however depend on mandatory settings in the existing .htaccess (in your folders, or above).
When trying to download it, I obtain a file which is identical to index.html (and its alternates). But that might be some forced action.  


If these do not help, you might ask your service provider for help. It could be that they saw these settings as wanted limitations, but also as improvements.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by JP on May 12th, 2020, 1:18pm

on 05/12/20 at 02:44:18, tubassee wrote:
This was from Myriad support:
...
"This would require many changes in our page
and script syntax to be compatible with xhtml."

I had a look at your file, it's not sure it would require many changes.

Please try the following: before uploading the file to the server, just change (line #4)
   <meta charset="UTF-8">
to
   <meta charset="UTF-8"/>
and tell us what happens.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 12th, 2020, 8:55pm
"The .htaccess stuff is quite complex in its full capacities, but can also be used in a minimal manner (the only one I understand myself); perhaps a single-line file  with just  
AddType text/html .myrweb
or even  
AddType text/html .html
the second one would be simpler for future use, no need for any rename.  

You can store such a .htaccess file - if allowed - in either folder (the root one or the guitar one)."

I don't think I have access to any of this, but I'm definitely still learning, so I could be wrong. I'll reach out to mymusicstaff...

"Please try the following: before uploading the file to the server, just change (line #4)  
   <meta charset="UTF-8">
to
   <meta charset="UTF-8"/>
and tell us what happens."

It doesn't seem to have done much. You can check again here: https://www.lessonslive.com/Guitar-Practice-Tools

If I can't improve on what I have, I can either instruct viewers that the examples will only work in ME and IE, or I could switch hosts, or I could find another web player. I just really wanted HE to work with mymusicstaff's builder, as this comes included with the software subscription I'm already paying for, and now I've already bought Harmony Assistant.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by JP on May 12th, 2020, 10:12pm
The three files in your page start by

Quote:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="data:text/javascript;base64,ZnVuY3Rpb24gRGVidWcoZSl7dmFyIHQ9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImRlYnVnIik7
...

Please change the 4th line as instructed from

Quote:
<meta charset="UTF-8">

to

Quote:
<meta charset="UTF-8"/>


The main difference between HTML and XHTML is that all XHTML tags must be closed, whereas some HTML tags don't need to be closed.
As much as I understand, your server instructs browsers that all files are XHTML files.
If you close the <meta> tag by putting a "/" before the ending ">" your file should be considered as a valid XHMTL file.
I checked the validity of that file with a specific webmaster tool.
The modified file was considered valid by that tool.

Don't try to make changes in .htaccess files. It's a very complex matter, and even if I'm a trained webmaster I avoid making changes in them unless it's absolutely necessary.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 12th, 2020, 10:47pm
Sorry, I had done and undone so many times. Check again, please?

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by JP on May 12th, 2020, 11:42pm

on 05/12/20 at 22:47:21, tubassee wrote:
Sorry, I had done and undone so many times. Check again, please?

OK I see what's happening: rhe 2nd file ("Pentatonic Scales UTF-8.html") being declared as XHTML/XML is considered as an XML file (and not an XHTML file) by FireFox
The file is a "valid XML file" but Firefox displays it as a data file without interpreting it as an HTML page (see below).
I hardly see how to bypass the issue.

As a registered user of HA you are entitled to use your personal MUSL file space. Maybe you should put your myweb files in your MUSL file space and just put links to these files in your musicspace. I don't know if that cat be done and how to do it.
Another possibility which was previously suggested to you would be to renmae the file with a .php extension instead of .html.
Once again, it's nos sure that musicspace qould allow you to do that.
Sorry I cannot help you more.
It's 11:30PM, I need some rest. Maybe I'll have a better suggestion tomorrow morning.  :)


Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 13th, 2020, 1:43am
I really appreciate the help.

I tried the .php extension already...

I just updated Edge, and now removing ".html" from the file name, no longer works there either.  :'(

I hadn't really tested Explorer out before. It shows the score, and plays in Explorer, but there is no cursor, and some other functions don't work.

I'll keep messing around with it a bit, but I might just need to ditch either HA or the mymusicstaff web page.

I don't know anything about the MUSL file space. More to learn about, I guess!  ;D Maybe I could also set up a file sharing link, and people could download the files, and then they would open fine.

The first example is now a link to GD, you have to download it, but then it can be opened and used. Better than nothing I suppose...

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by JP on May 13th, 2020, 11:00am
For your information, the marketshare of browsers WW is
  • 62.48%  for Google Chrome
  • 19.94% for Apple Safari
  • 4.21% for Firefox
  • 3.4% for Samsung Internt
  • 2.23% for Edge

The rest (including IE) makes 7.74%

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by JP on May 13th, 2020, 11:08am

on 05/13/20 at 01:43:43, tubassee wrote:
I'll keep messing around with it a bit, but I might just need to ditch either HA or the mymusicstaff web page.

My recommandtaion would be avoid using mymusicstaff which apprently does not conform with common web usage.
About MUSL http://www.myriad-users.com/en/index.html

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 13th, 2020, 5:55pm
I so appreciate the help, but TBH, I wish i had not bought HA!

I should have tried to use the software itself more first. I suppose it must work okay for notation but unless I'm missing something, it's pretty much unusable for instruments using tablature.

My first impression was that surely I just needed to get used to it, but that doesn't appear to be the case.

It's pretty much impossible to get the tablature to do what you want. Why can't you just dictate which string a note is on?! I tried messing around with the rules and it went from bad to worse!

I tried pasting from my example, thinking that would preserve the tablature, and it made the most ridiculous fingerings imaginable!

So frustrated! I'm gonna beg for my $85 dollars back.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by bubu42 on May 13th, 2020, 6:26pm

on 05/13/20 at 17:55:07, tubassee wrote:
It's pretty much impossible to get the tablature to do what you want. Why can't you just dictate which string a note is on?
Actually, you can...
Personally I sometimes have to print a few guitar tab scores. As for automatic calculation of the best positions, I usually don't change the default settings. However, I keep using this feature : when holding down a right click (for a second or so) on a tablature figure , a popup menu appears and offers me other possibilities. That's probably what you missed out. There are so many features in HA ! The best thing to do is to ask questions on this forum whenever a problem or difficulty occurs. In most cases you'll get a reply within a few hours (due to the different time zones) or even a few minutes if European users are not asleep. ;)

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Andre_B on May 13th, 2020, 6:35pm

on 05/13/20 at 18:26:33, bubu42 wrote:
The best thing to do is to ask questions on this forum whenever a problem or difficulty occurs.


But don't hesitate to open a new thread for a new question - in the right section and with an appropriate title.
There can be HA-Guitar experts who are not interested by myrweb, for instance, and who will never see this part of the question.

But for the myrweb issue, please don't blame HA for the incoherences of your service provider. By the way, did you ask them for help?

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Oliveira on May 13th, 2020, 6:58pm
::)Vaya por delante, que yo no entiendo casi nada de guitarras y sus cifrados. Pero, es que viendo estos tres gráficos..ya no sé que pensar.
Son tres programas distintos. Con guitarras standard . Veo que la cifra de los tres programas son distintos...¿Cual está bién?... ::)

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 13th, 2020, 7:42pm
I apologize. I realize I flew off the handle a bit, and that the last part was way off topic.

Just feeling so much frustration. I liked the idea of paying once without having to pay a subscription fee. I think I would have been content if I could have gotten it to work.

To get it to work it seems like I would have to end up paying for hosting; which in effect is paying for a subscription!

It's hard for me to get excited about doing that for HA, when I've discovered some other stuff, that I was able to simply paste examples of code into my website to make work.

I don't want to violate any forum rules by naming what I found, but there is one really slick service that syncs up with YT videos or sound recordings, and the player is fully navigable.

Again, I really appreciate the help, and I'm not trying to ruffle feathers. I've asked for a refund; which I believe is contrary to policy. If I'm denied, I'll try to find a use for HA. Maybe using the Virtual Singer module to make guitar and vocal practice tracks...

Oliveira, 1>2>3

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 14th, 2020, 12:19am
"...a popup menu appears and offers me other possibilities. That's probably what you missed out."

Thanks, this does work, but is extremely tedious. I'll take further questions to the appropriate board, however. At least it makes dictating the placement possible.

What's the best way to post feature requests? I don't see it in this forum.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by bubu42 on May 14th, 2020, 7:59am

on 05/14/20 at 00:19:38, tubassee wrote:
What's the best way to post feature requests? I don't see it in this forum.
Actually, it all depends on what product is the target... For Harmony Assistant, just launch a thread in the first section preferably with an obvious title. In some cases, the "Myrscript language" section can be useful. HA comes with a very efficient scripting language and there are very gifted members on this forum who can implement some useful features, too. There's also a second forum, "The Democratic workshop", but I think it has become deprecated over time, so I wouldn't advise it.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Oliveira on May 14th, 2020, 9:49am

on 05/13/20 at 19:42:25, tubassee wrote:
Oliveira, 1>2>3

Por alusiones.. ¿Que me quiere decir..? ::)

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Tony Deff on May 14th, 2020, 2:01pm

on 05/13/20 at 17:55:07, tubassee wrote:
Why can't you just dictate which string a note is on?

There is also a more direct method, detailed on the attachment.
You can't just give up on H.A. until you have tried it for ten years ::), studied the documentation intensely and asked many questions ??? on the Forum.

P.S.  The long-right-click method mentioned by Bubu is very hit-and-miss on my PC (opens the Note Options window instead).  Probably the mouse timing setting.


on 05/14/20 at 00:19:38, tubassee wrote:
What's the best way to post feature requests? I don't see it in this forum.

Switch Forums from the Board Home page, clicking on the blue link to Democratic Workshop near the top-right.
Unfortunately, the programmers appear to have been far too busy to implement any of these suggestions of late.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Oliveira on May 14th, 2020, 4:06pm

on 05/14/20 at 14:01:47, Tony Deff wrote:
You can't just give up on H.A. until you have tried it for ten years ::), studied the documentation intensely and asked many questions ??? on the Forum.


¡Milagros, a Lourdes!. :)

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 14th, 2020, 5:19pm

on 05/14/20 at 14:01:47, Tony Deff wrote:
There is also a more direct method, detailed on the attachment.


What attachment?


on 05/14/20 at 14:01:47, Tony Deff wrote:
P.S.  The long-right-click method mentioned by Bubu is very hit-and-miss on my PC (opens the Note Options window instead).  Probably the mouse timing setting.


If you use the syringe pointer, you can just right click on the tab note. No long press is needed.


on 05/14/20 at 14:01:47, Tony Deff wrote:
You can't just give up on H.A. until you have tried it for ten years ::), studied the documentation intensely and asked many questions ??? on the Forum.


The thing is, I'm sure HA is a much more powerful notation program than Guitar Pro, which I'm used to using. However, I only purchased it to be able to use Myrweb to embed examples on my web site. During the eval period, I though I had figured out how to make it work, and went ahead and purchased it.

It turned out that it won't work for what I wanted it to. I have since found a service that I can use for free. I was able to create a file on their site, and get it onto my site in 10 mins. It will also sync to YT videos, and audio files.

Sure it's not as powerful as HA, but it's straightforward, and does what I was looking for in the first place.

I'm sure I could learn HA, and get more used to the workflow of it, but it's just not the right tool for the job/my situation.

I'm just a broke musician, trying to improve my remote lessons during this crisis. I could really use that $85 back! I'm thinking I'm out of luck there, so I'll try to find some use for HA, or I just have to write off this loss.

Thanks to everyone for their help.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Andre_B on May 14th, 2020, 5:37pm
How many times should we tell you that the problems you encounter with Myrweb are due to your service provider / Internet host, which does not handle the html files in the normal manners!

You didn't even tell us if you contacted them for support, and what they may have answered!

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by tubassee on May 14th, 2020, 6:07pm
This is the only help I received:

"It looks like their unique, proprietary file format is not supported by our Web Builder. Does this site offer any sort of iframe/embedding code? That would likely be supported."

I admit to missing the "iframe/embedding code" part in the shuffle. Does that help?

So I should change my service provider, and beat my head against the wall with HA, when there is a free and easy option that works with the provider I have?

Look, I'm not trying to bash HA. I'm sure it is a great program. I just don't think it's a good fit for me.

Title: Re: Getting Myrweb to Work with mymusicstaff.com
Post by Andre_B on May 15th, 2020, 6:48pm

on 05/14/20 at 18:07:03, tubassee wrote:
This is the only help I received:

"It looks like their unique, proprietary file format is not supported by our Web Builder. Does this site offer any sort of iframe/embedding code? That would likely be supported."

There isn't a proprietary file format, it's plan html, which is well supported by web browsers (except some things with Interne Explorer, but so there are many) and all the web service providers I know (I have used 4 of them in the last year!).
It's plain "text/html",  not XHTML, sure (but they are not the only ones...)  
and they expect all files with a .html extension to be of type "application/xhtml+xml".

If they cannot (or do not want to) fix that, a simple .htaccess can fix that. Look in your FTP if there is such a file in one of your folders.  


on 05/14/20 at 18:07:03, tubassee wrote:
This is the only help
So I should change my service provider, and beat my head against the wall with HA, when there is a free and easy option that works with the provider I have?

Look, I'm not trying to bash HA. I'm sure it is a great program. I just don't think it's a good fit for me.

Of course, that's up to you.



Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.