fixes to get moddate as well as pubdate; expose moddate
some work on #518