Forum Discussion

ealtinta's avatar
ealtinta
New Member
6 years ago
Solved

web content tile refresh does not work

Hi,   I am trying to show news feed items from an RSS feed inside a web content tile in an online dashboard.   If I don't refresh the content it works without problems. When I add the location.re...
  • ealtinta's avatar
    5 years ago

    I found a solution. The following code works.

     

    <!DOCTYPE html>
    <html>
    <head>


    <style type="text/css">
    body {
    margin: 0;
    overflow: hidden;
    }
    #iframe1 {
    position:absolute;
    left: 0px;
    width: 100%;
    top: 0px;
    height: 100%;
    }
    </style>

    </head>
    <body>

    <iframe id="iframe1" src="//rss.bloople.net/?url=..........detail=-1&limit=10&showtitle=false&type=html" frameborder="0"></iframe>

    <script>
    window.setInterval("reloadIFrame();", 60000);
    function reloadIFrame() {
    document.getElementById("iframe1").src="//rss.bloople.net/?url=.........detail=-1&limit=10&showtitle=false&type=html";
    }
    </script>

    </body>
    </html>