Title: JSON Data Feed
Author: jpcordial
Published: <strong>31 ພຶດສະພາ 2013</strong>
Last modified: 23 ສິງຫາ 2013

---

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

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

![](https://s.w.org/plugins/geopattern-icon/json-data-feed.svg)

# JSON Data Feed

 ໂດຍ [jpcordial](https://profiles.wordpress.org/jpcordial/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/json-data-feed.0.5.3.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/json-data-feed/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/json-data-feed/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/json-data-feed/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/json-data-feed/#developers)

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

## ຄຳອະທິບາຍ

JSON Data Feed can be used to supplement a WordPress blog’s normal XML feeds with
a JSON feed. Install it, activate it, and you’re done.

The JSON feed can be accessed by going to {a url on a WordPress site}/json

## ການຕິດຕັ້ງ

 1. Unzip the plugin folder.
 2. Upload the unpacked folder to your plugins directory.
 3. Activate the plugin.
 4. Enjoy!

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  Can I add my own data to a post’s JSON feed?

Yes, you can!

In your theme’s _functions.php_ file, you can use a filter to add whatever data 
you need.

    ```
    add_filter("get_json_meta", "my_metadata_function");
    function my_metadata_function($metadata){
        $myData = ""; //Add your data here.
        array_push($metadata, $myData);
    }
    ```

Every post type also has it’s own meta data filter. If you need to add metadata 
only to a single post type,

    ```
    add_filter("get_json_meta_{post_type}", "my_metadata_function");
    function my_metadata_function($metadata){
        $myData = ""; //Add your data here.
        array_push($metadata, $myData);
    }
    ```

Any data you push onto the array will be available in _{post}.meta_ section of the
JSON feed.

  Can I get full category and tag objects in the feed?

Sure can! You can change that in the plug in settings.

Settings can be accessed from Settings->JSON Data Feed.

  Can I modify the blog info in the data feed?

Why yes, you can! Once again, through the magic of filters, anything is possible!

    ```
    add_filter("get_json_bloginfo", "my_bloginfo_function");
    function my_bloginfo_function($bloginfo){
        $myData = ""; //Add your data here.
        array_push($bloginfo, $myData);
    }
    ```

## ການຣີວິວ

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

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

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

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

 *   [ jpcordial ](https://profiles.wordpress.org/jpcordial/)

[ແປ “JSON Data Feed” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/json-data-feed)

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

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

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

#### 0.1.1

Added _get\_json\_bloginfo_ filter to add or change the blog info in the data feed.

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

 *  ເວີຊັນ **0.5.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **13 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 3.5 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.5.2**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/json-data-feed/)
 * ແທັກ
 * [data feed](https://lo.wordpress.org/plugins/tags/data-feed/)[JSON](https://lo.wordpress.org/plugins/tags/json/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/json-data-feed/advanced/)

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

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

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/json-data-feed/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/json-data-feed/reviews/)

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

 *   [ jpcordial ](https://profiles.wordpress.org/jpcordial/)

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

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

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