Wrote some Perl to parse the Turner Classic Movies schedule. My idea is that I could put into iCal or something, so I can import the schedule into my Google Calendar.
Biggest issue is that it seems that TCM sees the day as starting at 6am, not at midnight. Reasonable, I guess, but it makes the conversion weird. Nothing I can't work around, but certainly worth noting before I proceed.
I've now looked at iCal and brought out the RFC. It strikes me that the protocol looks way pre-XML, much less JSON. I'm surprised there's no generator module in CPAN, only parsers.
Biggest issue is that it seems that TCM sees the day as starting at 6am, not at midnight. Reasonable, I guess, but it makes the conversion weird. Nothing I can't work around, but certainly worth noting before I proceed.
I've now looked at iCal and brought out the RFC. It strikes me that the protocol looks way pre-XML, much less JSON. I'm surprised there's no generator module in CPAN, only parsers.
No comments:
Post a Comment