update plugin/syndi
This commit is contained in:
parent
ed70ef2219
commit
03220c580a
2 changed files with 66 additions and 68 deletions
|
|
@ -1,3 +1,2 @@
|
||||||
<?php
|
<?php
|
||||||
include_once('../../common.php');
|
include_once('../../common.php');
|
||||||
?>
|
|
||||||
|
|
@ -29,7 +29,7 @@ $feed_updated = date('Y-m-d\TH:i:s\+09:00', G5_SERVER_TIME);
|
||||||
$find = array('&', ' '); # 찾아서
|
$find = array('&', ' '); # 찾아서
|
||||||
$replace = array('&', ' '); # 바꾼다
|
$replace = array('&', ' '); # 바꾼다
|
||||||
|
|
||||||
$content = str_replace( $find, $replace, $write['wr_content'] );
|
$content = str_replace( $find, $replace, html_purifier($write['wr_content']) );
|
||||||
$summary = str_replace( $find, $replace, strip_tags($write['wr_content']) );
|
$summary = str_replace( $find, $replace, strip_tags($write['wr_content']) );
|
||||||
|
|
||||||
Header("Content-type: text/xml");
|
Header("Content-type: text/xml");
|
||||||
|
|
@ -62,4 +62,3 @@ echo "<entry>\n";
|
||||||
echo "<category term=\"{$bo_table}\" label=\"{$link_title}\" />\n";
|
echo "<category term=\"{$bo_table}\" label=\"{$link_title}\" />\n";
|
||||||
echo "</entry>\n";
|
echo "</entry>\n";
|
||||||
echo "</feed>";
|
echo "</feed>";
|
||||||
?>
|
|
||||||
Loading…
Reference in a new issue