OpenDD PHP library

I have just uploaded a PHP library for importing and exporting OpenDD documents. It is version 0.1 so it is still very much under development, but it should still be usable. Import example The import function accepts an OpenDD XML document and returns an ODDDocument object, which can then be iterated through to obtain access […]

Marcus Povey

I have just uploaded a PHP library for importing and exporting OpenDD documents. It is version 0.1 so it is still very much under development, but it should still be usable. Import example The import function accepts an OpenDD XML document and returns an ODDDocument object, which can then be iterated through to obtain access […]

Getting started with the elggVoices API (part 4 – Putting it all together)

In yesterday’s article, we took a look at the server’s reply format. You now have all the information you need to construct the core of a library and start making server requests. Here is some sample PHP code for making POST and GET style queries. This library will let you make a query, and return […]

Marcus Povey

In yesterday’s article, we took a look at the server’s reply format. You now have all the information you need to construct the core of a library and start making server requests. Here is some sample PHP code for making POST and GET style queries. This library will let you make a query, and return […]

Getting started with the elggVoices API (part 3 – The reply)

On Friday we discussed how to construct an API request, today we will discuss how to handle the response that the server returns. Server replies The elggVoices server will respond with a result packet containing a number of fields. The format of this reply depends on the format requested. From the manual: ‘status’: The status […]

Marcus Povey

On Friday we discussed how to construct an API request, today we will discuss how to handle the response that the server returns. Server replies The elggVoices server will respond with a result packet containing a number of fields. The format of this reply depends on the format requested. From the manual: ‘status’: The status […]