The Meaning of My Name
From OpenSocial Directory
|
| ||||||||||||||||||
Image:Example.jpg==Reviews==
Add a Review
Template:The Meaning of My Name Reviews
[edit] Comments
| Leave a comment |
|---|
How does this work?
I hve tried thru ning network and can't get this to work. What do I do to get my name to register?
comment posted by: Charles (Sat Dec 01 18:18:56 2007)
comment posted by: Brittany (Wed Dec 10 13:06:02 2008)
I hve tried thru ning network and can't get this to work. What do I do to get my name to register?
comment posted by: Charles (Sat Dec 01 18:18:56 2007)
comment posted by: Brittany (Wed Dec 10 13:06:02 2008)
[edit] Code
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="The Meaning of My Name" description="Ever wondered what the origins of your first name are? Time to find out!" author="Suren Markosian" author_email="suren.markosian@gmail.com" author_location="San Mateo, CA" screenshot="http://names.boomwe.com/img/screenshot.gif" thumbnail="http://names.boomwe.com/img/thumb.gif" height="230">
<Require feature="opensocial-0.5" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<script type="text/javascript">
var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest('OWNER'), 'owner');
req.send(onLoadOwner);
function onLoadOwner(dataResponse) {
var user = dataResponse.get('owner').getData();
name = user.getDisplayName().split(" ");
name = name[0];
_IG_FetchContent('http://names.boomwe.com/name.php?name=' + name, function (responseText) {
document.getElementById('main').innerHTML = responseText;
}
);
}
</script>
<div id="main">
Loading the meaning of your name...
</div>
]]>
</Content>
</Module>
BlogMarks
del.icio.us
digg
Furl
Newsvine
reddit
Simpy
Slashdot