Last-Modified metatag in nutch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Last-Modified metatag in nutch

susmita_g
Hi,

I am trying to read the Last modified date of a web page using the following code snippet:

String moddate = parse.getData().getContentMeta().get(Metadata.LAST_MODIFIED);

in org.apache.nutch.indexer.basic.BasicIndexingFilter.java. But it is returning me today's date instead of the last modified date. Has anybody tried reading this metatag?

Thanks,
Susmita