Skip to content

Releases: pandaac/exporter

Engine specific settings

08 May 12:37
Compare
Choose a tag to compare
v2.1.1

Engine specific settings

Breaking changes to Sources

08 May 08:30
Compare
Choose a tag to compare

Instead of having to create a new exporter object for separate sources, you may now use the same exporter object for everything, and just pass the source into the parse method.

use pandaac\Exporter\Parsers\XMLSource;
use pandaac\Exporter\Sources\StringContent;

$exporter->parse(new XMLSource(
    new StringContent('<online><player id="1" /><player id="2" /></online>')
));

XML Error Handling

08 May 07:50
Compare
Choose a tag to compare

Improvements have been made to how we handle XML validation errors.

Sources

04 May 21:41
Compare
Choose a tag to compare

Added the ability to parse content from other sources than files. The only available source at the moment is StringContent. With it, a new parser (XMLSource) was also added to parse any XML file.

use pandaac\Exporter\Parsers;
use pandaac\Exporter\Exporter;
use pandaac\Exporter\Sources\StringContent;

$exporter = new Exporter(
    new StringContent('<?xml version="1.0" encoding="UTF-8"?><custom></custom>')
);

$response = $exporter->parse(new Parsers\XMLSource);

v2.0.1

07 Apr 11:26
Compare
Choose a tag to compare

Major overhaul of the code, including features such as automatic XML parsing, improved performance, improved semantics among other things.

v1.0.0

27 May 09:22
Compare
Choose a tag to compare
Update README.md