[CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Cloutman, David
I have a quick question for any PHP developers out there. I am writing a SOA application to manage my library's events calendar. The basic idea is to create a public API that our web site or other community organizations can use to query and consume information. I am using JSON as the default

Re: [CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Tim Spalding
Don't you think that's rather dangerous? PHP serialization can include objects, and it calls wakeup() on the object if that exists after unserialization. In theory that could do almost anything, right? Tim On Tue, Dec 30, 2008 at 1:55 PM, Cloutman, David dclout...@co.marin.ca.us wrote: I have a

Re: [CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Tim Spalding
Or put the events in LibraryThing local, and then get a feed from it for your library... Tim On Tue, Dec 30, 2008 at 2:38 PM, Jonathan Rochkind rochk...@jhu.edu wrote: If you want to publish calendar event information, you should use iCal/iCalendar instead of making up your own format.

Re: [CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Cloutman, David
: [CODE4LIB] Mime type for PHP serialized objects Don't you think that's rather dangerous? PHP serialization can include objects, and it calls wakeup() on the object if that exists after unserialization. In theory that could do almost anything, right? Tim On Tue, Dec 30, 2008 at 1:55 PM, Cloutman

Re: [CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Jonathan Rochkind
: Code for Libraries [mailto:code4...@listserv.nd.edu] On Behalf Of Jonathan Rochkind Sent: Tuesday, December 30, 2008 11:38 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Mime type for PHP serialized objects If you want to publish calendar event information, you should use iCal/iCalendar

Re: [CODE4LIB] Mime type for PHP serialized objects

2008-12-30 Thread Ross Singer
-Original Message- From: Code for Libraries [mailto:code4...@listserv.nd.edu] On Behalf Of Jonathan Rochkind Sent: Tuesday, December 30, 2008 11:38 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Mime type for PHP serialized objects If you want to publish calendar event