Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: HTML5 Builder: Refresh page with meta tag


This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jul 14, 2016 5:03 AM Last Post By: Peter Sutter
Peter Sutter

Posts: 8
Registered: 1/27/05
HTML5 Builder: Refresh page with meta tag  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 29, 2016 11:08 PM
I need my mobile server based page to refresh itself every x seconds. I would normally use the meta-tag for this. How can I add a meta-tag in HTML5 Builder?
ivan ivanov

Posts: 8
Registered: 2/13/13
Re: HTML5 Builder: Refresh page with meta tag
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 1, 2016 9:32 AM   in response to: Peter Sutter in response to: Peter Sutter
Not tried mobile yet, but what about printing of meta tags in header:
    function HomepgShowHeader($sender, $params)
    {
        print "<meta charset=\"UTF-8\">\n";
        print "<meta name=\"description\" content=\"Your page description\">\n";
        print "<meta name=\"keywords\" content=\"programming,c++,php,JavaScript\">\n";
        print "<meta name=\"author\" content=\"Your name\">";
    }
Peter Sutter

Posts: 8
Registered: 1/27/05
Re: HTML5 Builder: Refresh page with meta tag  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2016 5:03 AM   in response to: ivan ivanov in response to: ivan ivanov
ivan ivanov wrote:
Not tried mobile yet, but what about printing of meta tags in header:
    function HomepgShowHeader($sender, $params)
    {
        print "<meta charset=\"UTF-8\">\n";
        print "<meta name=\"description\" content=\"Your page description\">\n";
        print "<meta name=\"keywords\" content=\"programming,c++,php,JavaScript\">\n";
        print "<meta name=\"author\" content=\"Your name\">";
    }
Thanks a lot, I combined your print command with the pagecreate event and it worked. It writes the refresh line right to the beginning of the html file but the browsers seem to accept that.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02