2012-03-22 9 views
5

나는 우리의 페이스 북 페이지에 사람을 추가하지만,이 메시지가 나타납니다 내 웹 사이트 www.nacts.com.au 내 같은 버튼을 얻기 위해 노력하고 있어요에서 :메타 태그 바디

당신의 ouside 태그가를 너. 이것은 당신의 조작이 잘못되어 구문 분석 트리에서 더 낮아 졌거나 실수로 Open Graph 태그를 잘못된 위치에 두었 기 때문입니다. 어쨌든 태그를 사용할 수있게되기 전에 수정해야합니다.

그러나 실제로 내가 잘못 뭐하는 거지 PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/" "html xmlns:fb="http://ogp.me/ns/fb#" > 
    <head> 
    <title>North Australia Career &amp; Training Services</title> 
    <meta property="fb:app_id" content="191402794307447" /> 
    <meta property="og:title" content="North Australia Career & Training Services" /> 
    <meta property="og:type" content="website" /> 
    <meta property="og:url" content="http://www.nacts.com.au" /> 
    <meta property="og:image" content="http://nacts.com.au/images/NACTS4.png" /> 
    <meta property="og:site_name" content="NACTS" /> 
    <meta property="fb:admins" content="566419298" /> 
    <meta property="og:description" content="North Australia Career & Training Services"> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    <meta name="msvalidate.01" content="3123382E32539EBE8C53C2CA69F7510D" /> 
    <meta name="google-site-verification" content="bExkQFnEooJVIoZIm70CO8H8Yjx_FfyyCC6hNE_SeoA" /> 
    <meta name="keywords" content=" training rockhampton, training rocky, rockhampton training,training,train,career development,mining,course,Resumes, Resumes Rockhampton, Tenders,Tender Writing, Marketing,business services,Rockhampton Business Services ,Courses,North Rockhampton Training,Industry Courses,Workplace Development,Rockhampton Career Advice,Career Development Rockhampton,RPL,North Australia,career,training Services,funding, Grants" /> 
</head>  

에 따라 다음과 같이 배치?

답변

3

문제에 대한 답변은 오류 설명에 있습니다. og : meta 태그를 HTML 코드의 <head /> 섹션에 삽입해야합니다. 그래프 태그 여기에 어떻게 작동하는지 개방에 대한 자세한 내용을 읽어 보시기 바랍니다 : http://ogp.me


편집 질문, 지금 www.nacts.com.au의 URL을 알고에 편집 기초

, 그것은 훨씬 쉽게 문제를 해결할 수 있습니다.

HEAD가 아니라 BODY 섹션에 메타 태그가 하나 있습니다. 그것은 <meta property="fb:page_id" content="148187795268337">

+1

미안해, 이해가 안되니? – Jen

+1

1) ogp.me 웹 사이트를 읽었습니까? 2) HTML 편집 방법을 알고 있습니까? – DMCS

+1

도움을 주셔서 감사합니다. 예, 사이트를 읽었으며 혼란스러워했습니다. 나는 코더가 아니지만 사이트를 만들었으므로 HTML을 편집하는 방법을 알고있다. 나는 아직도 실종/문제가 어디 있는지 보지 못하고 내 미친 운전을하고있다. – Jen