Download the PHP package hk-r/px2-extract-ogp without Composer
On this page you can find all versions of the php package hk-r/px2-extract-ogp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package px2-extract-ogp
hk-r/px2-extract-ogp
Pickles 2 用のプラグインです。 OGP情報を自動生成し、OGタグを設定します。
導入手順 - Setup
1. composer.json
に hk-r/px2-extract-ogp
を設定する
require
の項目に、hk-r/px2-extract-ogp
を追加します。
2. composer update を実行する
追加したら、composer update
を実行して変更を反映することを忘れずに。
3. config.php
に、設定を追加する
設定ファイル config.php
(通常は ./px-files/config.php
) を編集します。
-
スキーマの設定
$conf->scheme
に、スキーマを設定します。
$conf->scheme
を設定しないと、望ましい結果が得られないことがありますので、正しく設定してください。 -
ドメインの設定
$conf->domain
に、ドメインを設定します。
$conf->domain
を設定しないと、望ましい結果が得られないことがありますので、正しく設定してください。 -
OGP自動生成の処理追加
$conf->funcs->processor->html
のテーマの処理の後に、本プラグインの処理'hk\pickles2\extractOgp\extract::exec'
を追加します。 - OGP設定用のモジュールを追加
$conf->plugins->px2dt->paths_module_template
に、モジュール定義"OGP" => "./vendor/hk-r/px2-extract-ogp/modules/"
を追加します。
更新履歴 - Change log
hk-r/px2-extract-ogp 1.0.0 (2017年10月19日)
- og:imageの後ろだけ改行されない問題を修正
- CIサービス(Travis CI)の設定ファイルを追加
hk-r/px2-extract-ogp 1.0.0-beta.1 (2017年9月27日)
- Initial Release.
ライセンス - License
MIT License
作者 - Author
- (C)Kyota Hiyoshi [email protected]
for Developer
Test
All versions of px2-extract-ogp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package hk-r/px2-extract-ogp contains the following files
Loading the files please wait ....