Sunday, December 28, 2008

NYC Alternate Side Parking Calendar in Google Calendar Format

For anyone in NYC with a car, I just created a Google Calendar for the days when you don't need to move your car. I've added the holidays for the first six months of 2009.
Check the widget out here, and there are links to the Calendar in XML, ICAL and HTML format below the widget:




UPDATE: Tom Karlo has a nice site that lets you know whether alternate side parking rules are in effect at IsAlternateSideParkingInEffect.com

4 comments:

tomkarlo said...

There's going to be more parking holidays than before due to the December city council decision to suspend parking on days when they don't clean the streets due to snow. I've built a small site here that reports the day's alternate side parking status: IsAlternateSideParkingInEffect.com... would love to hear your feedback.

Mark Nyon said...

Hi Tom...I like what I see of the site. Simple, yet effective. This looks like a Rails app, am I correct?
One thing I'm not clear about; how does the zip code play into the alternate side rules? Does the zip code apply to the results, or are you getting statistical data.

I created that Google calendar because I can use it to plan my mornings accordingly.

One last question; where are you getting the data on when the city decided not to clean the streets?

tomkarlo said...

Yeah, it's a small Rails app. It would probably be better as Merb or some more lightweight framework since it only uses 10% of Rails, but it's easier to maintain this way.

I'm not using the zip codes right now but I do have plans for them eventually - not all regulation changes are city-wide.

The DOT site provides info on the extra days, but does so in an irregular fashion.

It might be possible to eventually provide the live data in an XML format that would sync into gCal; right now I'm not sure enough folks would use it to make supporting it worthwhile.

Mark Nyon said...

I haven't played with Merb yet, although I've heard good things about it. I've been working with Rails for about two years now.

The XML and ICAL feeds were the reason I'd made a Google Calendar. Once it's in that format, people can easily get that data into the scheduling app of their choice.

There are Ruby wrappers to the Google Calendar API that could add events to a public calendar:

http://googlecalendar.rubyforge.org/plugins/doc/