2011-09-04 67 views
1

我知道這是一個相當普遍的問題,Facebook Linter並沒有拿起我在Wordpress 2.9博客上提供的og:meta標籤。Facebook的Linter不拾起打開圖元標籤:試了一切?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd" xmlns:og="http://ogp.me/ns#" dir="ltr" lang="en-US"> 
<head profile="http://gmpg.org/xfn/11"> 
<title> 
Banana Corporation, Inc. | About general WTF happening around us. 
</title> 
<meta property="og:title" content="MalluCars! &#8211; My Social Media Marketing Moment." /> 
<meta property="og:type" content="website" /> 
<meta property="og:image" content="http://vadakkus.com/wp-content/uploads/2011/08/69f04b58_ape2.jpg" /> 
<meta property="og:url" content="http://vadakkus.com/2011/09/01/mallucars/" /> 
<meta property="og:description" content="" /> 
<meta property="og:site_name" content="Banana Corporation, Inc." /> 

我已經走訪了幾家論壇上,這每一個可以想象的支持中心,但沒有得到任何解決方案。事實是,即使opengraph.in沒有識別我的og標籤,所以我一定在做一些非常錯誤的事情。

我在這個論壇的建議上更改了doctype和html標題,並在facebook論壇的建議中刪除了meta = http標記。

我已經嘗試了幾種方法的代碼,幾個插件,但沒有任何作品。我曾嘗試禁用所有插件,檢查所有.php文件是否存在任何差異,等等。

我已經拔了我的頭髮一個星期左右,現在這整個事情一直在推動我堅果!

有人能幫我嗎?我會永遠感激!

http://vadakkus.com

謝謝!

回答

0

嘗試:

<meta property="og:url" content="http://vadakkus.com/" /> 

,並告訴結果

+0

不,我試過了,它不工作...對不起...不知道它是否與我的主題有關。 – vadakkus

0

請更正發現所有的HTML驗證錯誤here

+0

確認真的很重要嗎?我還沒有遇到過一個完全結算的網站。即使Mashable有500多個錯誤! – 2011-09-15 10:20:52

+1

取決於驗證錯誤。有些可以產生效果 - 就像未封閉的標籤一樣。 – bkaid

2

你必須包括

<meta property="og:description" content="some text needs to go here" /> 

沒有在OG內容:說明,所有的OG元信息將被忽略。

相關問題