SKIP TO MAIN CONTENT
tina-andrew.blogpot.com blog uses cookies to help google service, personalise ads, and more. By visiting us you agree with our privacy policy. For more information: Cookies Policy | Privacy Policy

Tips Ngeblog Blogger Blogspot

Bad Value Publisher: attribute rel - validation w3.org

Bad Value Publisher in Google Rich Snippet Checker

Marking up your HTML script in HTML5 - based on Microdata schema - sometimes, makes you dizzy and bored. Here, let me please suggest you how to overcome the report of validator.w3.org in the case of "Bad Value Publisher for attribute rel". What happen to the "rel" or "publisher"?


The bad value comes from the two things:
  • First, The understanding of Microdata HTML5 markup

  • Second, How Google validate a site publisher

Even though HTML5 is Using experimental feature: HTML5 Conformance Checker, the publisher property has been clarified since Google+ shows how to validate a site in a Google+. In other words, Google Publisher Link has been verified by schema org. I also posted this following code in StackOverflow: http://stackoverflow.com/questions/10151157/html5-valid-google-button-bad-value-publisher-for-attribute-rel/22356399#22356399.

First, Add two publisher links inside <head> and <body> as follows:


<head>
  <link href='https://plus.google.com/xxxxxxxxxxxxxxxxx' itemprop='publisher'/>
</head>


Then, place the link in the body, as follows. (do not use closed tag, as in, <a href .... ></a>).


<body>
<a href="https://plus.google.com/xxxxxxxxxxxxxxxxx" rel="publisher" />
.....
.....
.....
</body>

Now, try to validate your script again and check your Structured Data in Google Webmaster Tools. In this case, Microdata schema has property "publisher" as one of the itemprop(s). Do not forget to determine what type of site do you have. Then place it inside <body> tag or in <html> tag, as follows:


<body itemscope="" itemtype="http://schema.org/Blog">
or,
<html itemscope="" itemtype="http://schema.org/Blog">

See more conversation: https://productforums.google.com/forum/#!msg/webmasters/t57nwV07Ox4/su1zBMKe5_EJ 
And, it is good to read this: https://productforums.google.com/d/msg/webmasters/lciIK8HdJXE/kcv8EipRzzcJ 


Indonesian Lang:
Tervalidasi oleh validator w3 org dan Structured Data sebagai publisher bagi blog anda sendiri sangat diinginkan banyak blogger. Khusus bagi blogspot, markup HTML5 dengan microdata schema sebenarnya tidak terlalu sulit, asalkan kita memahami apa tipe situs kita; Blog atau Website. Kemudian sempitkan lagi, apakah tentang dunia Perfilman (Movie) atau Penawaran produk?.

Bila anda mendapatkan laporan Error pada Attribut REL untuk property Publisher atas nama Blog anda di Google+, maka berikut ini adalah solusinya. :D

Untuk konfigurasi HTML5 dengan microdata schema, bagi blogspot, letakkan kode tipe blog anda anda di dua cara berikut:
  • Pertama, di tag HTML, atau

  • di tag BODY

Contohnya:
<HTML itemscope="" itemtype="http://schema.org/Blog">
Atau, letakkan script diatas didalam tag body, sbb:
<body itemscope="" itemtype="http://schema.org/Blog">
Bila telah selesai, lanjutkan menuliskan script bagi Publisher yang error tadi dengan cara sebagai berikut:

Copy-paste script dibawah ini di antara tag <head> dan </head>, sehingga menjadi seperti dibawah ini:
<head>
  <link href='https://plus.google.com/xxxxxxxxxxxxxxxxx' itemprop='publisher'/>
</head>
Berikutnya, letakkan kode ini
<a href="https://plus.google.com/xxxxxxxxxxxxxxxxx" rel="publisher" />
didalam tag <body> atau pas dibawah tag <body> tersebut, sehingga menjadi, sebagai berikut:
<body>
<a href="https://plus.google.com/xxxxxxxxxxxxxxxxx" rel="publisher" />
.....
.....
.....
</body>
Ingat *)
Ganti xxxxxxxxxxxxxxxxxxx dengan Google ID anda.Jangan lupa, pilih star-rating tertinggi bagi blogku kalo berhasil hehehe. Tentang Microdata schema lainnya yang relevan: Missing: Author. Cek juga disini di Google Forum bersama tina-andrew.blogspot.com.

Herman Bin Nasarudin in Google+
Google+ Profile
Google+ Page

Newer Post Lihat Tips & Tutorial Sebelumnya
Back to Homepage

Popular Posts