Weather Report


The Following are the HTML code for Weather Report:

<!-- weather widget start -->
<div id="m-booked-bl-simple-week-vertical-20259">
  <div
    class="booked-wzs-160-275 weather-customize"
    style="background-color:#137AE9; width:160px;"
    id="width1 "
  >
    <a
      target="_blank"
      class="booked-wzs-top-160-275"
      href="https://www.booked.net/"
      ><img
        src="//s.bookcdn.com/images/letter/s5.gif"
        alt="https://www.booked.net"
    /></a>
    <div class="booked-wzs-160-275_in">
      <div class="booked-wzs-160-275-data">
        <div class="booked-wzs-160-275-left-img wrz-06"></div>
        <div class="booked-wzs-160-275-right">
          <div class="booked-wzs-day-deck">
            <div class="booked-wzs-day-val">
              <div class="booked-wzs-day-number">
                <span class="plus">+</span>28
              </div>
              <div class="booked-wzs-day-dergee">
                <div class="booked-wzs-day-dergee-val">&deg;</div>
                <div class="booked-wzs-day-dergee-name">C</div>
              </div>
            </div>
            <div class="booked-wzs-day">
              <div class="booked-wzs-day-d">
                <span class="plus">+</span>28&deg;
              </div>
              <div class="booked-wzs-day-n">
                <span class="plus">+</span>26&deg;
              </div>
            </div>
          </div>
          <div class="booked-wzs-160-275-info">
            <div class="booked-wzs-160-275-city smolest">Puerto Plata</div>
            <div class="booked-wzs-160-275-date">Thursday, 16</div>
          </div>
        </div>
      </div>
      <a
        target="_blank"
        href="https://www.booked.net/weather/puerto-plata-18151"
        class="booked-wzs-bottom-160-275"
      >
        <table cellpadding="0" cellspacing="0" class="booked-wzs-table-160">
          <tr>
            <td class="week-day"><span class="week-day-txt">Friday</span></td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-18"></div></td>
            <td class="week-day-val"><span class="plus">+</span>31&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
          <tr>
            <td class="week-day"><span class="week-day-txt">Saturday</span></td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-01"></div></td>
            <td class="week-day-val"><span class="plus">+</span>31&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
          <tr>
            <td class="week-day"><span class="week-day-txt">Sunday</span></td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-01"></div></td>
            <td class="week-day-val"><span class="plus">+</span>31&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
          <tr>
            <td class="week-day"><span class="week-day-txt">Monday</span></td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-18"></div></td>
            <td class="week-day-val"><span class="plus">+</span>32&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
          <tr>
            <td class="week-day"><span class="week-day-txt">Tuesday</span></td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-18"></div></td>
            <td class="week-day-val"><span class="plus">+</span>32&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
          <tr>
            <td class="week-day">
              <span class="week-day-txt">Wednesday</span>
            </td>
            <td class="week-day-ico"><div class="wrz-sml wrzs-18"></div></td>
            <td class="week-day-val"><span class="plus">+</span>32&deg;</td>
            <td class="week-day-val"><span class="plus">+</span>24&deg;</td>
          </tr>
        </table>
        <div class="booked-wzs-center">
          <span class="booked-wzs-bottom-l">See 7-Day Forecast</span>
        </div>
      </a>
    </div>
  </div>
  <script type="text/javascript">
    var css_file=document.createElement("link"); css_file.setAttribute("rel","stylesheet"); css_file.setAttribute("type","text/css"); css_file.setAttribute("href",'https://s.bookcdn.com/css/w/booked-wzs-widget-160x275.css?v=0.0.1'); document.getElementsByTagName("head")[0].appendChild(css_file); function setWidgetData(data) { if(typeof(data) != 'undefined' && data.results.length > 0) { for(var i = 0; i < data.results.length; ++i) { var objMainBlock = document.getElementById('m-booked-bl-simple-week-vertical-20259'); if(objMainBlock !== null) { var copyBlock = document.getElementById('m-bookew-weather-copy-'+data.results[i].widget_type); objMainBlock.innerHTML = data.results[i].html_code; if(copyBlock !== null) objMainBlock.appendChild(copyBlock); } } } else { alert('data=undefined||data.results is empty'); } }
  </script>
  <script
    type="text/javascript"
    charset="UTF-8"
    src="https://widgets.booked.net/weather/info?action=get_weather_info&ver=6&cityID=18151&type=4&scode=124&ltid=3457&domid=w209&anc_id=57889&cmetric=1&wlangID=1&color=137AE9&wwidth=160&header_color=ffffff&text_color=333333&link_color=08488D&border_form=1&footer_color=ffffff&footer_text_color=333333&transparent=0"
  ></script>
  <!-- weather widget end -->
</div>

Comments

Popular posts from this blog

REST API

Quantum Computing

XML v/s JSON