All about the development of eZ Publish by Graham Brookins, 7x and Brookins Consulting.
Hello Fellows of the world of all things eZ Publish related.
Today, 7x restored through an tricky refactoring process and rigorous testing the eZ Publish Free Documentation Wiki called eZpedia had its SOAP Search Engine
Designed for network clients js, native, telegram, irc bot software to query the available documentation by keyword string based searching.
Postman
You can easy query our web service via soap https calls using Postman, read how.
Soap Https Api Url
https://soap.ezpedia.se7enx.com/en/bcsoapsearch#
Example XML Request Body Required
Here is a simple example of using the search with the minimum required parameter searchStr a string of any reasonable length or content. I like searching with full sentences most!
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <xsd:search_ezpedia xmlns:xsd="https://soap.ezpedia.se7enx.com:443/en/bcsoapsearch#search_ezpedia"> <searchStr>wiki</searchStr> </xsd:search_ezpedia> </soap:Body> </soap:Envelope>
This is the bare minimum in parameters required to get a proper response result but check out the documentation for bcsoapsearch extension to the nusoap extension for additional parameters and customize the code to your own use case requirements!
Example XML Request Body Supported
Here is a simple example of using the search with the minimum required parameter searchStr a string of any reasonable length or content. I like searching with full sentences most!
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <xsd:search_ezpedia xmlns:xsd="https://soap.ezpedia.se7enx.com:443/en/bcsoapsearch#search_ezpedia"> <searchStr>php</searchStr> <searchLimit>5</searchLimit> <searchOffset>false</searchOffset> </xsd:search_ezpedia> </soap:Body> </soap:Envelope>
This is the full supported search engine web service parameters as designed.
This solution is based upon the vintage nusoap extension (repo link coming soon) and implemented as a service using the bcsoapsearch extension implementation (very small, very stable, flexible).
Bots
We plan to implement this in the future as a Share eZPublish! Telegram Group Chat Bot based search solution!
We urge you to consider why writing web services for your website applications these days is vitally important and more often critical to your business.
Enjoy!
Add comment