Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <item>
- <title><?php echo htmlspecialchars($pst['title'], ENT_QUOTES); ?></title>
- <link><?php echo $pl=plk($pst['id']); ?></link>
- <description><?php
- $text = explode('[comments]', $pst['raw'], 1);
- $text = str_replace('[comments]', '', $text);
- $fulltext = retex(nl2br($text[0]));
- echo htmlspecialchars($fulltext, ENT_QUOTES);
- ?></description>
- <pubDate><?php echo date("D, d M Y H:i:s ", $pst['id'] + $_s['tmset'] * 3600).'GMT'; ?></pubDate>
- <guid><?php echo $pl; ?></guid>
- </item>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement