update plugin/syndi

This commit is contained in:
Amberstone 2024-09-19 20:39:29 +09:00
parent ed70ef2219
commit 03220c580a
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
2 changed files with 66 additions and 68 deletions

View file

@ -1,3 +1,2 @@
<?php
include_once('../../common.php');
?>

View file

@ -29,7 +29,7 @@ $feed_updated = date('Y-m-d\TH:i:s\+09:00', G5_SERVER_TIME);
$find = array('&amp;', '&nbsp;'); # 찾아서
$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']) );
Header("Content-type: text/xml");
@ -62,4 +62,3 @@ echo "<entry>\n";
echo "<category term=\"{$bo_table}\" label=\"{$link_title}\" />\n";
echo "</entry>\n";
echo "</feed>";
?>