Hyperlinks in Text

• Jan 15, 2020 - 17:57

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)


Comments

In reply to 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 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 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 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 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 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 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 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.

Do you still have an unanswered question? Please log in first to post your question.