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 |
|---|---|---|---|
| s*b*-*o*u*.jp | — | 2025-11-11 22:45:56 | |
| d*g*a*.jp | — | 2025-11-11 22:41:54 | |
| w*n*e*f*l*l*f*s*y*e.xyz | — | 2025-11-11 22:40:42 | |
| k*k*-*e*c*i*u*r*f*r*.jp | — | 2025-11-11 22:23:28 | |
| s*i*o*s*o*h*-*u*u*k*.jp | — | 2025-11-11 22:22:02 | |
| o*a*a*h*k*g*-*o*z*k*.info | — | 2025-11-11 22:02:34 | |
| e*p*k*.net | — | 2025-11-11 22:01:09 | |
| y*m*g*t*-*k*s*i*i.net | — | 2025-11-11 21:50:35 | |
| d*r*m*3*m*g.com | — | 2025-11-11 21:48:59 | |
| b*s*r*p*p*.jp | — | 2025-11-11 21:40:02 | |
| s*o*i*r*m*u*.jp | — | 2025-11-11 21:39:28 | |
| g*-*i*s.jp | — | 2025-11-11 21:39:09 | |
| j*n*t*g*.jp | — | 2025-11-11 21:26:17 | |
| l*n*-*o*n.jp | — | 2025-11-11 21:24:35 | |
| g*y*o*g*.jp | — | 2025-11-11 21:05:40 | |
| a*u*-*a*t*e*.jp | — | 2025-11-11 20:27:13 | |
| l*b*r*y*w*r*s.jp | — | 2025-11-11 20:24:53 | |
| p*t*r*.jp | — | 2025-11-11 20:17:29 | |
| d*p*s*a*k*t.net | — | 2025-11-11 19:33:42 | |
| c*n*o*t*u*-*y*g*.jp | — | 2025-11-11 19:25:46 | |
| j*p*o*o.xyz | — | 2025-11-11 19:23:57 | |
| o*a*o*u.net | — | 2025-11-11 19:17:50 | |
| s*s*a*a*h*.me | — | 2025-11-11 19:02:26 | |
| p*s*e*g*k*e*.org | — | 2025-11-11 18:35:22 | |
| h*m*p*u*.link | — | 2025-11-11 17:52:28 | |
| f*t*j*p*n.org | — | 2025-11-11 16:59:17 | |
| f*k*m*d*a.jp | — | 2025-11-11 16:51:58 | |
| e*i*n*.jp | — | 2025-11-11 16:33:48 | |
| s*i*e*p*o.net | — | 2025-11-11 16:24:16 | |
| i*b.jp | — | 2025-11-11 16:15:53 | |
| z*t*r*u.com | — | 2025-11-11 16:02:36 | |
| z*k*s*z*k*b*m.com | — | 2025-11-11 16:01:12 | |
| z*b*r*-*e*i*e.com | — | 2025-11-11 16:00:31 | |
| w*t*.com | — | 2025-11-11 13:25:21 | |
| w*i*e*-*.com | — | 2025-11-11 13:18:34 | |
| w*-*r*g*n*l*c*l*r*.com | — | 2025-11-11 13:12:34 | |
| w*r*d*f*r*p.com | — | 2025-11-11 13:06:18 | |
| w*o*i*i*.com | — | 2025-11-11 12:54:28 | |
| w*n*e*f*l*o*f*e*d*m*d*e*.com | — | 2025-11-11 12:47:06 | |
| w*n*e*f*l*l*f*-*k.com | — | 2025-11-11 12:46:41 | |
| w*n*e*f*l*c*r*l*f*.com | — | 2025-11-11 12:46:41 | |
| w*n*e*-*g*n*.com | — | 2025-11-11 12:46:41 | |
| w*-*l*w.com | — | 2025-11-11 12:36:57 | |
| w*t*-*f*.com | — | 2025-11-11 12:32:49 | |
| w*s*e*i*-*o*m.com | — | 2025-11-11 12:32:05 | |
| w*s*-*.com | — | 2025-11-11 12:29:06 | |
| w*n*n*i*.com | — | 2025-11-11 12:21:01 | |
| w*g*a*o.com | — | 2025-11-11 11:56:31 | |
| w*i*k*i*j*p*n.com | — | 2025-11-11 11:40:32 | |
| w*t*n*f*r*.com | — | 2025-11-11 11:27:49 | |
| w*l*p.com | — | 2025-11-11 11:03:48 | |
| w*b*i*c*l*t*.com | — | 2025-11-11 10:45:41 | |
| w*b*u*-*e*i*.com | — | 2025-11-11 10:43:26 | |
| w*b*n*v.com | — | 2025-11-11 10:41:44 | |
| w*c*-*r*b*c*.com | — | 2025-11-11 10:29:20 | |
| w*t*r*a*k*u*i*.com | — | 2025-11-11 10:21:31 | |
| w*t*r*i*e*a*e*.com | — | 2025-11-11 10:19:51 | |
| w*t*s*i*i*u*l*f*.com | — | 2025-11-11 10:14:58 | |
| w*t*n*b*-*u*u*e*h*m*.com | — | 2025-11-11 10:14:36 | |
| w*s*b*n*b*o*.com | — | 2025-11-11 10:10:48 | |
| w*s*b*-*4.com | — | 2025-11-11 10:10:48 | |
| w*r*e*a.com | — | 2025-11-11 10:05:50 | |
| w*n*s*.com | — | 2025-11-11 10:03:37 | |
| w*n*e*i*g*b*e.com | — | 2025-11-11 10:02:33 | |
| w*k*z*-*a*o.com | — | 2025-11-11 09:54:56 | |
| w*k*d*k*-*n*i*e.com | — | 2025-11-11 09:54:36 | |
| w*k*n*w*.com | — | 2025-11-11 09:54:36 | |
| w*k*t*m*n.com | — | 2025-11-11 09:53:29 | |
| w*k*s*n*l*g.com | — | 2025-11-11 09:53:29 | |
| w*i*t*a*n*r*g*n.com | — | 2025-11-11 09:52:25 | |
| w*d*i*.com | — | 2025-11-11 09:48:56 | |
| w*-*e*p.com | — | 2025-11-11 09:47:30 | |
| v*-*e*i*l.com | — | 2025-11-11 09:39:38 | |
| v*x*y.com | — | 2025-11-11 09:33:40 | |
| v*x*y*o*l*n*.com | — | 2025-11-11 09:33:40 | |
| v*r*e*3*8.com | — | 2025-11-11 09:30:52 | |
| v*d*l*g*t*o*s*.com | — | 2025-11-11 09:20:19 | |
| v*v*c*a*s*c*l*u*i*.com | — | 2025-11-11 09:12:27 | |
| v*s*-*e*t*t*p.com | — | 2025-11-11 08:56:16 | |
| v*n*i*v*n*i*v*n.com | — | 2025-11-11 08:45:15 | |
| v*d*o*b.com | — | 2025-11-11 08:22:44 | |
| v*-*e*u*y*3*8.com | — | 2025-11-11 08:10:58 | |
| v*r*d*n*a*.com | — | 2025-11-11 07:56:55 | |
| v*n*u*e*o*e*n.com | — | 2025-11-11 07:52:19 | |
| v*n*o*o*o*o.com | — | 2025-11-11 07:51:55 | |
| v*n*r*a*i*s*e*t*o*.com | — | 2025-11-11 07:49:32 | |
| v*n*t*s*a*e.com | — | 2025-11-11 07:24:49 | |
| v*l*n*i*n*e*t*a.com | — | 2025-11-11 07:10:59 | |
| u*u*u*a*a*.com | — | 2025-11-11 07:02:28 | |
| u*a*a*o*u*e*a*a*e.com | — | 2025-11-11 07:00:26 | |
| u*a*i*a*e*o*a*e*a*e.com | — | 2025-11-11 07:00:26 | |
| u*u*a*p*.com | — | 2025-11-11 06:59:20 | |
| u*u*o*u*u*u.com | — | 2025-11-11 06:58:57 | |
| u*u*e*o*a*o*u*h*.com | — | 2025-11-11 06:54:01 | |
| u*e*u*-*n*o*r*v*e*.com | — | 2025-11-11 06:47:33 | |
| u*a*a*h*u*u*a*a*o*u*.com | — | 2025-11-11 06:32:00 | |
| u*a*a*a.com | — | 2025-11-11 06:31:38 | |
| u*e*c*-*a*p*r*.com | — | 2025-11-11 06:02:14 | |
| u*e*s*r*u*.com | — | 2025-11-11 06:01:54 | |
| u*i*a*a*h*.com | — | 2025-11-11 05:55:14 |