diff options
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -921,7 +921,7 @@ function showRSS() | |||
921 | echo '<description><![CDATA['.nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))).$descriptionlink.']]></description>'."\n</item>\n"; | 921 | echo '<description><![CDATA['.nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))).$descriptionlink.']]></description>'."\n</item>\n"; |
922 | $i++; | 922 | $i++; |
923 | } | 923 | } |
924 | echo '</channel></rss>'; | 924 | echo '</channel></rss><!-- Cached version of '.pageUrl().' -->'; |
925 | 925 | ||
926 | $cache->cache(ob_get_contents()); | 926 | $cache->cache(ob_get_contents()); |
927 | ob_end_flush(); | 927 | ob_end_flush(); |
@@ -1001,7 +1001,7 @@ function showATOM() | |||
1001 | $feed.='<author><name>'.htmlspecialchars($pageaddr).'</name><uri>'.htmlspecialchars($pageaddr).'</uri></author>'; | 1001 | $feed.='<author><name>'.htmlspecialchars($pageaddr).'</name><uri>'.htmlspecialchars($pageaddr).'</uri></author>'; |
1002 | $feed.='<id>'.htmlspecialchars($pageaddr).'</id>'."\n\n"; // Yes, I know I should use a real IRI (RFC3987), but the site URL will do. | 1002 | $feed.='<id>'.htmlspecialchars($pageaddr).'</id>'."\n\n"; // Yes, I know I should use a real IRI (RFC3987), but the site URL will do. |
1003 | $feed.=$entries; | 1003 | $feed.=$entries; |
1004 | $feed.='</feed>'; | 1004 | $feed.='</feed><!-- Cached version of '.pageUrl().' -->'; |
1005 | echo $feed; | 1005 | echo $feed; |
1006 | 1006 | ||
1007 | $cache->cache(ob_get_contents()); | 1007 | $cache->cache(ob_get_contents()); |
@@ -1078,7 +1078,7 @@ function showDailyRSS() | |||
1078 | echo '<description><![CDATA['.$html.']]></description>'."\n</item>\n\n"; | 1078 | echo '<description><![CDATA['.$html.']]></description>'."\n</item>\n\n"; |
1079 | 1079 | ||
1080 | } | 1080 | } |
1081 | echo '</channel></rss>'; | 1081 | echo '</channel></rss><!-- Cached version of '.pageUrl().' -->'; |
1082 | 1082 | ||
1083 | $cache->cache(ob_get_contents()); | 1083 | $cache->cache(ob_get_contents()); |
1084 | ob_end_flush(); | 1084 | ob_end_flush(); |