February 20th, 2004

Anime MZ

Daily Calendars

Date: Fri Feb 20 20:07:00 EST 2004
AOL Date: Fri Sep 3825 20:07:00 EST 1993
Discordian Date: Today is Sweetmorn,the 51st day of Chaos in the YOLD 3170
  • Current Music
    Humming electrons
Anime MZ

Heh - neat

So yesterday I'm thinking to myself "It'd be kind of cool to get my daily calendars in LJ..."

So today I'm thinking, say, LJ has email posting... I know Perl... I have crontab...

I have my calendars in LJ...

And I just had to create a new icon for that. (Visio is good for something - though it is 1 pixel off. You tell it 100x100, you get 101x101 - 99x99, you get 100x100.)
  • Current Music
    quiet office
Zoner en fuego!

Calendar update

based on simonb's suggestion I switched over to using LJ::Simple instead of email. Which was vital because I took fallenpegasus's suggestion and created a new user called ljcalendars for the posts. And email only works for paid accounts, but since LJ::Simple acts as a client, that's no problem. I did this so now you can friend ljcalendars if you want them to show in your friends page.

If you want more calendars I can add them. I'd prefer something that runs on shell (FreeBSD) to make life easy to add to the script. If I have to go scrape from another site I'll have to find time to play around, I haven't done that with Perl in several years so I don't know what the current 'right' way to do it is. (I last did it with LWP a long time ago, and I don't even remember how to do that anymore.) Or point me at some sample code that does the rip. :-)
  • Current Music
    quiet office