summary refs log tree commit diff stats
path: root/rss.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-10 14:46:23 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-10 14:46:23 -0500
commit98bb56988ea9efa9983a3045e2583a091ffd2ff8 (patch)
treed744dd811467d52c6d94e0cf15ad39bd4659eb96 /rss.php
parent973b420608ee303ad9d68b068121a46a8cffee42 (diff)
downloadfourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.tar.gz
fourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.tar.bz2
fourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.zip
Replaced all "www" subdomain links
For some reason, the source is full of www subdomain links. The rewriting engine doesn't seem to rewrite correctly, so most www subdomain links
forward to the original URL, not the rewritten URL, which is the base of the Pingback error.
Diffstat (limited to 'rss.php')
-rwxr-xr-xrss.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss.php b/rss.php index 1758049..49ee070 100755 --- a/rss.php +++ b/rss.php
@@ -229,7 +229,7 @@ foreach ($items as $key => $value)
229 <item> 229 <item>
230 <title><?php echo($value['title']); ?></title> 230 <title><?php echo($value['title']); ?></title>
231 231
232 <link>http://www.fourisland.com/blog/<?php echo($value['slug']); ?>/</link> 232 <link>http://fourisland.com/blog/<?php echo($value['slug']); ?>/</link>
233 233
234 <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description> 234 <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description>
235 235
@@ -242,7 +242,7 @@ foreach ($items as $key => $value)
242 <item> 242 <item>
243 <title>Quote #<?php echo($value['id']); ?></title> 243 <title>Quote #<?php echo($value['id']); ?></title>
244 244
245 <link>http://www.fourisland.com/quotes/<?php echo(urlencode($value['id'])); ?>.php</link> 245 <link>http://fourisland.com/quotes/<?php echo(urlencode($value['id'])); ?>.php</link>
246 246
247 <description><?php echo(htmlentities(nl2br($value['quote']))); ?></description> 247 <description><?php echo(htmlentities(nl2br($value['quote']))); ?></description>
248 248
@@ -257,7 +257,7 @@ foreach ($items as $key => $value)
257 <item> 257 <item>
258 <title>Comment on <?php echo($value['title']); ?> by <?php echo($value['username']); ?></title> 258 <title>Comment on <?php echo($value['title']); ?> by <?php echo($value['username']); ?></title>
259 259
260 <link>http://www.fourisland.com/comments/<?php echo($value['id']); ?>/</link> 260 <link>http://fourisland.com/comments/<?php echo($value['id']); ?>/</link>
261 261
262 <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description> 262 <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description>
263 263