meteor-wordpress-json-api
meteor-wordpress-json-api copied to clipboard
Interacts with the Wordpress JSON API plugin to retrieve wordpress data.
This plugin works well for the most part. Seems like all parameters are being stripped out during the api GET. The URL returns the proper content when viewed in the...
Reading the code [here](https://github.com/redcap3000/meteor-wordpress-json-api/blob/master/server.js#L29) and seeing this: ``` javascript arr._id = arr.id + ''; if(Wordpress.findOne({_id : arr.id + ""})){ Wordpress.upsert(arr._id,arr) }else{ Wordpress.insert(arr); } ``` Why do the `findOne()` and then...