| View previous topic :: View next topic |
| Author |
Message |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Tue May 23, 2006 5:37 pm Post subject: rss dates & times |
|
|
exuse me if i asked this before.
With RSS I want to display "All Calendars - This Month"
when I do it shows the event tittle and description, but not the event DATE or TIME.
How can I get the date and time to display in the feed?
Thanks. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 23, 2006 5:50 pm Post subject: |
|
|
Hi
Thyme 1.2 or 1.3? Also, I think I did answer this from you before. I could be wrong. Note the Search feature of the forum  |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Tue May 23, 2006 5:52 pm Post subject: |
|
|
| 1.3 - do you mean my quesiton is answered in the forum? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 23, 2006 6:14 pm Post subject: |
|
|
I don't know if it is. I just mean if you think you've asked the question before and it has been answered, it would be nice if you searched for it before asking again. That's all.
Ok, create customize/rss_template.php under Thyme's folder with the following contents:
| Code: |
<?php
echo("Start: " . _ex_date("Y-n-j G:i", $e->start) . htmlspecialchars("<br>"));
if($e->notes) echo(@htmlspecialchars($e->notes, ENT_QUOTES));
?>
|
That will do it. For more options to _ex_date() .. see http://www.php.net/manual/function.date.php |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Tue May 23, 2006 6:26 pm Post subject: |
|
|
ian,
thanks for your help.
i did search the forums before submitting the post.
i couldn't find the q/a
---
I just added rss_template.php to /customize
i still don't see dates or times. dates are more important at this time.
thanks. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 23, 2006 6:37 pm Post subject: |
|
|
Hi,
I see it. Do you need to refresh the feed in your RSS reader? |
|
| Back to top |
|
 |
|