Search A9 OpenSearch compatible engines.
This is porting Perl modules WWW::OpenSearch.
example
<?php
require_once 'Services/OpenSearch.php';
// Koders Source Code Search
$url = 'http://www.koders.com/search/KodersSourceCodeSearchDescription.xml';
$os = new Services_OpenSearch($url);
$items = $os->search('PHP');
$n = 1;
foreach ($items as $item) {
echo "[$n] {$item['title']}\n{$item['link']}\n\n";
$n++;
}
?>
result
[1] const.inc.php
http://www.koders.com/php/fid2C1EF324A4F13AB8E06718D80C446E28FB373C3D.aspx?s=PHP
[2] File.php
http://www.koders.com/php/fid15341ED8B43EE307CF181C99F1467543511A0479.aspx?s=PHP
[3] File.php
http://www.koders.com/php/fid711DB73545B349A45DA522A0DDCD8408DB945560.aspx?s=PHP
(snip)
sample
Here is sample web application using Services_OpenSearch.
Read a helpful guide on making money from experienced players: grupo telegram apostas
|