Pz-LinkCard
This plugin is intended to display a link in a blog card format.
Easy to use. Just to write a short code.
You can change the appearance in the settings screen.
You can edit or delete the cache on the manage screen.
The goodbye to the text-only link.
- It will access to WebAPI for the thumbnail image acquisition and site icon of acquisition. In addition , it will save the title and excerpt statement to the database. For more information you want to read the item of arbitrary section about this.
このプラグインはショートコードでURLを指定する事で、リンクをブログカード形式で表示させるものです。
外部リンクと内部リンクで、カードの色や新しくウィンドウを開くか等、設定を変更する事ができます。
リンク先の情報はキャッシュされるため、ソーシャルカウント等も表示されるカード形式のリンクとしては高速に表示されます。
カード管理画面から、キャッシュされた情報の再取得や編集、削除等が行えます。
テキストにリンク設定しただけでは物足りないと感じていたら、ぜひお試しください。
※このプラグインはサムネイル取得やサイトアイコン取得のためにリンク先URLをWebAPIに送信します。
※タイトルや抜粋文等をDBへ保存します。詳細は「Arbitrary section」をお読みください。
Arbitrary section
Display and DB cache
This plug-in one create a DB table when you have activated. (Prefix + “pz_linkcard”)
Open the pages of the article when the “For the first time it appears ” , and caches by obtaining the title excerpt from the linked site to the DB.
Therefore , the display for the first time is slow , the second and subsequent display is fast.
Create files
CSS file are stored in a custom folder under “/wp-content/Uploads”.
Use Web API
Number of SNS share have been acquired by the JSON request.
-
Twitter … https://jsoon.digitiminimi.com/twitter/count.json?url=[URL]
-
Facebook … https://graph.facebook.com?fields=og_object{engagement}&id=[URL]
-
Hatena … http://api.b.st-hatena.com/entry.count?url=[URL]
-
Pocket … https://widgets.getpocket.com/api/saves?url=[URL]
Displays using the “Google-favicon API” to get the favicon. This can be changed.
Displays using the “WordPress.org mshots API” to get the thumbnail. This can be changed.
表示とキャッシュ
このプラグインは、有効化したときにDBテーブルを一つ作成します。(プレフィックス+「pz_linkcard」)
外部リンクを設定した場合、記事のページを開いて「初めて表示された」ときに、リンク先のサイトからタイトル・抜粋文を取得してDBへキャッシュします。
外部リンクを設定した場合、カードの枚数分だけ外部サイトへのアクセスが発生するため多量のリンクを作成すると、記事をプレビューした時等、最初の表示に時間がかかります。
次回の表示はDBキャッシュから行うので高速に表示を行います。
(内部でのDBアクセスが発生しますが、通常は軽微なものです。カード1枚表示のたびに、取得のために1クエリ発行します。更新が発生した場合には挿入・更新のためのクエリが1回発生します。)
ソーシャルカウントの取得
ソーシャルカウントについては、「Twitter(ツイッター)のツイート数」「facebook(フェイスブック)のシェア数」「はてなブックマークのブックマーク数」「Pocketの登録数」の4種類に対応しています。
それぞれWebAPIを使用して値を取得します。
バックグラウンドで取得するため、ページの表示速度には影響がありません。
取得した値はタイトルや抜粋文と同様、DBへキャッシュを行うため、直近の表示にはWebAPIアクセスが発生しません。
ソーシャルカウントの再取得は、最後の取得から4時間~36時間程度のランダムな時間で行います。
また、各WebAPIについては、仕様変更やサービス終了に伴い、正常に取得できなくなる場合があります。
画像取得WebAPIの利用
設定画面からサムネイル取得WebAPIが指定できます。
「WebAPIを利用する」にする事でページのスクリーンショット画像を取得します。
参考.画像取得WebAPIの設定について https://popozure.info/20151004/9317
設定画面からサイトアイコン取得WebAPIが指定できます。
サイトアイコンの場所はサイトによってバリエーションが多いため、WebAPIを使用する前提となります。
正式に公開されているWebAPIでは無いため、仕様変更やサービス終了に伴い、正常に取得できなくなく場合があります。
その他
Pz-HatenaBlogCard からの設定引き継ぎ機能はありません。この機会に触った事のなかった設定項目にも触れていただければ幸いです。
ショートコードを変える事で、Pz-HatenaBlogCard と併用利用する事ができますが、通常はリソース消費が増えるだけなので、推奨はしません。
ショートコード内にURLを記述した場合、WordPressピンバックは飛びません。
設定項目については、WordPress標準の options に設定内容を保存します。キーは「Pz-LinkCard_options」の1レコードです。
なお、アンインストールを行う際には、キャッシュを保管するDBテーブルと、options内の設定ファイルは削除されます。
アンインストール時の削除に関してはプラグインディレクトリ内の uninstall.php で行っています。
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| n*s*o*c*n*e*t.com | F | Aug 29, 2026 | |
| n*s*i*h*n*u*u*k*b*t*u.com | F | Aug 29, 2026 | |
| e*g*i*f*n.com (WP 7.1) | F | Aug 29, 2026 | |
| h*l*l*g.com | F | Aug 29, 2026 | |
| g*n*h*n*o*i*a*a.com | F | Aug 29, 2026 | |
| w*r*d*c*n*c*.com (WP 6.9.7) | F | Aug 29, 2026 | |
| a*r*n*v*i*-*p*.com | F | Aug 29, 2026 | |
| e*e*o*u*n*v*.com | F | Aug 29, 2026 | |
| c*s*-*k*i*h*.life | F | Aug 29, 2026 | |
| t*k*o*i*b*n.com (WP 7.1) | F | Aug 29, 2026 | |
| t*k*o*a*a*3*3*.com | F | Aug 29, 2026 | |
| n*p*o*b*y*r*.com | F | Aug 29, 2026 | |
| n*p*o*-*e*g*.com | D | Aug 29, 2026 | |
| m*n*y*n*k*u*y*u.com | F | Aug 29, 2026 | |
| d*v*u*-*i*g*t*.jp (WP 7.1) | F | Aug 29, 2026 | |
| t*k*o*d*w*s*i*t.com (WP 7.1) | F | Aug 29, 2026 | |
| s*i*o*u*t*r*.com (WP 7.1) | D | Aug 29, 2026 | |
| c*e*e*o.com | F | Aug 29, 2026 | |
| r*v*l*.life (WP 7.1) | F | Aug 29, 2026 | |
| t*k*-*e*n.com | F | Aug 29, 2026 | |
| t*k*e*v*h*r*.com (WP 7.0.4) | F | Aug 29, 2026 | |
| t*k*y*b*o*.com | D | Aug 29, 2026 | |
| a*i*k*.net (WP 7.0.2) | F | Aug 29, 2026 | |
| r*s*o*k*-*s*g.com | F | Aug 29, 2026 | |
| t*r*k*k*r*n.com | F | Aug 29, 2026 | |
| s*o*e*j*.com | F | Aug 29, 2026 | |
| t*k*w*f*.com | F | Aug 29, 2026 | |
| t*k*-*l*b.com | F | Aug 29, 2026 | |
| i*t*.net | F | Aug 29, 2026 | |
| m*n*i*h*b*o*.com (WP 7.1) | F | Aug 29, 2026 | |
| t*k*s.net (WP 6.9.7) | F | Aug 29, 2026 | |
| h*j*w*n*s*n*h*n*1*2*.com | F | Aug 29, 2026 | |
| t*e*d*a*.c*.jp (WP 7.1) | F | Aug 29, 2026 | |
| t*h*u*a*.com (WP 7.1) | D | Aug 29, 2026 | |
| a*-*k*f.com (WP 7.1) | F | Aug 29, 2026 | |
| h*i*s*l*n*w*b*i*e.com | F | Aug 29, 2026 | |
| e*c*a*t*-*i*n*.com (WP 6.8.8) | F | Aug 29, 2026 | |
| h*i*m*k*-*l*c*.com (WP 7.1) | F | Aug 29, 2026 | |
| h*i*g*o*t*h*g*r*t*.com (WP 6.7.7) | F | Aug 29, 2026 | |
| s*o*k*g*w*.com (WP 7.0.4) | F | Aug 28, 2026 | |
| h*i*-*l*y*e*a*c*.com | F | Aug 28, 2026 | |
| h*i*-*o*n*.com (WP 7.1) | F | Aug 28, 2026 | |
| m*n*a*n*m*b*o*.com | F | Aug 28, 2026 | |
| t*u*a*a*i*n*n*y*.club | F | Aug 28, 2026 | |
| h*i*n*u*i*.com | F | Aug 28, 2026 | |
| l*v*w*t*s*i*e.com | F | Aug 28, 2026 | |
| m*n*t*i*.com | F | Aug 28, 2026 | |
| a*t*o*-*a*a*.c*.jp (WP 7.1) | F | Aug 28, 2026 | |
| n*j*i*o*a*s*k*.com | F | Aug 28, 2026 | |
| n*j*i*o*-*l*g.com | F | Aug 28, 2026 | |
| q*i*t*h*r*o*y.com | F | Aug 28, 2026 | |
| n*i*a*a*t*w*.com | F | Aug 28, 2026 | |
| n*h*n*y*u*o*s*i*a*k*i.com | F | Aug 28, 2026 | |
| o*f*n.net | F | Aug 28, 2026 | |
| h*g*n*-*l*g.com | D | Aug 28, 2026 | |
| c*e*t*d*y*o*k*.com (WP 6.9.7) | F | Aug 28, 2026 | |
| c*m*i*u.com | F | Aug 28, 2026 | |
| t*m*a*b*o*.com (WP 6.9.7) | F | Aug 28, 2026 | |
| i*u*-*e*d*i.life | F | Aug 28, 2026 | |
| n*t*r*l*s*i.com (WP 7.1) | F | Aug 28, 2026 | |
| m*n*b*n*h*b*.com (WP 7.1) | F | Aug 28, 2026 | |
| h*c*u*r*u*.com | D | Aug 28, 2026 | |
| a*e*a*a*i*a*.jp | F | Aug 28, 2026 | |
| g*h*m*r*.com | F | Aug 28, 2026 | |
| m*i*a*i*h*.c*.jp | D | Aug 28, 2026 | |
| w*s*s*u*i*.com (WP 7.0.4) | F | Aug 28, 2026 | |
| m*m*z*n*0*9.com | F | Aug 28, 2026 | |
| c*a*e*p*m*.com (WP 7.1) | F | Aug 28, 2026 | |
| t*i*o*a*h.com | F | Aug 28, 2026 | |
| k*m*g*e*n*a*h.net (WP 6.8.8) | F | Aug 28, 2026 | |
| s*i*o*u*u*i.com (WP 6.7.7) | F | Aug 28, 2026 | |
| t*m*g*-*r*v*l.com | F | Aug 28, 2026 | |
| s*i*y*u*a*.com (WP 7.1) | F | Aug 28, 2026 | |
| l*t*l*-*a*p.com | F | Aug 27, 2026 | |
| l*t*l*-*i*l*5*5.com | F | Aug 27, 2026 | |
| l*t*l*.com | B | Aug 27, 2026 | |
| f*i*e*r*k*n*e*a.tokyo | F | Aug 27, 2026 | |
| h*i*s*u*i*.com | F | Aug 27, 2026 | |
| s*i*a*s*c*i*o*u.com (WP 6.7.7) | F | Aug 27, 2026 | |
| t*-*a*-*m*i*i*n.com | F | Aug 27, 2026 | |
| t*-*e*e*k*i*e*.com (WP 7.1) | F | Aug 27, 2026 | |
| k*m*m*r*.c*.jp | F | Aug 27, 2026 | |
| e*i*i*e*o*e.com | F | Aug 27, 2026 | |
| g*o*s*i*h*s*i*k*n.com | F | Aug 27, 2026 | |
| g*o*e*s*o*h*-*s*.com | D | Aug 27, 2026 | |
| g*o*y.com | F | Aug 27, 2026 | |
| m*n*a*h*s*i*.com | F | Aug 27, 2026 | |
| s*i*n*m*n*.com | F | Aug 27, 2026 | |
| 8*a*i.com | F | Aug 27, 2026 | |
| r*r*i*o.jp (WP 7.1) | F | Aug 27, 2026 | |
| c*-*p*i*t*l*b*r*t*r*.com | F | Aug 27, 2026 | |
| n*s*b*t*a*e*.com | F | Aug 27, 2026 | |
| e*e*g*n*y*h*r*s*k*.com | D | Aug 27, 2026 | |
| s*i*o*i*a*k*n*o*.com | F | Aug 27, 2026 | |
| s*i*n*-*s*b*.com | F | Aug 27, 2026 | |
| s*i*n*y*d*i*a*k*.com (WP 6.7.7) | F | Aug 27, 2026 | |
| s*i*m*d*r*-*c.com (WP 7.1) | F | Aug 27, 2026 | |
| e*e*g*-*r*u*.com | F | Aug 27, 2026 | |
| s*i*k*c*i*a*i*.com (WP 7.1) | F | Aug 27, 2026 | |
| s*i*j*k*c*i*i*.com | F | Aug 27, 2026 |