X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fraw.html;h=8b99df5033b9c2475154f1b2c69ffd85140a8e74;hb=c4efd56b55c76a8299ce107250c707382418f46b;hp=063f9b624f9529087f3dd04e4c224a9c72496681;hpb=8e67c90003e218f3bd81135a8fec4ce54f874670;p=irspy-moved-to-github.git diff --git a/web/htdocs/raw.html b/web/htdocs/raw.html index 063f9b6..8b99df5 100644 --- a/web/htdocs/raw.html +++ b/web/htdocs/raw.html @@ -1,10 +1,7 @@ -%# $Id: raw.html,v 1.3 2006-09-25 16:37:55 mike Exp $ +%# $Id: raw.html,v 1.5 2006-11-16 17:05:51 mike Exp $ <%args> $id -<%once> -use ZOOM; - <%perl> my $conn = new ZOOM::Connection("localhost:3313/IR-Explain---1"); $conn->option(elementSetName => "zeerex"); @@ -17,8 +14,7 @@ if ($n == 0) { $m->comp("/chrome/layout.mc", component => "/details/error.mc", title => "Error", message => "No such ID '$id'"); } else { - my $rec = $rs->record(0); - my $xml = $rec->render(); + my $xml = $rs->record(0)->render(); $r->content_type("text/xml"); print $xml; }