The Meaning of My Name

From OpenSocial Directory

Jump to: navigation, search
Thumbnail
thumb.gif
Application Details
Description Ever wondered what the origins of your first name are? Time to find out!
Publisher Suren Markosian
Author Suren Markosian
Code http://names.boomwe.com/name.php
Genre Fun
Screenshot
screenshot.gif

Image:Example.jpg==Reviews== Add a Review
Template:The Meaning of My Name Reviews

[edit] Comments

Leave a comment

Your Name:
Heading:
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)


[edit] Code

View 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>

Page Rating

Rating: 3.0/5 (5 votes cast)

Personal tools
communication