Hyperlinks in Text
Is there any way to embed clickable URLs in text elements?
(The only place that I can find for a URL is in the score properties source field)
Is there any way to embed clickable URLs in text elements?
(The only place that I can find for a URL is in the score properties source field)
Do you still have an unanswered question? Please log in first to post your question.
Comments
No. That sure would be terrific. What I do on the site is make a list of all the URL's I reference in the score and express it in the "about" and refer to it.
In reply to No. That sure would be… by [DELETED] 1831606
What I was planning was an "index" score where each system would be a single line of 4 or 5 measures from the start of a piece. Hyperlinks would link to the full score, YouTube, Wiki info etc. The 2nd, 3rd, 4th etc. systems would be similar but for pieces 2, 3, 4 etc.
If the scores were all by the same composer/songwriter then a further URL could link to wiki info for the composer or to the songwriter's home page.
I'll do something similar to your "about" until MS supports hyperlinks in text.
In reply to What I was planning was an … by yonah_ag
You don't have to tell me how useful it'd be, but I don't think there's much chance of it happening any time soon. Not to mention how hard it would be to integrate it into the site, which is displaying images, not text, even if the desktop app supported it. The "About" is a weak solution, and rapidly becomes unmanageable/unusable if there are more than a dozen or so links involved. For some reason, the site people are phobic about markup (other than links) in page comments or "about".
In reply to I don't have to tell you how… by [DELETED] 1831606
I was only thinking of MS desktop but it would be best if the site could also support it.
For the desktop version, is it something that is possible via a plugin?
In reply to I was only thinking of MS… by yonah_ag
No, a plugin cannot reorganize the data structures of the application and its .mscx files.
In reply to No, a plugin cannot… by [DELETED] 1831606
But could a plugin parse a text element for a link and launch it in a web browser?
In reply to But could a plugin parse s… by yonah_ag
Yeah, that's sort of what I just said as you had the same thought.
In reply to No, a plugin cannot… by [DELETED] 1831606
I can imagine a plugin that could be called up to extract "looks like a URL" text from text blocks and offer activating them, but there are several problems with that (1) the plugin API for text blocks is weak (2) the person wanting to click, not the author, would have to know it exists and to use it. I'd be happy if you could even copy text out of web-posted scores, but that's basically impossible now because, as I said, they are displayed as rendered images. Anyone skilled enough who has download access to the score can download it and copy out the URL's from the text blocks in the application, today. The real issue is live scores on the site.
In reply to I can imagine a plugin that… by [DELETED] 1831606
A usable idea might be to augment the right-click menu on text strings in text blocks to include "open as url" if it looks like one, but clicking "copy" and then pasting into a browser address bar is not much more difficult (i.e., they are both difficult).
In reply to A usable idea might be to… by [DELETED] 1831606
Can a playable score be embedded in a webpage outside of musescore.com? This would make links very easy.
In reply to Can a playable score be… by yonah_ag
You can embed the musescore.com score widget in other sites, yes, but I don't think that solves the link problem.
In reply to You can embed the musescore… by Marc Sabatella
It would allow links as part of the page in which a score was embedded but it wouldn't help with MS desktop. Are there any details on using the score widget?
In reply to It would allow links as part… by yonah_ag
Embedding would help people who visit your site which is not MuseScore.com, and has much to recommend it if you have one. There are details somewhere; it's not difficult.
In reply to Embedding would help people… by [DELETED] 1831606
You can only embed a score which is already on musescore.com. It won't read and render mscz files. But it is also possible to build your own score-playing site around your own mscz's, but it requires quite a bit of software work.
In reply to You can only embed a score… by [DELETED] 1831606
This sounds very interesting. Do you have any details or are they with Mr. Google?
In reply to This sounds very interesting… by yonah_ag
I helped a friend of mine design and organize such a site, http://bach-chorales.info . Some of the scripting is mine, the web-player by a friend of ours. It's a lot of complicated javascript, but the basic idea is that you tell musescore to make .svg page images, .mp3 sound files, and .mpos files, which are XML that relate score rectangles to real time. Then you write a ton of javascript that uses them all at the same time. The mechanics of playing a sound file in HTML5 are easy -- the audio element does it all for you, and calls you back when you ask it. But organizing the whole is not a small job, but it's not rocket science. It does not involve Google. This is not an out-of-the box solution, but if you have credible javascript and site-management skills, and are willing to maintain the code you write as browsers change, etc., it's viable.
In reply to I helped a friend of mine… by [DELETED] 1831606
Fantastic! That's given me some good ideas and I'll take a look at the site. Is all the scripting client side?
I've been looking at writing an Android app to play .mscz files, since the offering from ms.com renders TAB so poorly, but using a web site may prove easier. (This is why I have been interested in understanding the .mscx format rather than MusicXML).
In reply to Fantastic! That's given me… by yonah_ag
Yes, the scripting is all client-side (and visible). Mind you, it doesn't "play mscz files". YOU have to 'distill' the mscz files into triplets of image, sound, and mpos (can be done with musescore command line arguments), and the scripting plays/shows them.
In reply to Yes, the scripting is all… by [DELETED] 1831606
I've done something similar, though not as complex, with JavaScripted slide shows so I get what you're saying about distilling. Thanks so much for taking the time to help. 🙂
P.S. That Bach site works really nicely.
In reply to I've done something similar,… by yonah_ag
One three-line shell script will do all the distillation you need. If you have modern javascript skills, this is not a problem, and I can offer more help (but contact me privately). Thanks -- had to do a lot of testing on 3 browser and phones.
In reply to It would allow links as part… by yonah_ag
The API for using musescore.com is one thing, but since there is no internal support In MuseScore or in the musescore.com widget for creating links, it’s not going to help. You need to first implement links within MuseScore, then you can worry about how to expose them. Since musescore.com is not open source, I don’t see that as an easier way to expose the link functionality than doing it within MuseScore itself.
In reply to The API for using musescore… by Marc Sabatella
The idea of embedding the score in a page of your choice which is full of links of your choice is surely the best solution now (there are already many such pages), if you, indeed, have your own site. Adding link functionality to the application if the web site cannot expose it is of very little value (and I fully appreciate the technical, let alone business, difficulties of handing structured images on the web site). It is of little utility to the web site, whose main income stream is ad clicks on pages of popular songs, not visitation of structured documents.
In reply to The idea of embedding the… by [DELETED] 1831606
Exactly. The links would be in the body of my web page on my web site. The score would be included as an embedded object. So my own web page would expose the link functionality. This is easy but, of course, no help with the desktop version.
But I can see there's not really a business case for links in MS.
See #323913: Request for in-score Hyperlinks / URLs