Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Basic HTML question (I think)

Basic HTML question (I think)
Thread Tools
Appleman
Mac Elite
Join Date: Feb 2001
Location: France
Status: Offline
Reply With Quote
Jun 8, 2005, 05:30 PM
 
I have almost no idea about html, so I thought about asking people here.
I just recently start using Kung Tunes that reads iTunes currently playing song and puts that on the internet.
It uses the following HTML code in order to let people click on the band, and that leads them to Google:

<p><b>^t</b>#a from the album "^a"#a#p by <a href="http://www.google.com/search?q=%22^p%22" target="_blank">^p</a>#p

Now I would like to change this into doing a search on iTunes Music Store instead.

I tried to change the current

http://www.google.com/search

into

itms://phobos.apple.com/search

and tried

http://phobos.apple.com/WebObjects/MZSearch.woa

but that doesn't work.

Anyone? Thanks.
     
clam2000
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Jun 10, 2005, 12:11 AM
 
assuming ^t is track, ^a is album and ^p is artist, the link would be:

<a href="
itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?songTerm=^t&albumTerm=^a&art istTerm=^p
">^p</a>

--Will
     
Appleman  (op)
Mac Elite
Join Date: Feb 2001
Location: France
Status: Offline
Reply With Quote
Jun 10, 2005, 08:33 AM
 
Yes, this is exactly what I wanted!
Now my next problem is that I would like to let the iTunes Music Store do a search only on the band, as some songs are unknown at the store, while the artist itself is.
But by deleting
songTerm=^t&albumTerm=^a&
in
itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?songTerm=^t&albumTerm=^a&art istTerm=^p
is not accepted by the store. Any idea why?
Thank you for your solution!
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 08:15 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,