Pz-HatenaBlogCard

0

This plug-in to display a link in the article by using the “Hatena blog card”. In the case of internal links to view the card that is similar to “Hatena blog card”. Displays usi

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

This plug-in to display a link in the article by using the “Hatena blog card”.

In the case of internal links to view the card that is similar to “Hatena blog card”.

Displays using the “Hatena :: Favicon” (http://favicon.hatena.ne.jp) to get the favicon.

Displays using the “bookmark number of Hatena blog API” (http://b.hatena.ne.jp/entry/image/) to get the bookmark number of hatena.

CSS file are stored in a custom folder under /wp-content/Uploads.

  • Released a plugin ” Pz-LinkCard ” that can external-links and internal-links also change the appearance.
    https://wordpress.org/plugins/pz-linkcard/

このプラグインは、ショートコード [blogcard] で指定したURLをカード形式で表示させるものです。

外部リンクの場合には「はてなブログカード」に置き換えて表示します。

内部リンクもしくはtitleパラメータを指定した場合、オリジナルのリンクカード形式で表示します。
このとき、「Hatena::Favicon」を利用してファビコンを表示します。使用するWebAPIは設定画面にて変更できます。サムネイル画像を取得するWebAPIに設定することができます。「はてなブックマーク件数取得API」を利用してはてなブックマーク数を表示します。

また、書式を保持するために、/wp-content/Uploads フォルダ配下にスタイルシートを保存します。

後継として、「はてブカード」の置き換えでは無く、外部リンクも内部リンクもオリジナル形式で表示できる「Pz-LinkCard」を公開しました。

興味のある方は、そちらもお試しいただけると幸いです。

Pz-LinkCard