From: Jim Hu <ji...@ta...> - 2004-08-11 15:43:15
|
As a newcomer to the list, I'm not sure the right way to do this (I don't have CVS set up yet and don't really know how to use it yet). Let me know if attachments are not the right way! If anyone wants to help me set that up - I'm using MacOSX and I don't use fink...I suppose I could use it just for this, though. I've made a major modification of rss.php to have it work based on date ranges. rssview requests for day, week, and month generate the date range, or the url can pass these directly - I need this to get a feed for a semester's worth of data, for example. This allows there to be only one code block to actually generate the feed, instead of the 3 that are in the distribution. The actual block that generates the rss feed has some crud in it that I need for my own use, as there are extra master_array fields that I wanted to pass. I was hoping to generate a feed that could conform to an existing RSS namespace, but my reading of the web (I didn't know what RSS was until a couple of weeks ago, so I'm probably missing something) suggests that calendar standards for RSS are not well described. On the receiving end, I'm working on functions to parse the feed into a list. See: http://molbio.tamu.edu/index.php?linkname=Home&content=seminars for an example that uses the all_calendars_combined feed from a subdirectory called seminars. I hope you like this. Jim Hu |