Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove xml and yaml output for api.php #149

Open
Klap-in opened this issue Jan 23, 2024 · 1 comment
Open

remove xml and yaml output for api.php #149

Klap-in opened this issue Jan 23, 2024 · 1 comment

Comments

@Klap-in
Copy link
Collaborator

Klap-in commented Jan 23, 2024

in api.php a xml and yaml output is offered as well, using some included libraries (that aren't updated).

conclusion: remove yaml and xml support?

        case 'xml':
            header('Content-Type: application/xml; charset=utf-8');
            require(__DIR__ . '/classes/A2Xml.php');
            $xml = xml_encode((object) $extensions, "hash");
            echo $xml;
            break;
        case 'yaml':
            header('Content-Type: text/yaml');
            require(__DIR__ . '/classes/Spyc.php');
            echo Spyc::YAMLDump($extensions, false, 0);
            break;
@splitbrain
Copy link
Collaborator

The extension manager now uses JSON. I'm fine with dropping xml and yaml.

Klap-in added a commit to Klap-in/dokuwiki-plugin-pluginrepo that referenced this issue Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants