Hello, I need to get the modification date (last update) of a web page.
Have you any idea how can I realize that with newLisp?
Thank you!
Use either the "header" or "list" option in 'get-url':
> (get-url "http://www.nuevatec.com" "header")
"Date: Sat, 30 Aug 2008 18:55:50 GMTrnServer: ApachernLast-Modified: Fri, 21 Mar 2008 01:39:34 GMTrnETag: "1502b2c-c59-47e311d6"rnAccept-Ranges: bytesrnContent-Length: 3161rnContent-Type: text/htmlrnAge: 57rnConnection: closernrn"
>
then look at the Last-Modified header option. Not in all situations this option is reported.
It works! Thank you!