I'm currently getting the date of a webpage by downloading the headers and using a regex to get the date. Yes, it's nasty, but it works most of the time, however on dynamic sites, it fails horribly.
Is there a correct way to get the date? I was thinking of something that parsed the metadata for 'date', or if that failed, something that looked thru the page for "date" looking formats and extracted them. Any ideas or modules that do this?