PDA

View Full Version : RSS feed


TheMusician
08-24-2007, 04:08 PM
Hi,

I did not know where to post this. I want to pull my calendar data and roll it as an RSS feed. This isn't a problem with most data but you store your dates as a number instead of date. 2454303, etc... What format is this? I need to convert it into a date so I can show the 10 upcoming events.

Thank you,

Max

Brian
08-24-2007, 07:14 PM
FAQ:

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=28

TheMusician
09-12-2007, 02:52 PM
Hello,

Julian Day Count is an interesting format. I noticed when looking through the generated information for floating events, no new dates are entered into the startDate.

For instance, if I create an event that starts on the 12 of September 2007 and repeat the event on the third week of every month the only date stored is the one for the 12th of September. I noticed you have a row called repeatx in the db, how is this used to calculate the dates for repeating events?

Thank you :car:

ve9gra
09-12-2007, 04:57 PM
That is part of the "special sauce" that makes up the calendar. It is proprietary information and not released to the public.

TheMusician
09-12-2007, 05:02 PM
I hope in the next release RSS support is included. I have it nailed down except for the repeating events. Is there any way that I can work with you to complete a solution?

Thank you

ve9gra
09-12-2007, 07:46 PM
What you can do is use output buffering and a custom template for the List module... Format the template so that it outputs only the info you want, and then using the output buffering, process it into an RSS feed with the proper formatting. That way, you won't be accessing the database directly and all your repeating events will show up correctly.

If I ever get some spare time, or if someone wants to finance my time on this, I could possibly come up with a working solution.

eironae
09-14-2007, 03:45 PM
RSS feeds are the only thing missing as far as I'm concerned, everything else is perfect for my needs. What kind of financing are we talking to get something put together? I'd need to be able to pull feeds the same way I can pull info out of the calendar, with the same criteria in the querystring.

ve9gra
09-14-2007, 07:33 PM
What do you mean by "with the same criteria in the querystring"? The solution that I would be working towards would not require any custom database connection, it would make use of the calendar system in order to retain the recurring events. You could limit the returned events by using the same options as the List mode (using $showCat, or any of the $listDays, $listWeeks, $listMonths, etc...).

I will open a new thread in the General forum as this is out of scope of the Wordpress forum.