diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-17 21:00:03 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-17 21:00:03 -0500 |
commit | c895d2f41b0737f8a2799d36beca087e6b642f05 (patch) | |
tree | f6243c7c270bbec4f5e0d01547b2c6048cea200f /rss.php | |
parent | e3ffdb84d705dd1a1000fa91a49cc6c58fc58e05 (diff) | |
download | fourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.tar.gz fourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.tar.bz2 fourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.zip |
Added an emoticon parsing system
I decided that, because I use the :) emoticon so often, I might as well replace it with an actual image. I've added a Smiley parsing system to complement the BBCode parsing one.
Diffstat (limited to 'rss.php')
-rwxr-xr-x | rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rss.php b/rss.php index c232fe3..176ea32 100755 --- a/rss.php +++ b/rss.php | |||
@@ -232,7 +232,7 @@ foreach ($items as $key => $value) | |||
232 | 232 | ||
233 | <link>http://fourisland.com/blog/<?php echo($value['slug']); ?>/</link> | 233 | <link>http://fourisland.com/blog/<?php echo($value['slug']); ?>/</link> |
234 | 234 | ||
235 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description> | 235 | <description><?php echo(stripslashes(htmlentities(parseText($value['text'])))); ?></description> |
236 | 236 | ||
237 | <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> | 237 | <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> |
238 | </item> | 238 | </item> |
@@ -260,7 +260,7 @@ foreach ($items as $key => $value) | |||
260 | 260 | ||
261 | <link>http://fourisland.com/<?php echo($value['url']); ?>#comment-<?php echo($value['id']); ?></link> | 261 | <link>http://fourisland.com/<?php echo($value['url']); ?>#comment-<?php echo($value['id']); ?></link> |
262 | 262 | ||
263 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description> | 263 | <description><?php echo(stripslashes(htmlentities(parseText($value['comment'])))); ?></description> |
264 | 264 | ||
265 | <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> | 265 | <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> |
266 | </item> | 266 | </item> |