#1008 closed enhancement (worksforme)
metaWeblog API enhancements for WordPress - enclosure support
Reported by: | canopus | Owned by: | markjaquith |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5.1 |
Component: | XML-RPC | Keywords: | |
Focuses: | Cc: |
Description
I attach a patched xmlrpc.php (only a few lines of code added).
This is for metaWeblog API enhancements including:
- enclosure support in metaWeblog.Newpost, using own WordPress postmeta table system (line 847)
- base64 decode for files saved from metaweblog.Newmediaobject (line 542)
With this, WordPress would be the first CMS capable of automatic podcasting publication from Podcast client software, like EasyPodcast.
- canopus -
Attachments (3)
Change History (13)
#3
@
19 years ago
- Keywords bg|dev-feedback bg|2nd-opinion added
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
#4
@
19 years ago
It's not in 1.5.2. I snipped the relevant code. Maybe we could work this into wp_insert_post().
#7
@
19 years ago
Can anyone confirm that this actually works? I've been trying to add this code into my xmlrpc.php file to get enclosures to auto-generate using a 3rd party blogging tool and haven't had any luck with WP 1.5.2 or 2.0.1. If anyone has this working with either of these and can post the full xmlrpc.php file (or verify that the above one works), that would be awesome!
#9
@
18 years ago
- Keywords bg|dev-feedback bg|2nd-opinion has-patch removed
- Resolution set to worksforme
- Status changed from assigned to closed
This is _not_ a bug.
The base64 information provided by the client is decoded by the XML-RPC client code in class-IXR.php before the function in xml-rpc.php is called.
This happens here - http://trac.wordpress.org/browser/branches/2.0/wp-includes/class-IXR.php#L221 when the parent class parses the incoming XML-RPC message.
I have tested this for both the metaweblog api and moveabletype api and it works fine for me (using http://www.blogdesk.org)
Did this make it into 1.5.2? I know a lot of work was done on xmlrpc.php