Git Product home page Git Product logo

y-proofreading's Introduction

Y Proofreading

CI Status CodeFactor License: GPL v2+ PHP: >=5.6 WordPress: >=5.0

バナー

Yahoo! API を使用した校正支援プラグインです。

最新バージョン

Table of Contents

Details

スクリーンショット

校正

Proofreading

ダッシュボード

Dashboard

要件

  • PHP 5.6 以上
  • WordPress 5.0 以上

導入手順

  1. 最新版をGitHubからダウンロード
    release.zip
  2. 「プラグインのアップロード」からインストール install
  3. プラグインを有効化
  4. Yahoo! APIClient ID を設定
    1. https://developer.yahoo.co.jp/yconnect/v2/registration.html
      アプリケーションの種類は「サーバーサイド」
    2. 管理画面左メニュー『Y Proofreading』⇒『ダッシュボード』に移動
    3. 『Yahoo!API の Client ID』に取得した アプリケーションID を入力して『更新』ボタンを押下
      (シークレットは使用しません)

使用方法

校正機能の使用

  1. サイドバーの「文書」タブの「校正」から実行します。
    start-proofreading

  2. 結果はサイドバーに表示されます。マウスのホバーで指摘事項がポップアップで表示されます。
    content-result

  3. 『文章校正支援情報』タブから指摘の一覧を見ることが可能です。
    proofreading-info

  4. 『再度実行』から再度校正を行うことができます。
    re-proofreading

  5. 右上の三点リーダー⇒『サイズ設定』からサイズ設定を行うことができます。
    open-size-setting
    size-setting

  6. プラグインの固定を外してしまった場合、右上の三点リーダー⇒『再度固定』から再度固定することができます。
    size-setting

設定

Dashboard

Yahoo!API の Client ID

https://developer.yahoo.co.jp/yconnect/v2/registration.html
取得したアプリケーションIDを設定します。

除外する指摘

不要な指摘事項を除外することができます。

Yahoo!API 校正支援

https://developer.yahoo.co.jp/webapi/jlp/kousei/v1/kousei.html

利用制限

プラグイン自体には特に利用制限はありませんが、利用している Yahoo!API 側に利用制限があります。
https://developer.yahoo.co.jp/appendix/rate.html

1リクエストあたりの制限

100KB

24時間以内のリクエスト数制限

50000件

Author

GitHub (Technote)
Blog

プラグイン作成用フレームワーク

WP Content Framework

y-proofreading's People

Contributors

github-actions[bot] avatar technote-space avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

y-proofreading's Issues

リクエストの分割

1リクエストあたりの制限 = 100KB
https://developer.yahoo.co.jp/webapi/jlp/kousei/v1/kousei.html

文章の途中で切れないように かつ できるだけ制限ギリギリのサイズで分割

http://kyohei8.hatenablog.com/entry/2013/12/14/125726

13,000文字(38KB)くらいで 制限に引っかかってしまいます

要調査

難易度やや高 かつ 自分がそんなに長い文章を書かない かつ 回避方法(新しい投稿を作成してそこで分割して使用など)があるので優先度低

サイズ設定をconfig化

js の constant にまとめているが php 側の config に追加 + filter化 して上書きできるようにする

除外する指摘 の操作性

マルチセレクトの動作

  • ctrl + click で外すのは一般的には知られていない
    ⇒ 選択されているものをクリックで外す

shift + click 動作はなし

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.