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