<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
 <ModulePrefs 
    title="Daily Bible Verse - ESV" 
    directory_title="Daily Bible Verse - ESV" 
    title_url="http://www.gnpcb.org/esv/"
    description="Displays the Daily Verse from the English Standard Version website"
    author_affiliation="SemanticBible.org"
    height="90" 
    scrolling="true"
    render_inline="optional" />
<Content type="html">
    <![CDATA[
       <style>div {margin: 1px;}</style>
       <!-- load the NXSL library -->
       <script src="http://www.google.com/js/nxsl.1.js"
type="text/javascript"></script>
       <div id="content___MODULE_ID__"></div>
       <script>
       _IG_RegisterOnloadHandler(function () {
         var url = 'http://www.gnpcb.org/esv/share/rss2.0/daily/';
         _IG_FetchContent(url, function (response) {
           var prefs = new _IG_Prefs(__MODULE_ID__);
           var nxsl = xmlParse(''
             + '<div select="/rss/channel/item">'
             + ' <div select="description" content="."></div>'
             + ' <div style="text-align:right;"><a values="href:link" title="View this verse on the ESV website" target="_blank"><span select="title" content="."></span></a></div>'
             + '</div>');
           nxslProcess(xmlParse(response), nxsl);
           var content = xmlText(nxsl);
           _gel('content___MODULE_ID__').innerHTML = content;
         });
       });
      </script>
      ]]>
 </Content>
</Module>
