Displaying 4 results from an estimated 4 matches for "xml_parser".
2005 Mar 28
1
Retrieving Playing Stats
...oint = "/mountname";
$fp = fopen("http://$user:$passw@$server/admin/stats","r")
or die("Error reading Icecast data from $server.");
while(!feof($fp))
{
$data .= fread($fp, 8192);
}
fclose($fp);
// Now parse the XML output for our mountpoint
$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $data, $vals, $index);
xml_parser_free($xml_parser);
$params = array();
$level = array();
foreach ($vals as $xml_elem) {
if ($xml_elem['type'] == 'open') {
if (array_key_exists('attributes',$xml_elem)) {...
2005 Mar 28
0
Retrieving Playing Stats
...//$user:$passw@$server/admin/stats","r")
> or die("Error reading Icecast data from $server.");
>
> while(!feof($fp))
> {
> $data .= fread($fp, 8192);
> }
>
> fclose($fp);
>
> // Now parse the XML output for our mountpoint
> $xml_parser = xml_parser_create();
> xml_parse_into_struct($xml_parser, $data, $vals, $index);
> xml_parser_free($xml_parser);
>
> $params = array();
> $level = array();
> foreach ($vals as $xml_elem) {
> if ($xml_elem['type'] == 'open') {
> if (array_key_e...
2019 Jan 02
5
doveadm index crash/assert
https://www.lerctr.org/~ler/dovecot/doveadm-index-fts-debug.txt
https://www.lerctr.org/~ler/dovecot/doveadm-index-fts-bt.txt
I wish there was a way to set plugins {fts_solr = <blah>} from the command
line :(
but I turned it on globally for that run.
On Wed, Jan 2, 2019 at 3:40 PM Stephan Bosch <stephan at rename-it.nl> wrote:
> Oh, d'oh. I was looking for some solr debug
2019 Jan 02
0
doveadm index crash/assert
...set.request_timeout_msecs = 60*1000;
??????????????? http_set.ssl = ssl_client_set;
??????????????? http_set.debug = debug;
-?????????????? solr_http_client = http_client_init(&http_set);
+?????????????? solr_http_client = http_client_init_private(&http_set);
??????? }
??????? conn->xml_parser = XML_ParserCreate("UTF-8");
diff --git a/src/plugins/fts/fts-parser-tika.c
b/src/plugins/fts/fts-parser-tika.c
index a4b8b5c30..b8b57a350 100644
--- a/src/plugins/fts/fts-parser-tika.c
+++ b/src/plugins/fts/fts-parser-tika.c
@@ -77,7 +77,7 @@ tika_get_http_client_url(struct mail_user *u...