{"id":24976,"date":"2013-08-27T04:32:30","date_gmt":"2013-08-27T04:32:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jsonpress\/"},"modified":"2013-08-28T10:37:59","modified_gmt":"2013-08-28T10:37:59","slug":"jsonpress","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/jsonpress\/","author":3016960,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.3","tested":"3.6.1","requires":"3.5.1","requires_php":"","requires_plugins":"","header_name":"JSONPress","header_author":"Takien","header_description":"","assets_banners_color":"","last_updated":"2013-08-28 10:37:59","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/takien.com\/donate","header_plugin_uri":"","header_author_uri":"http:\/\/takien.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2651,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>none<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"763451","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"763451","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"763451","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"763451","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"762765","resolution":"5","location":"assets"}},"screenshots":{"1":"Default","2":"Add debug=1 query to display JSON in pretty format","3":"You can also use print_r=1 for debugging purpose","4":"Use callback for JSONP access","5":"Settings page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,1118,29426,2299,26525],"plugin_category":[],"plugin_contributors":[78069],"plugin_business_model":[],"class_list":["post-24976","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-json","plugin_tags-jsonp","plugin_tags-rest","plugin_tags-restful","plugin_contributors-takien","plugin_committers-takien"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/jsonpress.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/jsonpress\/assets\/screenshot-1.png?rev=763451","caption":"Default"},{"src":"https:\/\/ps.w.org\/jsonpress\/assets\/screenshot-2.png?rev=763451","caption":"Add debug=1 query to display JSON in pretty format"},{"src":"https:\/\/ps.w.org\/jsonpress\/assets\/screenshot-3.png?rev=763451","caption":"You can also use print_r=1 for debugging purpose"},{"src":"https:\/\/ps.w.org\/jsonpress\/assets\/screenshot-4.png?rev=763451","caption":"Use callback for JSONP access"},{"src":"https:\/\/ps.w.org\/jsonpress\/assets\/screenshot-5.png?rev=762765","caption":"Settings page"}],"raw_content":"<!--section=description-->\n<p>JSONPress - Allows you to request WordPress site via JSON\/JSONP output using standard WordPress query.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Access JSON via sub domain, ex. <code>api.example.com<\/code> (sub domain must be configured separately)<\/li>\n<li>Supports <code>JSONP<\/code> callback.<\/li>\n<li>Easy to debug output using <code>JSON pretty print<\/code> or <code>print_r<\/code>.<\/li>\n<li>You can <code>exclude columns\/data<\/code> to be displayed in JSON output.<\/li>\n<li>You can include <code>custom fields<\/code> too.<\/li>\n<li>This plugin uses <code>standard WordPress query<\/code>, no SQL hack etc.<\/li>\n<li>Use <code>standard WordPress URL<\/code>, no need to remember new annoying URL.<\/li>\n<li>And many more features I don't tell here.<\/li>\n<\/ul>\n\n<h4>Special<\/h4>\n\n<p>Not only posts\/page, you can also call some functions via URL.<\/p>\n\n<p>Examples:<\/p>\n\n<ul>\n<li><code>example.com\/get\/wp_list_categories<\/code> to displays list categories in JSON format<\/li>\n<li><code>example.com\/get\/wp_list_pages<\/code> to displays list pages<\/li>\n<li><code>example.com\/get\/wp_nav_menu<\/code> to displays menus<\/li>\n<\/ul>\n\n<p>Hei, how about $args of those functions? \n* <code>example.com\/get\/wp_list_categories?args[orderby]=ID&amp;args[exclude]=1,3,4&amp;args[child_of]=2<\/code> etc. cool, right?\n* Use subdomain API is recommended to ensure all links\/permalinks are rewritten to API URL.<\/p>\n\n<!--section=installation-->\n<p>There are many ways to install this plugin, e.g:<\/p>\n\n<ol>\n<li>Upload compressed (zip) plugin using WordPress plugin uploader.<\/li>\n<li>Install using plugin installer in WordPress dashboard.<\/li>\n<li>Upload manually uncompressed plugin file using FTP.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>\/json endpoints now works accross site, (previously only on page or post)<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>exclude_query now run after result is formatted<\/li>\n<li>function_exists check on <code>easy_get_image<\/code> library<\/li>\n<li>permalink\/site_url changed only if API domain is configured<\/li>\n<li>fixed <code>json<\/code> endpoint, previously required to pass value json\/1<\/li>\n<li>fix notice errors<\/li>\n<li>improved API access check<\/li>\n<li>fix 404 result<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"JSONPress - Allows you to request WordPress site via JSON\/JSONP output.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24976"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/takien"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24976"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24976"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24976"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24976"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24976"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}