#author("2023-12-24T01:16:51+09:00","default:nemusg.pad","nemusg.pad") #author("2025-08-25T00:40:12+09:00;2023-12-24T01:16:51+09:00","default:nemusg.pad","nemusg.pad") * リッチスニペット(10年前ぐらいの情報なのでもう) [#u5c2e76f] ** パンくずリスト [#nee66052] *** Pukiwikiの場合(microdata) [#xcedbc76] #code_x{{ +++ /plugin/topicpath.inc.php $topic_path[] = $element; } else { // Page exists or not exists - $topic_path[] = '<a href="' . $script . '?' . $landing . '">' . - $element . '</a>'; + $topic_path[] = '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="' . $script . '?' . $landing . '" itemprop="url"><span itemprop="title">' . + $element . '</span></a></span>'; } } + $labelname = '○○Wiki'; + if (PLUGIN_TOPICPATH_TOP_DISPLAY) - $topic_path[] = make_pagelink($defaultpage, PLUGIN_TOPICPATH_TOP_LABEL); + $topic_path[] = '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/" itemprop="url"><span itemprop="title">'.$labelname.'</span></a></span>'; return join(PLUGIN_TOPICPATH_TOP_SEPARATOR, array_reverse($topic_path`; } }} ** 参考 [#w923a472] - [[リッチスニペットで検索結果をより分かりやすく Google Japan Blog:http://googlejapan.blogspot.jp/2009/11/blog-post_20.html]] - [[リッチスニペットのフォーマットに「ショッピング」が追加されました Google ウェブマスター向け公式ブログ:http://googlewebmastercentral-ja.blogspot.jp/2011/04/blog-post.html]] - [[【最終回】通販サイトSEO リッチスニペットと構造化データ:http://24h.aratana.jp/?p=3592]] - [[リッチスニペットと構造化マークアップ SEOまとめ:http://www.seo-matome.jp/html/rich-sunipetto/]] - [[Google検索結果のユーザ体験を向上させるリッチスニペット Webnoborder:http://webnoborder.jp/rich-snippet/]] - [[初心者向けschema.org講座 NAVER Engineers Blog:http://tech.naver.jp/blog/?p=1038]] - [[Schema.orgをパーツ化しリッチスニペットを実装する NAVER Engineers Blog:http://tech.naver.jp/blog/?p=1999]] #include(parts/feedback,notitle)