Topic on Project:Support desk

OpenSearch returns only JSON

6
178.26.207.60 (talkcontribs)

Hi everyone,

I am currently trying to add a federated search from MS Sharepoint to MediaWiki (newest version) through its OpenSearch-Interface.

MediaWiki 1.17.0 PHP 5.3.3-7+squeeze1 (apache2handler) MySQL 5.1.49-3

I am using an url like ..../api.php?action=opensearch&search=api&limit=2&namespace=0&format=xmlfm but it always returns JSON (though with results) on our MediaWiki-installation. At Wikipedia e.g. it returns XML as it should.

Maybe someone can point me in the right direction, I looked at the config parameters, but cannot figure out what to do.

Thanks for your help,

Kind regards,

MMF

Bawolff (talkcontribs)
178.26.207.60 (talkcontribs)

Thanks for the feedback. We actually made it work by installing the OpenSearchXML-extension Extension:OpenSearchXml but sadly it's not usable as a federated search provider.

Krinkle (talkcontribs)
178.26.207.60 (talkcontribs)

Yes, that's the one. Unfortunately it does not return an Atom / RSS - feed like an OpenSearch-query should.

Many thanks for the answers, really appreciated :)

Kind regards,

MMF

Bawolff (talkcontribs)

Whoops, sorry about mixing up the extension and version changes and giving wrong info :S

Reply to "OpenSearch returns only JSON"