[wp-hackers] api.wordpress.org/themes ?

Joseph Scott joseph at randomnetworks.com
Tue Jan 13 23:06:22 GMT 2009


On Jan 13, 2009, at 3:35 PM, DD32 wrote:

> 2009/1/14 Joseph Scott <joseph at randomnetworks.com>:
>> Exactly what URL did you use for the API?  I don't get a response  
>> that
>> looks anything like what you indicated.
>> There's code in -trunk that checks for theme updates.  To try and  
>> keep
>> things as close to your example as possible I installed OpenAir 1.1.7
>> and edited the style.css to make it version 1.1.0 so that it would
>> trigger an updated theme response.  A current response looks like:
>>
>> a:1:{s:7:"openair";a:3:{s:11:"new_version";s:5:"1.1.7";s:3:"url";s: 
>> 42:"http://wordpress.org/extend/themes/openair";s:7:"package";s:61:"http://wordpress.org/extend/themes/download/openair.1.1.7.zip 
>> ";}}
>
> Thats the update API, Not the Theme information API which is to be
> used for the Theme Browser/Installer
> (http://api.wordpress.org/themes/info/1.0/) which is yet to be
> actually be used by Core.



Ahh, well, that would explain it then :-)



--
Joseph Scott
joseph at josephscott.org
http://josephscott.org/






More information about the wp-hackers mailing list