Pages
The WP Mobile Pack content API implements a series of endpoints that are responsible for exporting pages. These are as follows:
Please note all endpoints support JSONP.
All URL’s are relative to the WP Mobile Pack installation folder, typically located at /wp-content/plugins/wordpress-mobile-pack.
1) Exporting pages
Relative FREE URL:/wp-content/plugins/wordpress-mobile-pack/export/content.php?content=exportpages&callback=CallbackMethod
Relative PRO URL:/wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php?content=exportpages&callback=CallbackMethod
Sample code: on Gist
Parameters:
Response type: JSONP
Response format (for a page):
2) Exporting a page’s full content
Relative FREE URL:/wp-content/plugins/wordpress-mobile-pack/export/content.php?content=exportpage&pageId=1&callback=CallbackMethod
Relative PRO URL:/wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php?content=exportpage&pageId=1&callback=CallbackMethod
Sample code: on Gist
Parameters:
Response type: JSONP
Response format:
Last updated