[TxMt] Blogging bundle broken with Wordpress 2.2.1

Allan Odgaard throw-away-1 at macromates.com
Sat Jun 23 19:59:24 UTC 2007


On 23. Jun 2007, at 20:40, Steven W Riggins wrote:

> I just installed WP 2.2.1 with Daniel Jalkut's xml-rpc changes but  
> now I can't fetch posts at all due to an iso timecode error.

The problem is that now WP will send the date as ‘YYYYMMDDTHH:MM:SSZ’.

Previously it would not send the trailing ‘Z’ and ruby 1.8.2 (shipped  
with Tiger) does *not* expect that ‘Z’ (and thus raises a “wrong  
format” exception).

The XML-RPC specification defines the format using one example which  
is w/o a ‘Z’ (and there is an additional note about time zone info  
which hints that they did not expect this type to ever carry TZ info  
[1]) so WP is probably wrong in sending it.

That said, newer versions of Ruby’s XML-RPC parser do support several  
variations, so upgrading your Ruby [2] will fix the problem -- but I  
have cc’ed Joseph, he can say if we should expect a patch for WP.


[1] Which is unbelievable stupid, but that whole spec is unbelievable  
stupid.
[2] Remember to update “shebang path” -- http://macromates.com/ 
textmate/manual/shell_commands#search_path





More information about the textmate mailing list