Changeset 4621
- Timestamp:
- 02/18/08 16:03:22 (10 months ago)
- Files:
-
- trunk/nuxleus/Web/4lessig.org/Web.config (modified) (1 diff)
- trunk/nuxleus/Web/4lessig.org/index.page (modified) (1 diff)
- trunk/nuxleus/Web/4lessig.org/page/controller/atomictalk/base.xsl (modified) (5 diffs)
- trunk/nuxleus/Web/4lessig.org/page/view/form/add-support.xml (modified) (2 diffs)
- trunk/nuxleus/Web/4lessig.org/service/session/validate-request/service.op (modified) (1 diff)
- trunk/nuxleus/Web/4lessig.org/service/transform/controller/session/validate-request/base.xslt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/nuxleus/Web/4lessig.org/Web.config
r4614 r4621 40 40 <system.web> 41 41 <httpHandlers> 42 <add verb="GET,HEAD" path="/service/session/validate-request/*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncRequestValidationHandler,Nuxleus.Web"/> 42 43 <add verb="*" path="/service/4lessig/foo/*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncFormHandler,Nuxleus.Web"/> 43 44 <add verb="*" path="*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncXmlServiceOperationHandler,Nuxleus.Web"/> trunk/nuxleus/Web/4lessig.org/index.page
r4613 r4621 17 17 <page:output> 18 18 <page:head src="/page/output/head/base.xml" /> 19 <page:body src="/page/output/body/base.xml" /> 19 <page:body src="/page/output/body/base.xml" /> 20 20 </page:output> 21 21 </my:page> trunk/nuxleus/Web/4lessig.org/page/controller/atomictalk/base.xsl
r4599 r4621 7 7 Russ Miles (mailto:aohacker@gmail.com; http://www.russmiles.com/) 8 8 --> 9 <xsl:stylesheet version="1.0" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:re sponse="http://nuxleus.com/message/response" xmlns:session="http://atomictalk.org/session" xmlns:geo="http://nuxleus.com/geo" xmlns:my="http://xameleon.org/my" xmlns:page="http://atomictalk.org/page" xmlns:doc="http://atomictalk.org/feed/doc" xmlns:service="http://atomictalk.org/page/service" xmlns:output="http://atomictalk.org/page/output" xmlns:head="http://atomictalk.org/page/output/head" xmlns:body="http://atomictalk.org/page/output/body" xmlns:advice="http://atomictalk.org/page/advice" xmlns:view="http://atomictalk.org/page/view" xmlns:layout="http://atomictalk.org/page/view/layout" xmlns:form="http://atomictalk.org/page/view/form" xmlns:menu="http://atomictalk.org/page/view/menu" xmlns:exsl="http://exslt.org/common" xmlns:resource="http://atomictalk.org/page/resource" xmlns:model="http://atomictalk.org/page/model" xmlns:app="http://purl.org/atom/app#" xmlns:atompub="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="html exsl my app response advice atom head page service resource output form body view menu model msxsl doc atompub">9 <xsl:stylesheet version="1.0" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:request="http://nuxleus.com/session/request" xmlns:response="http://nuxleus.com/message/response" xmlns:session="http://atomictalk.org/session" xmlns:geo="http://nuxleus.com/geo" xmlns:my="http://xameleon.org/my" xmlns:page="http://atomictalk.org/page" xmlns:doc="http://atomictalk.org/feed/doc" xmlns:service="http://atomictalk.org/page/service" xmlns:output="http://atomictalk.org/page/output" xmlns:head="http://atomictalk.org/page/output/head" xmlns:body="http://atomictalk.org/page/output/body" xmlns:advice="http://atomictalk.org/page/advice" xmlns:view="http://atomictalk.org/page/view" xmlns:layout="http://atomictalk.org/page/view/layout" xmlns:form="http://atomictalk.org/page/view/form" xmlns:menu="http://atomictalk.org/page/view/menu" xmlns:exsl="http://exslt.org/common" xmlns:resource="http://atomictalk.org/page/resource" xmlns:model="http://atomictalk.org/page/model" xmlns:app="http://purl.org/atom/app#" xmlns:atompub="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="html exsl my app response advice atom head page service resource output form body view menu model msxsl doc atompub"> 10 10 11 11 <xsl:param name="closure-token-pre-delimiter" select="'|@@'"/> … … 31 31 <xsl:param name="parameter-value-assigment-token" select="'='"/> 32 32 33 <xsl:variable name="session-info" select="document('/service/session/ get-session-request-info/')/response:message"/>33 <xsl:variable name="session-info" select="document('/service/session/validate-request/')/response:message"/> 34 34 <xsl:variable name="session-name" select="$session-info/response:session/@openid"/> 35 35 <xsl:variable name="session-id" select="$session-info/response:session/@session-id"/> 36 <xsl:variable name="request-id" select="$session-info/response:session/response:request-guid"/> 37 <xsl:variable name="request-date" select="$session-info/response:session/response:request-date"/> 36 <xsl:variable name="request-id" select="$session-info/response:request-guid"/> 37 <xsl:variable name="request-date" select="$session-info/response:request-date"/> 38 <xsl:variable name="request-time" select="$session-info/response:request-time"/> 38 39 <xsl:variable name="geo-ip" select="$session-info/response:geo"/> 39 <xsl:variable name="location" select="$geo-ip//response:city"/> 40 <xsl:variable name="ip" select="$geo-ip/response:ip"/> 41 <xsl:variable name="location" select="$geo-ip/response:city"/> 40 42 <xsl:variable name="lat" select="$geo-ip/response:lat"/> 41 43 <xsl:variable name="long" select="$geo-ip/response:long"/> … … 109 111 </xsl:template> 110 112 111 <!-- <xsl:template name="geo-ip-map-script"> 112 <xsl:param name="lat"/> 113 <xsl:param name="long"/> 114 115 </xsl:template> --> 113 <xsl:template match="geo:location"> 114 <xsl:value-of select="$location"/> 115 </xsl:template> 116 117 <xsl:template match="geo:lat"> 118 <xsl:value-of select="$lat"/> 119 </xsl:template> 120 121 <xsl:template match="geo:long"> 122 <xsl:value-of select="$long"/> 123 </xsl:template> 124 125 <xsl:template match="session:id"> 126 <xsl:value-of select="$session-id"/> 127 </xsl:template> 128 129 <xsl:template match="session:request-id"> 130 <xsl:value-of select="$request-id"/> 131 </xsl:template> 132 133 <xsl:template match="session:request-date"> 134 <xsl:value-of select="$request-date"/> 135 </xsl:template> 136 137 <xsl:template match="session:request-time"> 138 <xsl:value-of select="$request-time"/> 139 </xsl:template> 140 141 <xsl:template match="geo:ip"> 142 foo: <xsl:value-of select="$ip"/> 143 </xsl:template> 116 144 117 145 <xsl:template match="page:body"> … … 263 291 264 292 <xsl:template match="geo:location"> 265 <!-- <xsl:value-of select="$geo.location//response:city"/> -->266 293 <xsl:value-of select="$location"/> 267 294 </xsl:template> … … 290 317 </xsl:choose> 291 318 </xsl:variable> --> 292 <!-- <xsl:apply-templates select="$local-news-doc/response:*[local-name() = current()/@topic]" mode="message"/> --> 293 </xsl:template> 319 <!-- <xsl:apply-templates select="$local-news-doc/response:*[local-name() = current()/@topic]" mode="message"/> --></xsl:template> 294 320 295 321 <xsl:template match="doc:local-flickr-photos"> 296 <!-- <xsl:apply-templates select="$local-flickr-images/response:*[local-name() = current()/@topic]" mode="flickr"/> --> 297 </xsl:template> 322 <!-- <xsl:apply-templates select="$local-flickr-images/response:*[local-name() = current()/@topic]" mode="flickr"/> --></xsl:template> 298 323 299 324 <xsl:template match="doc:local-blog-entries"> 300 <!-- <xsl:apply-templates select="$local-blog-entries/response:*[local-name() = current()/@topic]" mode="blogs"/> --> 301 </xsl:template> 325 <!-- <xsl:apply-templates select="$local-blog-entries/response:*[local-name() = current()/@topic]" mode="blogs"/> --></xsl:template> 302 326 303 327 <xsl:template match="*" mode="blogs"> trunk/nuxleus/Web/4lessig.org/page/view/form/add-support.xml
r4614 r4621 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <view:module class="base" id="instance" xmlns="http://www.w3.org/1999/xhtml" xmlns: geo="http://nuxleus.com/geo" xmlns:doc="http://atomictalk.org/feed/doc" xmlns:view="http://atomictalk.org/page/view">2 <view:module class="base" id="instance" xmlns="http://www.w3.org/1999/xhtml" xmlns:request="http://nuxleus.com/session/request" xmlns:session="http://atomictalk.org/session" xmlns:geo="http://nuxleus.com/geo" xmlns:doc="http://atomictalk.org/feed/doc" xmlns:view="http://atomictalk.org/page/view"> 3 3 <div class="form" id="pledgeSupport"> 4 4 <h1>Pledge your support 4Lessig 4Congress!</h1> 5 <form id="lessig" method="GET" action="/service/4lessig/add-support " target="_top">5 <form id="lessig" method="GET" action="/service/4lessig/add-support/" target="_top"> 6 6 <table id="pledgeSupportTable"> 7 7 <tr> … … 28 28 </table> 29 29 </form> 30 <h2>Debug Info</h2> 31 <ul> 32 <li>IP: <geo:ip/> 33 </li> 34 <li>City: <geo:location /> 35 </li> 36 <li>GeoLat: <geo:lat /> 37 </li> 38 <li>GeoLong: <geo:long /> 39 </li> 40 <li>SessionID: <session:id /> 41 </li> 42 <li>RequestID: <session:request-id /> 43 </li> 44 <li>RequestDate: <session:request-date /> 45 </li> 46 <li>RequestTime: <session:request-time /> 47 </li> 48 </ul> 30 49 </div> 31 50 </view:module> trunk/nuxleus/Web/4lessig.org/service/session/validate-request/service.op
r4599 r4621 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <?xml-stylesheet type="text/xsl" href="/ transform/base.xslt"?>2 <?xml-stylesheet type="text/xsl" href="/service/transform/controller/session/validate-request/base.xslt"?> 3 3 <service:operation xmlns:at="http://atomictalk.org" xmlns:session="http://xameleon.org/service/session" 4 4 xmlns:header="http://xameleon.org/service/http/header" xmlns:service="http://xameleon.org/service" trunk/nuxleus/Web/4lessig.org/service/transform/controller/session/validate-request/base.xslt
r4599 r4621 10 10 xmlns:browser-capabilities="clitype:System.Web.HttpBrowserCapabilities?partialname=System.Web" exclude-result-prefixes="#all"> 11 11 12 <xsl:import href="../../base.xslt" /> 12 13 <xsl:import href="../../../functions/funcset-Util.xslt" /> 13 14 <xsl:param name="current-context" />
