aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorpberry <pberry>2002-11-24 16:33:38 +0000
committerpberry <pberry>2002-11-24 16:33:38 +0000
commitac62b5bc2658e26dfa3f044fb682cc9d0c83e651 (patch)
treed9277f6afbaf03361147bbef39c7ecd8eeb57c97 /day.php
parent620e88e724abdb2e922d2803523434c1be417881 (diff)
downloadphpicalendar-ac62b5bc2658e26dfa3f044fb682cc9d0c83e651.tar.gz
phpicalendar-ac62b5bc2658e26dfa3f044fb682cc9d0c83e651.tar.bz2
phpicalendar-ac62b5bc2658e26dfa3f044fb682cc9d0c83e651.zip
RSS auto-discovery link added to day,week, and month view.
$default_path must be set correctly for this feature to work.
Diffstat (limited to 'day.php')
-rw-r--r--day.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/day.php b/day.php
index 266ba42..09877c6 100644
--- a/day.php
+++ b/day.php
@@ -51,6 +51,7 @@ if (is_array($master_array[($getdate)])) {
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title><?php echo "$calendar_name - $display_date"; ?></title>
<link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>">
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $default_path.'/rss/rss.php?cal='.$cal.'&rssview=day'; ?>">
<?php include (BASE.'functions/event.js'); ?>
</head>
<body bgcolor="#FFFFFF">

© 2014-2024 Faster IT GmbH | imprint | privacy policy