peer
New Member
Posts: 5
|
Post by peer on Mar 5, 2024 12:39:22 GMT
Hallo. Ich würde gern versuchen, im Audio-Player von CATraxx auf einen Link klicken, um den dazugehörigen Eintrag in Discogs zu öffnen. Bisher wurde dies nur mit Amazon realisiert. I'd like to try clicking a link in CATraxx's audio player to open the corresponding Discogs entry. So far this has only been done with Amazon.
Ich unter den Weblinks den Link eingetragen, wie im Bild zu entnehmen. I entered the link under the web links as shown in the picture.
Wie und wo kann ich den XML/XSL-Code so anpassen? How and where can I customize the XML/XSL code like this?Mein bisheriger Versuch der Anpassung in der AudioPlayer.xsl... My previous attempt at customization in AudioPlayer.xsl...
<xsl:if test="/data/record/albumdata/@asinsite!=''">
<!--xsl:if test="/data/fld/weblinktype/@name=''"-->
<tr height="10">
<td>
</td>
</tr>
<tr>
<td colspan="2" align="CENTER">
<a href="{/data/record/albumdata/@asinsite}" target="_blank"><img src="Discogs.png" border="0" width="30%"/></a>
<!--a href="{/data/fld/weblinktype/@name}" target="_blank"><img src="Discogs.png" border="0" width="30%"/></a-->
</td>
</tr>
</xsl:if>
|
|
|
Post by ustoexx on Mar 5, 2024 15:08:01 GMT
Ich habe das über das "Site"-Menu gelöst: I've done it via Site-menu:
|
|
peer
New Member
Posts: 5
|
Post by peer on Mar 5, 2024 15:35:51 GMT
Ich würde aber gern den hinterlegten Weblink zum jeweiligen Album in Discogs aufrufen können und nicht die Suche. But I would like to be able to access the stored web link for the respective album in Discogs and not the search.
|
|
|
Post by ustoexx on Mar 6, 2024 11:50:27 GMT
In der XSL-Datei ist ja nur der Link zum Amazon.GIF eingetragen. Ich vermute, der notwendige Aufruf zur Amazon-Site mit dem gewünschten Künstler ist hartcodiert in den CATraxx-Programmdateien/-Bibliotheken. The XSL file only contains the link to the Amazon.GIF. I assume that the necessary call to the Amazon site with the desired artist is hardcoded in the CATraxx program files/libraries.
Edit: What's the result when you click on your Discogs-link?
|
|
peer
New Member
Posts: 5
|
Post by peer on Mar 10, 2024 13:41:32 GMT
Es öffnet sich die Suche auf Amazon
The search on Amazon opens
|
|
|
Post by ustoexx on Mar 10, 2024 15:54:35 GMT
Habe ich mir gedacht. That's what I thought.
|
|
peer
New Member
Posts: 5
|
Post by peer on Mar 11, 2024 16:50:15 GMT
Das wäre schade, denn dann wird es nicht funktionieren. Eine andere Möglichkeit fällt hier niemand ein?
That would be a shame because then it won't work.
No one can think of another option here?
|
|
|
Post by DougWilliams on Mar 12, 2024 1:39:53 GMT
I did try but my XSL skills are weak. One thing I did realize though is that you would need to determine not just that there is a link, but that the link is Discogs. If you had multiple web links, how would it pick the correct one?
|
|
peer
New Member
Posts: 5
|
Post by peer on Mar 15, 2024 9:50:30 GMT
Eigentlich möchte ich einfach den hinterlegten Link innerhalb der Datenbank, wie am ersten Post im Anhang dargestellt, im CD-Player aufrufen.
Zum Beispiel (HTML):
<a href="https://www.discogs.com/de/release/1646685-Simon-F-I-Want-You-Back"><img src="discogs.png" alt="Discogs Suche" style="width:42px;height:42px;"></a> Wobei href="https://www.discogs.com/de/release/1646685-Simon-F-I-Want-You-Back" der Link zum Album ist.
Actually, I would simply like to access the stored link within the database, as shown in the attachment in the first post, in the CD player.
For example (HTML):
<a href="https://www.discogs.com/de/release/1646685-Simon-F-I-Want-You-Back"><img src="discogs.png" alt="Discogs Search" style=" width:42px;height:42px;"></a>
Where href="https://www.discogs.com/de/release/1646685-Simon-F-I-Want-You-Back" is the link to the album.
|
|