From b2e587331d0020fa2bf35e5a5ada249020858e14 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 01 Mar 2008 17:26:13 +0000 Subject: added handling of append='authority' attribute in URI construction. Signed-off-by: Michael Krelin --- (limited to 'src') diff --git a/src/components/xriProtocolHandler.js b/src/components/xriProtocolHandler.js index 3d27784..2e09f64 100755 --- a/src/components/xriProtocolHandler.js +++ b/src/components/xriProtocolHandler.js @@ -293,6 +293,8 @@ function renderService(srv, doc, qxri) var xrap = uu.getAttribute('append'); if(xrap=='qxri') { linkhref += qxri.replace(/^xri:\/\//,''); + }else if(xrap=='authority') { + linkhref += qxri.replace(/^xri:\/\//,'').replace(/\//.*,''); }else if(xrap!=null){ dump("Unhandled @append: "+xrap+"\n"); } -- cgit v0.9.0.2