Forums

[resolved] [Plugin: mySTAT] valid HXTML at myStat_footer() (4 posts)

  1. nm2net
    Member
    Posted 1 month ago #

    Version: 2.6

    echo "<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src=\"".WP_PLUGIN_URL."/".dirname(plugin_basename(__FILE__))."/mystat.php"."?act=time_load&id=".$GLOBALS['myStat_id']."&rnd=".rand()."\" />";

    Replace: time_load&id -> time_load&id
    Replace: &rnd=".rand() -> &rnd=".rand()
    Add: alt='' berfore img tag is closed

    Otherwise the XHTML of the page has errors, and when you open the rss feed with some browsers (like Opera) the XML code is broken due of those errors, so the feed cannot be displayed. Instead you can see error message.

    Chhers, and thanks for the great plugin ;)

    http://wordpress.org/extend/plugins/mystat/

  2. nm2net
    Member
    Posted 1 month ago #

    ops.. here is the correct code:

    Replace: time_load&id -> time_load&id
    Replace: &rnd=".rand() -> &rnd=".rand()
  3. nm2net
    Member
    Posted 1 month ago #

    LOL
    & should be replaced with & amp; (no space)

  4. sebbio1
    Member
    Posted 1 month ago #

    THX.

Reply

You must log in to post.

About this Topic

Tags