<?xml version="1.0" encoding="UTF-8" ?><Module>    <ModulePrefs 
         title="Bloglines Notifier for __UP_bloglinesName__" 
         description="Displays the number of unread messages in a Bloglines account"
         height="50" scaling="false"
         author="Pamela Jones"          author_email="suadela+notifier@gmail.com"
         author_location="Melbourne, Australia"
         render_inline="optional" 
         directory_title="Bloglines Notifier"
         screenshot="http://www.bloglines.com/images/new_entry.gif"
    />     <UserPref name="bloglinesName" display_name="Bloglines Username" required="true"/>
    <Content type="html">        <![CDATA[ 
            <div id="bloglinesNotification" class="mc">
                Loading...
            </div>
                          <script language="javascript" type="text/javascript">
                 var prefs = new _IG_Prefs(__MODULE_ID__);
                 var username = prefs.getString("bloglinesName");
                 
                 _IG_FetchContent('http://rpc.bloglines.com/update?user='+username+'&ver=1/', 
                     function (responseText) {                         var num = responseText.substr(1,responseText.indexOf('|', 1)-1);
                         var bloglink = '<a href="http://www.bloglines.com/myblogs">Bloglines</a>';
                         var link = '<a href="http://www.bloglines.com/myblogs">Bloglines</a>';
                         var img = '<img src="http://www.bloglines.com/images/favicon.gif" style="vertical-align: bottom;"/>';
                        
                         div = document.createElement("DIV");

                         if (parseInt(num) > -1) {
                             div.innerHTML = '<br />'+img+' You have <strong>' + num + '</strong> new feed items in ' + bloglink;
                         }
                         else {
                             div.innerHTML = '<br />'+img+' Error getting update from ' + link + '  for user ' + username;
                         }        
                                
                         d = document.getElementById("bloglinesNotification");
                         d.removeChild(d.firstChild);
                         d.appendChild(div);
                         
                     });                              </script>
          ]]>     </Content></Module>             