Author: chen

WordPressの添付ファイルの差替え

国際会議のサイト構築の担当になり、WordPressで構築した。 CFPなど、いくつPDFの添付ファイルがありました。そのPDFファイルは結構頻繁に更新する。 更新するファイルをもう一度添付すると、URLが変わり、本文からのリンクも直す必要。手続き面倒な上、そもそもURL変わる自体も好ましくない。 たまたまEnable Media Replaceというプラグインに出会った。 https://wordpress.org/plugins/enable-media-replace/ ファイルをアップロードするだけで差替えるので、簡単そう。
Read More

Enhanced photoblog

Project Title. Enhanced Photo Blog publisher Elevator Pitch. “Easy Photo Blog publisher” is easy way to make a photo blog to own WordPress site, this cloud app enhanced
Read More

Photoblog

Project Title. Easy Photo Blog publisher Elevator Pitch. This cloud app pickup a photo from device’s image gallay, save the photo on self hosted WordPress site as a
Read More

Windows Live WrightがWordPressに接続できない。

かなり前からWLWでWordPress書く習慣があるが,最近一部のWordPressサイトはwlwに接続できない問題発生,サーバー側に接続しようとすると以下のようなメッセージが表示され接続(投稿)出来ない。 ——————————————————————————————————————— ログイン中に予期しないエラーが発生しました。 サーバーの応答が無効ですーブログサーバーから受信した blogger.getUsersBlogsメソッドへの応答が無効です。 invalid response document returned from XmlrRpc server ——————————————————————————————————————— 原因はXML-RPC戻るXMLテキストの最后は破损。なんどもGoogleしたが、対策が見つからなかった。今天は遂に解决した。 オリジナルの対策は以下リンクにあるようです: https://www.corelan.be/index.php/2008/10/14/windows-live-writer-unable-to-connect-to-wordpress-blog/ This is caused because something (a plugin ? my webserver (IIS) ?
Read More

WP- REST-API Setup

To Preparation WordPress wp-api,  you have three setup steps: JSON REST API Authenticate Permalink JSON REST API Grab the latest version of JSON REST API on WordPress plugin
Read More

WP- REST-API with AppInventor

AppInventorはAndoridのApp作りに簡単な環境です。WordPressはWebコンテンツを作るに最適な環境。 AppInventor is a easy way to creating an Android app from web browser.  WordPress is a best web content management tool. WP- REST-APIは、両者の長所を連携し、WordPressをAppInventorのWebサービスとして利用するためのAPIとして利用する。 WP- REST-API use you
Read More

WP- REST-API with Python

API endpoint import http.client def main(): conn = http.client.HTTPConnection("wp-api.pw") conn.request("GET", "/wp-json/") res = conn.getresponse() print(res.status, res.reason) print(res.read()) conn.close() if __name__ == "__main__": main() Posts Get Post Delete Media
Read More

WP- REST-API with cURL

API endpoint [chen@luna ~]$ curl -l http://wp-api.pw/wp-json/ Posts Get The Posts endpoint returns a Post Collection containing a subset of the site’s posts. [chen@luna ~]$ curl -l http://wp-api.pw/wp-json/posts
Read More