Committer: narefieva
LJSUP-9028: Add attribute 'property' into meta tags 'title' and 'description'U trunk/cgi-bin/LJ/S2/EntryPage.pm U trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/EntryPage.pm 2011-06-08 01:48:52 UTC (rev 19248) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2011-06-08 04:12:06 UTC (rev 19249) @@ -376,8 +376,8 @@ ); $p->{'head_content'} .= qq[ - <meta name="title" content="$meta{'title'}" /> - <meta name="description" content="$meta{'description'}" /> + <meta property="og:title" name="title" content="$meta{'title'}" /> + <meta property="og:description" name="description" content="$meta{'description'}" /> ]; LJ::need_res(qw( Modified: trunk/htdocs/talkread.bml =================================================================== --- trunk/htdocs/talkread.bml 2011-06-08 01:48:52 UTC (rev 19248) +++ trunk/htdocs/talkread.bml 2011-06-08 04:12:06 UTC (rev 19249) @@ -114,8 +114,8 @@ ); $$head .= qq[ - <meta name="title" content="$meta{'title'}" /> - <meta name="description" content="$meta{'description'}" /> + <meta property="og:title" name="title" content="$meta{'title'}" /> + <meta property="og:description" name="description" content="$meta{'description'}" /> ]; my $talkurl = LJ::journal_base($u) . "/$ditemid.html";