FlashPress Feature Requests?
I’m currently re-writing my Flash press PHP service.
I’ve moved it to using the Wordpress api as opposed to working on the database directly.
Most methods are complete, with some no longer needed. For instance, all posts / pages can be returned with a simple ‘getContent” method, but would you rather have seperate, ‘getPost’,’ getPosts’, ‘getPage’, ‘getPages’ etc methods?
What additional features would you like to see in this service? Remember, that the service has access to most of the Wordpress API. There is no point recreating each an everything method, but there might be some methods that are more useful than others. I’ve also added in two methods for calling Wordpress methods beyond what the service supports, one for the Wordpress API and one that handles SQL requests, channeled through the Wordpress API.
Anyway, let me know your thoughts, if you have any.
At the moment, I’ve only supporting ZendAMF but will test out AMFPHP if I get the chance.
Update:
I’ve got it mostly completed. Just have to work on documentation and some examples. I’ve got reading and writing to the Wordpress database for posts / pages and attachments. And reading support for most other Wordpress features.
To get Write support for attachments (image resizing) you will have to require admin.php, but as you have to require a Wordpress file to get access to the Wordpress API anyway, I’m sure thats not a problem for anyone. Let me know if it is.
Update 2:
I’ve finally managed to get AMFPHP up and running again and have the various methods working through the services browser. I added in a new method to get the attachments from a post, which was a requested feature. I’ve also re factored some of the code.
The current available methods are:
callWpMethod – call any available Wordpress method
getUserByLoginName
getUserMetadata
getUserById
getComments
getPostMeta
findTerms (taxonomy method)
getTagCloud
getTerms
getCategories
getCategoriesByPostId
getTagsByPostId
getBlogInfo
getBookmarks
getAttachments
deletePost
getPostOrPageByTitle
getPosts
getPost
countPosts
insertAttachmentAsByteArray
insertAttachment
insertPost
I may rename some, or drop some methods. Note that “posts” is used to mean posts and pages.

