private function metaTag($name, $content)
    {
        $name = htmlspecialchars($name);
        $content = htmlspecialchars($content);
        if(substr($name, 0, 3) == 'og:' || substr($name, 0, 3) == 'fb:') {
          if($name == 'og:image') {
            return "<meta property=\"$name\" content=\"$content&auto=format%2Ccompress\"/>";
          }
          if(substr($name, 0, 8) == 'og:image') {
            return "<meta property=\"$name\" content=\"$content\"/>";
          }
          if(substr($name, 0, 6) == 'og:url') {
            return "<meta itemprop=\"url\" property=\"$name\" content=\"$content\"/>";
          }
          return "<meta property=\"$name\" content=\"$content\"/>";
        }
        else if(substr($name, 0, 11) == 'description') {
          return "<meta itemprop=\"description\" name=\"$name\" content=\"$content\"/>";
        }
        else if(substr($name, 0, 7) == 'section') {
          return "<meta itemprop=\"articleSection\" name=\"$name\" content=\"$content\"/>";
        }
        else if(substr($name, 0, 9) == 'image_src') {
          return "<meta itemprop=\"thumbnailUrl\" name=\"$name\" content=\"$content\"/>";
        }
        else if(substr($name, 0, 4) == 'rel:') {
          $name=ltrim($name,"rel:");
          return "<link rel=\"$name\" href=\"$content\"/>";
        }
        else
          return "<meta name=\"$name\" content=\"$content\"/>";
    }