Title: JSON Data Feed
Author: jpcordial
Published: <strong>2013 ལོའི་ཟླ 5 ཚེས 31 ཉིན།</strong>
Last modified: 2013 ལོའི་ཟླ 8 ཚེས 23 ཉིན།

---

མཐུད་སྣེ་བཤེར་འཚོལ།

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of 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://bo.wordpress.org/plugins/json-data-feed/#description)
 * [གདེང་འཇོག](https://bo.wordpress.org/plugins/json-data-feed/#reviews)
 *  [སྒྲིག་འཇུག](https://bo.wordpress.org/plugins/json-data-feed/#installation)
 * [ཡར་རྒྱས།](https://bo.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!

## FAQ

  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);
    }
    ```

## གདེང་འཇོག

There are no reviews for this plugin.

## བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“JSON Data Feed” is open source software. The following people have contributed 
to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

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

[ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “JSON Data Feed” ཡིག་སྒྱུར་བྱོས།](https://translate.wordpress.org/projects/wp-plugins/json-data-feed)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/json-data-feed/), check
out the [SVN repository](https://plugins.svn.wordpress.org/json-data-feed/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/json-data-feed/)
by [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.

## ཟུར་བརྗོད།

 *  Version **0.5.3**
 *  Last updated **ལོ 13 སྔོན།**
 *  Active installations **10+**
 *  WordPress version ** 3.5 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/json-data-feed/)
 * Tags
 * [data feed](https://bo.wordpress.org/plugins/tags/data-feed/)[JSON](https://bo.wordpress.org/plugins/tags/json/)
 *  [མཐོ་རིམ་མཐོང་སྣང་།](https://bo.wordpress.org/plugins/json-data-feed/advanced/)

## གདེང་འཇོག

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/json-data-feed/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/json-data-feed/reviews/)

## བྱས་རྗེས་འཇོག་མཁན།

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

## རམ་འདེགས།

Got something to say? Need help?

 [རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།](https://wordpress.org/support/plugin/json-data-feed/)