<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bune Bim</title>
    <description>The latest articles on DEV Community by Bune Bim (@rtplivedev).</description>
    <link>https://dev.to/rtplivedev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F893254%2F3b6ab0a0-0d53-4c8a-9f75-1622393d6249.png</url>
      <title>DEV Community: Bune Bim</title>
      <link>https://dev.to/rtplivedev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rtplivedev"/>
    <language>en</language>
    <item>
      <title>RTP LIVE</title>
      <dc:creator>Bune Bim</dc:creator>
      <pubDate>Sun, 17 Jul 2022 08:28:45 +0000</pubDate>
      <link>https://dev.to/rtplivedev/rtp-live-614</link>
      <guid>https://dev.to/rtplivedev/rtp-live-614</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`var lastTime = localStorage.getItem(provider+"_lastTime");
  var currentTime = new Date().getTime();

  var time_rand = [300000, 360000, 420000, 480000, 540000, 600000, 660000, 720000, 780000, 840000, 900000];
  var random_time = (Math.floor(Math.random() * time_rand.length-1) + 1);

  var time_to_refresh = localStorage.getItem(provider+"_time_to_refresh") == null ? time_rand[random_time] : localStorage.getItem(provider+"_time_to_refresh");
  if (localStorage.getItem(provider+"_time_to_refresh") == null) {localStorage.setItem(provider+"_time_to_refresh", time_to_refresh);}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
