Diff for Metafox/lib/soap/soap_server.php between version 1.2 and 1.3
| version 1.2, 2011/06/10 09:25:33 |
version 1.3, 2011/11/29 17:00:08 |
| Line 46 if (isset($_GET['wsdl'])) { |
|
| Line 46 if (isset($_GET['wsdl'])) { |
|
| global $ezin_cfg; |
global $ezin_cfg; |
| |
|
| $ret = strip_tags($str); |
$ret = strip_tags($str); |
| $ret = preg_replace('/&(\S)+;/',' ',$ret); |
$ret = htmlspecialchars($ret); |
| |
$ret = str_replace(array('%'),array('%'), $ret); |
| |
//$ret = preg_replace('/&(\S)+;/',' ',$ret); |
| $ret = iconv($ezin_cfg['encoding'], 'UTF-8', $ret); |
$ret = iconv($ezin_cfg['encoding'], 'UTF-8', $ret); |
| return $ret; |
return $ret; |
| } |
} |
| Line 220 if (isset($_GET['wsdl'])) { |
|
| Line 222 if (isset($_GET['wsdl'])) { |
|
| <ID>'.$article['article_id'].'</ID> |
<ID>'.$article['article_id'].'</ID> |
| <ID_Author>'.$article['article_author_id'].'</ID_Author> |
<ID_Author>'.$article['article_author_id'].'</ID_Author> |
| <ID_Category>'.$article['article_section_id'].'</ID_Category> |
<ID_Category>'.$article['article_section_id'].'</ID_Category> |
| <Title>'.prepare_str($article['article_title']).'</Title> |
|
| <Text>'.prepare_str($article['article_bodytext']).'</Text> |
|
| <ReleaseDate>'.substr(date('c',$articles[$b]['article_timestamp']),0,19).'</ReleaseDate> |
<ReleaseDate>'.substr(date('c',$articles[$b]['article_timestamp']),0,19).'</ReleaseDate> |
| |
<Title>'.prepare_str($article['article_title']).'</Title> |
| |
<Text><![CDATA['.prepare_str($article['article_bodytext']).']]></Text> |
| </GetArticleResult> |
</GetArticleResult> |
| </GetArticleResponse> |
</GetArticleResponse> |
| </soap:Body> |
</soap:Body> |
Platon Group <platon@platon.org> http://platon.org/
|
|