[wp-hackers] Accessing Update Check API Outside of WordPress
wordpress at zed1.com
Tue Nov 20 17:46:56 UTC 2012
On 20 November 2012 17:28, David Anderson <david at wordshell.net> wrote:
> I presume most of these kind of scripts would be run on the machine that
>> also hosts the sites in question. Thus PHP will be installed. Why not just
>> write the parsing code in PHP (using the WP code to start) and have it
>> out the specific bits required, then call that PHP code from your shell
> That's what I'm presently doing (calling out to PHP if present to
> unserialize). But my goal is to allow WordShell to not have a dependency on
> PHP (for now, without PHP, you just lose some meta-data and it carries on),
> so that it can be installed anywhere where there's a basic POSIX
> environment. I know that some customers are using Mac OS X which doesn't
> have PHP installed by default. They develop on servers across the network,
> but want to manage their collection of sites from their local workstation.
Ok. I hadn't got that you wanted to run this in such different environments.
> Anyway, with that shell JSON parser it looks like my problem is solved; we
> can access the meta-data that way, no PHP needed.
More information about the wp-hackers