|
|
Choosing A Webhost: |
[mb-commits] r8700 - mb_server/trunk/cgi-bin: msg#00011audio.musicbrainz.cvs
Author: robert Date: 2006-12-05 05:30:04 +0000 (Tue, 05 Dec 2006) New Revision: 8700 Modified: mb_server/trunk/cgi-bin/RDF2.pm Log: Stop indenting the RDF. This should save us an estimated 5% - 7% on bandwidth. :) Modified: mb_server/trunk/cgi-bin/RDF2.pm =================================================================== --- mb_server/trunk/cgi-bin/RDF2.pm 2006-12-05 04:50:37 UTC (rev 8699) +++ mb_server/trunk/cgi-bin/RDF2.pm 2006-12-05 05:30:04 UTC (rev 8700) @@ -58,11 +58,11 @@ $az = $this->GetAZNamespace(); $ar = $this->GetARNamespace(); $out .= "<rdf:RDF xmlns:rdf = \"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n". - " xmlns:dc = \"http://purl.org/dc/elements/1.1/\"\n". - " xmlns:mq = \"$mq\"\n". - " xmlns:mm = \"$mm\"\n". - " xmlns:ar = \"$ar\"\n". - " xmlns:az = \"$az\">\n"; + " xmlns:dc = \"http://purl.org/dc/elements/1.1/\"\n". + " xmlns:mq = \"$mq\"\n". + " xmlns:mm = \"$mm\"\n". + " xmlns:ar = \"$ar\"\n". + " xmlns:az = \"$az\">\n"; return $out; } @@ -77,15 +77,7 @@ sub _indent { - my ($this) = @_; - my ($i, $data); - - for($i = 0; $i < $this->{level}; $i++) - { - $data .= " "; - } - - return $data; + return ""; } sub BeginDesc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r8699 - mb_server/trunk/htdocs/cdi, root |
|---|---|
| Next by Date: | [mb-commits] r8701 - mb_server/trunk/htdocs/user, root |
| Previous by Thread: | [mb-commits] r8699 - mb_server/trunk/htdocs/cdi, root |
| Next by Thread: | [mb-commits] r8701 - mb_server/trunk/htdocs/user, 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 |