- Details on installation, changes and license?
- Check these files: INSTALL.txt,
CHANGE_LOG.txt,
LICENSE.txt
- How to customize?
- You can edit the html templates which are php files located under
app/templates/main directory.
However to retain the original functionality, please change only the HTML code
and preserve the php code.
- How to use this application API from other php scripts?
- You can make API calls by using the metasearch main class: MSE_Search_MSearch.
For example:
// first load the API
require_once dirname(__FILE__) . '/app/classes/MSE/Api.php';
// then you can make API calls:
$MQ = new MSE_Search_MQuery('query string', 'category id');
$MS = new MSE_Search_MSearch($MQ);
$Results = $MS->run();
- How to add more search sources?
- Create an Adapter class for your source and put it in directory
app/classes/MSE/Search/Adapter.
View the existing adapter classes for examples.
Then you should register it in a search category within your configuration.