grei / wp-anigrab
抓取动漫信息并保存到本地WordPress帖子
2.0.0
2019-01-12 17:31 UTC
Requires
- jikan-me/jikan: ~1.0
- mustache/mustache: ^2.12
Requires (Dev)
- johnpbloch/wordpress: ^4.9
- wp-phpunit/wp-phpunit: ^4.9
This package is auto-updated.
Last update: 2024-09-13 20:39:37 UTC
README
需求
安装
在终端运行此命令
$ composer create-project grei/wp-anigrab path-to-wp-plugins/wp-anigrab --no-dev
$ cd path-to-wp-plugins/wp-anigrab && composer dump-autoload -o
$ wp plugin activate wp-anigrab
或从 发布 下载 installable.zip。
现在此插件也可在WordPress插件目录中找到 wp-anigrab。
用法
在您的帖子中的任何位置放置此类似短代码 [anigrab=id]模板[/anigrab] 或 [mangrab=id]模板[/mangrab]
-
id: myanimelist 动漫/漫画 ID
-
模板: 使用 dump 进行自动解析或模板引擎语法,例如
[anigrab=497]
title: {{title}}
etc
[/anigrab]
or
[mangrab=44]
title: {{title}}
etc
[/mangrab]
依赖项
待办事项
-
实现 imposter
-
添加更多功能