Title: Remote API
Author: Thorsten Ott
Published: <strong>1 ກຸມພາ 2011</strong>
Last modified: 23 ກຸມພາ 2011

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/remote-api.svg)

# Remote API

 ໂດຍ [Thorsten Ott](https://profiles.wordpress.org/tott/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/remote-api.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/remote-api/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/remote-api/#reviews)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/remote-api/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/remote-api/)

## ຄຳອະທິບາຍ

A basic use case for this plugin would be lazy loading content segments or performing
cross-blog actions.
 It includes a simple example for lazy loading widgets, but 
is mainly aimed for developers who like to built on top of this functionality.

Features:

 * Url Format in form of `http://<blogname>/<server_entry_key>/<request_string>/
   <server_format_key>/<format>` in order to allow server side caching of requests
   without setting up a huge set of rewrite rules. The request string contains all
   request parameters
 * Variable response formats. Comes with xml and json bundled in response.php but
   can be extended to your needs
 * Exceptions with custom exception handler are used throughout the classes to allow
   error feedback in the requested response format.

Please have a look at the inline documentation starting from `remote-api.php`. To
get a sense of the usage have a look at the examples

### Lazy Loading Widget Example

The Lazy Loading Widget example is a basic use case for this script. It’s UI is 
still not very tuned, but should give an impression on what can be done with this
remote-api.

When you visit your widget administration at `/wp-admin/widgets.php` you’ll notice
a widget called “Remote_API_Lazy_Widget”. Drag it to one of your sidebars where 
you would like to have some asynchronously loaded widget appear and give it a Title.
Then reload the widgets.php page.

A new sidebar should appear in which you can drop other widgets. The widgets you’ll
drop in this sidebar will be loaded asynchronously via a ajax request in place of
the placeholder widget.

## ພາບໜ້າຈໍ

 * [[
 * Widget admin interface showing the widget (left), the placeholder widget in the
   primary sidebar (top-right) and the resulting sidebar / dropzone for the placeholder
   widget (bottom-right)

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Remote API” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Thorsten Ott ](https://profiles.wordpress.org/tott/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)

[ແປ “Remote API” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/remote-api)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/remote-api/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/remote-api/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/remote-api/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/remote-api/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 0.2

 * Add support for full stops (.) in server parameters and switch to `remote.api`
   as default url to avoid conflicts with page names.
 * Switching to hash_hmac instead of crypt for request format validation string.

#### 0.1

 * Basic implementation

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **15 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.04**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/remote-api/)
 * ແທັກ
 * [api](https://lo.wordpress.org/plugins/tags/api/)[Lazy Loading](https://lo.wordpress.org/plugins/tags/lazy-loading/)
   [remote access](https://lo.wordpress.org/plugins/tags/remote-access/)[remote API](https://lo.wordpress.org/plugins/tags/remote-api/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/remote-api/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[Your review](https://wordpress.org/support/plugin/remote-api/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/remote-api/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Thorsten Ott ](https://profiles.wordpress.org/tott/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/remote-api/)