<commit_before><?xml version="1.0" encoding="UTF-8" ?>
    <Module>

  <ModulePrefs title="Social Media Feeds"
             description="Shows a social media feed from sources like facebook."
             author="<EMAIL> Software Development Independent Contracting Services"
             author_affiliation=""
             author_email="<EMAIL>"
             screenshot="/ig/modules/none-tbd.png"
             thumbnail="/ig/modules/none-tbd-thm.png" >
<Require feature="setprefs" />
<Require feature="idi"/>
<Require feature="locked-domain" />
</ModulePrefs>
<UserPref name="headerhtml" display_name="HTML to include in header" required="false"/>
<UserPref name="footerhtml" display_name="HTML to include in the footer" required="false"/>
<UserPref name="innerwidth" display_name="The inner frame width"
          default_value="500" required="false"/>
<UserPref name="innerheight" display_name="The inner frame height"
          default_value="600" required="false"/>
<UserPref name="socialfeedurl" display_name="The social feed url"
          default_value="https://www.facebook.com/eichptc" required="true"/>
<UserPref name="showerrors" display_name="Display an error message when there are problems."
          datatype="bool" required="false"/>
<UserPref name="debug" display_name="Display debug information (any value will do to turn this on)."
          datatype="bool" required="false"/>

          <Content type="html" view="configuration">
                <![CDATA[
                  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
                <style type="text/css">
                .config-options { margin: 10px; }
                .label { font-weight: bold; width: 35%; vertical-align: top; }
                .gray { color:#666666; }
                html { font-family:arial,sans-serif; font-size:0.81
              ]]>
              <![CDATA[
                   em; font-size-adjust:none; font-style:normal; font-variant:normal; font-weight:normal; line-height:1.5; }
                   A:link, A:visited, A:active { text-decoration: none }
               </style>
               <table class="config-options">
                 <tr>
                   <td align="left" class="label" valign="top">Social Media URL (required):</td>
                     <td align="left">
                       <textarea name="socialfeedurl" id="socialfeedurl" cols="90" rows="1"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: https://www.facebook.com/eichptc</span>
                       <p style="background-color:Gray;color:white;">This url of the page to show.</p>
                       </div>
                   </td>
                 </tr>
                  <tr>
                   <td align="left" class="label" valign="top">Header html:</td>
                     <td align="left">
                       <textarea name="headerhtml" id="headerhtml" cols="90" rows="8"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: Test Title</span>
                       <p style="background-color:Gray;color:white;">This value should include header html.</p>
                       </div>
                   </td>
                 </tr>
                 <tr>
                   <td align="left" class="label" valign="top">Footer html:</td>
                     <td align="left">
                       <textarea name="footerhtml" id="footerhtml" cols="90" rows="8"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: Test Footer</span>
                       <p style="background-color:Gray;color:white;">This value should include footer html.</p>
                       </div>
                   </td>
                 </tr>
                 <tr>
                 <td align="left" class="label" valign="top">Inner width:</td>
                   <td align="left">
                     <input type="text" name="innerwidth" id="innerwidth" onchange="Update()"/>
                     <div style="background-color:LightGray;">
                     <span>Example: 500</span>
                     <p style="background-color:Gray;color:white;">This is the inner width of the display.</p>
                     </div>
                 </td>
                <tr>
                <tr>
                   <td align="left" class="label" valign="top">Inner height:</td>
                     <td align="left">
                       <input type="text" name="innerheight" id="innerheight" onchange="Update()"/>
                       <div style="background-color:LightGray;">
                       <span>Example: 600</span>
                       <p style="background-color:Gray;color:white;">This is the inner height of the display.</p>
                       </div>
                   </td>
                <tr>
                   <td align="left" style="background-color:DodgerBlue;color:white;" class="label">Trouble Shooting:</td>
                   <td align="left">
                      <table>
                      <tbody>
                       <tr> <td style="background-color:Gray;color:white;"><input type="checkbox" onclick="Update()" id="debug" /> Turn on Debug</td>
                            <td style="background-color:Gray;color:white;"><input type="checkbox" onclick="Update()" id="showerrors" /> Show Errors</td>
                       </tr>

                        </tbody>
                        </table>
                    </td>
                </tr>
              </table>
              <div id="error"></div>
              <script type="text/javascript">
                var prefs = new gadgets.Prefs();


                function Update() {
                  var header_html = document.getElementById('headerhtml').value;
                  var footer_html = document.getElementById('footerhtml').value;
                  // social_feed_url
                  var social_feed_url = document.getElementById('socialfeedurl').value;
                  // inner_width<commit_msg>fix bug with updates<commit_after><?xml version="1.0" encoding="UTF-8" ?>
    <Module>

  <ModulePrefs title="Social Media Feeds"
             description="Shows a social media feed from sources like facebook."
             author="Raigosa.com Software Development Independent Contracting Services"
             author_affiliation=""
             author_email="<EMAIL>"
             screenshot="/ig/modules/none-tbd.png"
             thumbnail="/ig/modules/none-tbd-thm.png" >
<Require feature="setprefs" />
<Require feature="idi"/>
<Require feature="locked-domain" />
</ModulePrefs>
<UserPref name="headerhtml" display_name="HTML to include in header" required="false"/>
<UserPref name="footerhtml" display_name="HTML to include in the footer" required="false"/>
<UserPref name="innerwidth" display_name="The inner frame width"
          default_value="500" required="false"/>
<UserPref name="innerheight" display_name="The inner frame height"
          default_value="600" required="false"/>
<UserPref name="socialfeedurl" display_name="The social feed url"
          default_value="https://www.facebook.com/eichptc" required="true"/>
<UserPref name="showerrors" display_name="Display an error message when there are problems."
          datatype="bool" required="false"/>
<UserPref name="debug" display_name="Display debug information (any value will do to turn this on)."
          datatype="bool" required="false"/>

          <Content type="html" view="configuration">
                <![CDATA[
                  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
                <style type="text/css">
                .config-options { margin: 10px; }
                .label { font-weight: bold; width: 35%; vertical-align: top; }
                .gray { color:#666666; }
                html { font-family:arial,sans-serif; font-size:0.81
              ]]>
              <![CDATA[
                   em; font-size-adjust:none; font-style:normal; font-variant:normal; font-weight:normal; line-height:1.5; }
                   A:link, A:visited, A:active { text-decoration: none }
               </style>
               <table class="config-options">
                 <tr>
                   <td align="left" class="label" valign="top">Social Media URL (required):</td>
                     <td align="left">
                       <textarea name="socialfeedurl" id="socialfeedurl" onchange="Update()" cols="90" rows="1"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: https://www.facebook.com/eichptc</span>
                       <p style="background-color:Gray;color:white;">This url of the page to show.</p>
                       </div>
                   </td>
                 </tr>
                  <tr>
                   <td align="left" class="label" valign="top">Header html:</td>
                     <td align="left">
                       <textarea name="headerhtml" id="headerhtml" onchange="Update()" cols="90" rows="8"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: Test Title</span>
                       <p style="background-color:Gray;color:white;">This value should include header html.</p>
                       </div>
                   </td>
                 </tr>
                 <tr>
                   <td align="left" class="label" valign="top">Footer html:</td>
                     <td align="left">
                       <textarea name="footerhtml" id="footerhtml" onchange="Update()" cols="90" rows="8"></textarea>
                       <div style="background-color:LightGray;">
                       <span>Example: Test Footer</span>
                       <p style="background-color:Gray;color:white;">This value should include footer html.</p>
                       </div>
                   </td>
                 </tr>
                 <tr>
                 <td align="left" class="label" valign="top">Inner width:</td>
                   <td align="left">
                     <input type="text" name="innerwidth" id="innerwidth" onchange="Update()"/>
                     <div style="background-color:LightGray;">
                     <span>Example: 500</span>
                     <p style="background-color:Gray;color:white;">This is the inner width of the display.</p>
                     </div>
                 </td>
                <tr>
                <tr>
                   <td align="left" class="label" valign="top">Inner height:</td>
                     <td align="left">
                       <input type="text" name="innerheight" id="innerheight" onchange="Update()"/>
                       <div style="background-color:LightGray;">
                       <span>Example: 600</span>
                       <p style="background-color:Gray;color:white;">This is the inner height of the display.</p>
                       </div>
                   </td>
                <tr>
                   <td align="left" style="background-color:DodgerBlue;color:white;" class="label">Trouble Shooting:</td>
                   <td align="left">
                      <table>
                      <tbody>
                       <tr> <td style="background-color:Gray;color:white;"><input type="checkbox" onclick="Update()" id="debug" /> Turn on Debug</td>
                            <td style="background-color:Gray;color:white;"><input type="checkbox" onclick="Update()" id="showerrors" /> Show Errors</td>
                       </tr>

                        </tbody>
                        </table>
                    </td>
                </tr>
              </table>
              <div id="error"></div>
              <script type="text/javascript">
                var prefs = new gadgets.Prefs();


                function Update() {
                  var header_html = document.getElementById('headerhtml').value;
                  var footer_html = document.getElementById('footerhtml').value;
                  // social_feed_url
                  var social_feed_url = document.getElementById('socialfeedurl').value;
                  logerror('social_feed_url => ' + social_feed_url)
                  // inner_width
{'fraction_non_alphanumeric': 0.1378672032193159, 'fraction_numerical': 0.0067605633802816905, 'mean_word_length': 1.6901926823987876, 'pattern_counts': {'":': 0, '<': 228, '<?xml version=': 2, '>': 227, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1681174', 'n_tokens_mistral': 3336, 'n_tokens_neox': 3030, 'n_words': 681}