1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

[ASK] Cara Membuat Schema Itemid Pada Breadcrumb

Discussion in 'Blogger/Blogspot' started by Ian OPX, Aug 16, 2018.

  1. Ian OPX

    Ian OPX Super Hero

    Joined:
    Jun 23, 2009
    Messages:
    1,590
    Likes Received:
    683
    Location:
    yogyakarta
    Cara Membuat Schema Itemid Pada Breadcrumb
    Breadcrumb di bawah ini ada 1 error, yaitu itemid (@id) belum ada.

    Code:
    <b:loop index='num' values='data:post.labels' var='label'>
    <span itemprop='itemListElement' itemscope='itemscope' itemtype='https://schema.org/ListItem'>
    <a expr:href='data:label.url' expr:title='data:label.name' itemprop='item' itemscope='itemscope' itemtype='https://schema.org/Thing'><span itemprop='name'><data:label.name/></span></a>
    <meta expr:content='data:num+1' itemprop='position'/>
    </span>
    <b:if cond='data:label.isLast != &quot;true&quot;'>
    <svg viewBox='0 0 24 24'><path d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' fill='#000000'/></svg>
    </b:if>
    </b:loop>
    
    Harusnya kalo ga ada error setelah dicek pake SDT hasilnya kyak gini

    @type BreadcrumbList
    itemListElement

    @type ListItem
    position 1
    item

    @type Thing
    name NamaLabel
    @id hxxps://namadomain.blogspot.com/search/label/namalabel

    Tapi ada error 1 gara2 itemid (@id) nya ga ada
    The value provided for itemid must be a valid URL.

    Saya sudah googling ke web-web luar juga ga nemu cara masukin itemid di breadcrumb blogspot
     
  2. Jitozdroid

    Jitozdroid Ads.id Fan

    Joined:
    Jul 27, 2017
    Messages:
    103
    Likes Received:
    7
    Gmn gan udah ada cara fix nya blm? ane keliling2 cuma buat fix WP aja..
     
  3. Ian OPX

    Ian OPX Super Hero

    Joined:
    Jun 23, 2009
    Messages:
    1,590
    Likes Received:
    683
    Location:
    yogyakarta
    Udah ketemu masalah-nya, tinggal hapus attribute itemscope='itemscope'
    itemtype='htt ps://schema.org/Thing' pada kode link label
    Ssekarang breadcrumb-nya valid schema dan valid HTML
     
    Last edited: Nov 8, 2018
  4. Kumam27

    Kumam27 Newbie

    Joined:
    Jul 9, 2018
    Messages:
    20
    Likes Received:
    0
    Breadcum buat apaan
     

Share This Page