Hi Steve,
This sounds straightforward, and would require using some libraries for the Hebrew calendar and calculating the weekly Torah portion. There are some details (I'm looking for a programming library that would help with parashat hashavua, there are double portions, sometimes Israel and the Diaspora are out of sync), but it's not too complicated. Unfortunately, I didn't get to your other proposal in time, but if you're still interested, we could reopen that and discuss it.
Adam