Ticket #3405 (closed enhancement: fixed)
Support Post Enclosures Via XML-RPC MetaWeblog API Function
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | XML-RPC | Version: | 2.0.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | josephscott |
Description
I have attached a patchfile for xmlrpc.php (xmlrpc.php.diff) which adds enclosure support to the mw_newPost function. The change supports enclosures as specified by the metaWeblog API spec ( http://www.xmlrpc.com/metaWeblogApi), i.e. enclosures can be specified as part of the content struct.
Attachments
Change History
- Keywords bg|has-patch bg|dev-feedback added; enclosure meta mw_newPost MetaWeblog API XMLRPC removed
- Milestone changed from 2.0.6 to 2.1
Just realized my patch users array_intersect_key which is available in PHP 5 only. Doh!
Still, even if we drop the intersect line, we still have some pretty useful functionality, IMHO!
- Milestone changed from 2.1 to 2.2
If you can update the patch we can merge it in after 2.1.
-
attachment
xmlrpc.php.diff
added
Patchfile for xmlrpc.php (updated to support PHP 4)
comment:4
foolswisdom — 5 years ago
- Keywords has-patch added; bg|has-patch bg|dev-feedback removed
- Milestone changed from 2.2 to 2.3
comment:7
josephscott — 4 years ago
- Cc josephscott added
I've updated the patch for the current -trunk and expanded it to work for metaWeblog.editPost as well metaWeblog.newPost.
