|
|
Choosing A Webhost: |
[mb-commits] r7981 - in mb_server/trunk: cgi-bin htdocs/comp: msg#00205audio.musicbrainz.cvs
Author: robert Date: 2006-06-29 23:59:37 +0000 (Thu, 29 Jun 2006) New Revision: 7981 Modified: mb_server/trunk/cgi-bin/Album.pm mb_server/trunk/cgi-bin/Artist.pm mb_server/trunk/cgi-bin/Track.pm mb_server/trunk/htdocs/comp/albuminfo mb_server/trunk/htdocs/comp/artistinfo mb_server/trunk/htdocs/comp/trackinfo Log: Changed the RDF links to point to the new XMLWS. Modified: mb_server/trunk/cgi-bin/Album.pm =================================================================== --- mb_server/trunk/cgi-bin/Album.pm 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/cgi-bin/Album.pm 2006-06-29 23:59:37 UTC (rev 7981) @@ -1432,10 +1432,10 @@ ); } -sub RDF_URL +sub XML_URL { my $this = shift; - sprintf "http://%s/mm-2.1/album/%s", + sprintf "http://%s/ws/1/release/%s?type=xml&inc=artist+counts+release-events+discs+tracks", &DBDefs::RDF_SERVER, $this->GetMBId, ; Modified: mb_server/trunk/cgi-bin/Artist.pm =================================================================== --- mb_server/trunk/cgi-bin/Artist.pm 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/cgi-bin/Artist.pm 2006-06-29 23:59:37 UTC (rev 7981) @@ -1086,10 +1086,10 @@ ); } -sub RDF_URL +sub XML_URL { my $this = shift; - sprintf "http://%s/mm-2.1/artist/%s", + sprintf "http://%s/ws/1/artist/%s?type=xml&inc=aliases", &DBDefs::RDF_SERVER, $this->GetMBId, ; Modified: mb_server/trunk/cgi-bin/Track.pm =================================================================== --- mb_server/trunk/cgi-bin/Track.pm 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/cgi-bin/Track.pm 2006-06-29 23:59:37 UTC (rev 7981) @@ -539,10 +539,10 @@ return @info; } -sub RDF_URL +sub XML_URL { my $this = shift; - sprintf "http://%s/mm-2.1/track/%s", + sprintf "http://%s/ws/1/track/%s?type=xml&inc=artist+releases", &DBDefs::RDF_SERVER, $this->GetMBId, ; Modified: mb_server/trunk/htdocs/comp/albuminfo =================================================================== --- mb_server/trunk/htdocs/comp/albuminfo 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/htdocs/comp/albuminfo 2006-06-29 23:59:37 UTC (rev 7981) @@ -74,9 +74,9 @@ </tr> <tr> <td class="label"> - <a href="/MM/index.html">MM/RDF</a>:</td> + <a href="/development/mmd">XML</a>:</td> <td> - <a href="<% $release->RDF_URL %>"><% $release->RDF_URL %></a></td> + <a href="<% $release->XML_URL %>"><% $release->XML_URL %></a></td> </tr> % if ($session{uid}) { @@ -106,4 +106,4 @@ <& /comp/tableend &> -%# vi: set ts=4 sw=4 ft=mason : \ No newline at end of file +%# vi: set ts=4 sw=4 ft=mason : Modified: mb_server/trunk/htdocs/comp/artistinfo =================================================================== --- mb_server/trunk/htdocs/comp/artistinfo 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/htdocs/comp/artistinfo 2006-06-29 23:59:37 UTC (rev 7981) @@ -66,9 +66,9 @@ </tr> <tr> <td class="label"> - <a href="/MM/index.html">MM/RDF</a>:</td> + <a href="/development/mmd">XML</a>:</td> <td> - <a href="<% $artist->RDF_URL %>"><% $artist->RDF_URL %></a></td> + <a href="<% $artist->XML_URL %>"><% $artist->XML_URL %></a></td> </tr> % if ($session{uid}) { <tr> @@ -101,4 +101,4 @@ <& /comp/tableend &> -%# vi: set ts=4 sw=4 ft=mason : \ No newline at end of file +%# vi: set ts=4 sw=4 ft=mason : Modified: mb_server/trunk/htdocs/comp/trackinfo =================================================================== --- mb_server/trunk/htdocs/comp/trackinfo 2006-06-29 23:44:56 UTC (rev 7980) +++ mb_server/trunk/htdocs/comp/trackinfo 2006-06-29 23:59:37 UTC (rev 7981) @@ -63,9 +63,9 @@ </tr> <tr> <td class="label"> - <a href="/MM/index.html">MM/RDF</a>:</td> + <a href="/development/mmd">XML</a>:</td> <td> - <a href="<% $track->RDF_URL %>"><% $track->RDF_URL %></a></td> + <a href="<% $track->XML_URL %>"><% $track->XML_URL %></a></td> </tr> % if ($track->GetLength) { @@ -168,4 +168,4 @@ <& /comp/tableend &> -%# vi: set ts=4 sw=4 ft=mason : \ No newline at end of file +%# vi: set ts=4 sw=4 ft=mason :
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r7980 - mb_server/trunk/htdocs/comp, root |
|---|---|
| Next by Date: | [mb-commits] r7982 - mb_server/trunk/cgi-bin/MusicBrainz/Server, root |
| Previous by Thread: | [mb-commits] r7980 - mb_server/trunk/htdocs/comp, root |
| Next by Thread: | [mb-commits] r7982 - mb_server/trunk/cgi-bin/MusicBrainz/Server, root |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |