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