WP Manifestindependent plugin directory
manifest / integrations / json-mobile

JSON Mobile Feed

A json API for WordPress article geared toward mobile

by Yuri Victor · github.com/yurivictor/json-mobile · website

2stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/yurivictor/json-mobile/archive/refs/heads/master.zip

From the readme

JSON Mobile Description A WordPress plugin that creates a json response endpoint for each post. Created for the mobile applications team. Can be used by appending ?json-mobile to any WordPress post. Example: http://www.washingtonpost.com/blogs/wonkblog/wp/2013/08/16/dear-dylan-the-wonkblog-advice-column-for-everything/?json-mobile JSON fields Default fields id int the current post ID uri string the path to the post title string the current post title authors array the current post author(s) published string the original post published date in UTC format lmt string the last time the post was modified in UTC format leadimage string the designated lead image url, or first image, in the post shareurl string the bitly link to the post for sharing adkey string the ad key omniture array omniture data fields items array each paragraph broken into individual types Default fields example Supported item types image sanitizedhtml tweet unsupported video Image Fields type string always image caption string the photo caption src string the full url to the image width int height int mime string the mime type of image Example response Sanitizedhtml Example respo

Read the full README on GitHub →