<?xml version="1.0" encoding="utf-8"?>
<Module>
<ModulePrefs title="FlickrShout" author="Reid Burke">
<Require feature="opensocial-0.8" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<script src="http://apps.idearefuge.com/gadgets/flickrshout/current/main.js"></script>
<script>
gadgets.util.registerOnLoadHandler(IRFlickrShout.start);
</script>
<link rel="stylesheet" type="text/css" href="http://apps.idearefuge.com/gadgets/flickrshout/current/main.css">
<div id="ir-app">
<div id="hd">
<h1>FlickrShout!</h1>
</div>
<div id="bd">
<div id="flickr-info">
<div id="view-id"><span id="view-id-data">Loading your Flickr information...</span> <a href="" onclick="return IRFlickrShout.userId.toggle();">Edit</a></div>
<form id="entry-form" onsubmit="return IRFlickrShout.userId.submit();" style="display: none;">
<label for="user_id">Enter your Flickr ID (use <a href="http://idgettr.com/">idGettr</a> to find it)</label>
<input type="text" name="user_id" id="user_id">
<input type="submit" value="Save">
</form>
</div>
<div id="error-bd" class="error">
FlickrShout isn't quite ready to use yet.
<div>If you continue to see this message, make sure you're using it inside an OpenSocial container.</div>
</div>
<div class="block">
<div class="right"><a href="" onclick="IRFlickrShout.shout.start(); return false;">Refresh Photos</a></div>
<h2>Your Recent Photos</h2>
<div id="recent-photos">Loading...</div>
<form id="shout" onsubmit="return IRFlickrShout.shout.submit();">
<p>Want to Share?</p>
<div id="shout-status"></div>
<input type="submit" id="shout-button" value="Shout Selected Photos">
<p class="detail">Shouting your photos will add them as activity to this social network.</p>
</form>
</div>
</div>
<div id="ft">
<a href="http://github.com/reid/flickrshout">Source on GitHub</a> — © 2008
</div>
</div>
]]>
</Content>
</Module>