<?xml version="1.0" encoding="UTF-8"?>
<Module>
    <ModulePrefs title="Sneak-O-Scope"
     screenshot="http://sneak-o-scope.appspot.com/img/screenshot.jpg"
     description="SneakoScope is an application that lets you monitor people visiting your profile page. See the time and location of visits with graphs and maps. Show off your popularity with by displaying visitors viewing your page at any time !! Just ensure that the application is expanded and displayed on the profile page"
     thumbnail="http://sneak-o-scope.appspot.com/img/visitor.jpg"
     author="Parasuraman"
     author_email="sneakoscope.application@gmail.com"
     author_location="Bangalore, India"
     author_affiliation="Geekstimeout "
     title_url="Sneak-O-Scope"
     directory_title="Sneak-O-Scope">
        <Require feature="opensocial-0.8"/>
        <Require feature="dynamic-height"/>
        <Require feature="views"/>
        <Require feature="opensocial-data"/>
        <Require feature="opensocial-templates">
            <Param name="process-on-server">
                true
            </Param>
        </Require>
    </ModulePrefs>
    
    <Content type="html" view="canvas">
        <![CDATA[
		<!-- ALm6fM23el1IbMC2eIgsgXnRTA9NPCm2OlPgMvl49EdO2AzrRXAg3m9xAYht35D70ODNl2puHhEiL6MMVjCTfkOFW5DExNg5D4QDCtc8_pXDLSxuJVTO47J6O-1jJ3RZEIBMyepo3e9w -->
	
	<script type="text/javascript">
			__pageConfig__ = 
	        {
	            "owner":
	            {
					"canvas" : "http://sneak-o-scope.appspot.com/owner?view=canvas"
	            },
	            "viewer": 
	            {
					"canvas" : "http://sneak-o-scope.appspot.com/viewer?view=profile"
	            },
				"params" :
				{
					"container" : "orkut",
					"height" : "600px",
					"frameworkVersion":"1.0",
					"feedUrl" : "http://sneak-o-scope.appspot.com/activity"
				}
	        };
		
			function init()
			{
				var x = document.createElement("script");
				x.src = "http://sneak-o-scope.appspot.com/snapp/orkut/js/init.js";
				document.body.appendChild(x);
			}
			gadgets.util.registerOnLoadHandler(init);
		</script>
		<div id = "snappContent">
			<center>
				<img src = "http://sneak-o-scope.appspot.com/snapp/common/img/load.gif">
			</center>
		</div>
	  ]]>
    </Content>
    <Content type="html" view="profile">
        <![CDATA[ 
        <script xmlns:os="http://ns.opensocial.org/2008/markup" type="text/os-data">
            <os:HttpRequest key="recorder" href="http://sneak-o-scope.appspot.com/viewer?view=profile" authz="signed" sign_owner="true"/>
        </script>
        <script type="text/os-template" require="recorder">
            <span>
                ${recorder}
            </span>
        </script>
	]]>
        
    </Content>
</Module>

