Authentication Markup for Site Explorer from Yahoo! Search.

  • Go to the Yahoo site https://siteexplorer.search.yahoo.com/mysites
  • Add your wiki page eg: http://www.exploreluxury.com/pmwiki/pmwiki.php/Luxury/Cars
  • Select authentication and go to To add a META tag to your home page section
  • Copy Meta tag <META name="y_key" content="79f02a6cbb6e109e" /> and paste into your wiki page as (:y_key 79f02a6cbb6e109e:)
  • Update stdmarkup.php script file by adding the following y_key
    ## (:keywords:), (:description:), (:y_key)                             <-- add y_key
    Markup('y_key', '>&',                                                  <-- new
      "/\\(:y_key?\\s+(.+?):\\)/ei",                                       <-- new
      "PZZ(SetProperty(\$pagename, 'y_key', PSS('$1'), ', '))");           <-- new
    Markup('keywords', '>&', 
      "/\\(:keywords?\\s+(.+?):\\)/ei",
      "PZZ(SetProperty(\$pagename, 'keywords', PSS('$1'), ', '))");
    Markup('description', '>&',
      "/\\(:description\\s+(.+?):\\)/ei",
      "PZZ(SetProperty(\$pagename, 'description', PSS('$1'), '\n'))");
    $HTMLHeaderFmt['meta'] = 'function:PrintMetaTags';
    function PrintMetaTags($pagename, $args) {
      global $PCache;
      foreach(array('keywords', 'description','y_key') as $n) {              <-- add y_key
        foreach((array)@$PCache[$pagename]["=p_$n"] as $v) {
          $v = str_replace("'", '&#039;', $v);
          print "<meta name='$n' content='$v' />\n";
        }
      }
    }
    
  • At this point go to Yahoo site and press Ready to Authenticate button
  • Your site should be authenticated at this point. You need to wait for robot to go to your site and verify your page.
  • You also can check your source as you should find the line <meta name='y_key' content='79f02a6cbb6e109e ' />


Page last modified by February 24, 2007, at 09:44 PM