According to Ulrich Klenk: > I have some problems with htdig, the date of change and php-Files. > > After building a list with links to the .php files, htdig visit those > sites and insert them in the database. As search result I get the > correct sites, but the date of change is always the date when I indexed > the pages.
PHP files are server-parsed, dynamic content, so the server can't normally report a last modified date for these. A given PHP file may collect data from any of a number of different sources, each having potentially a different modification date, so it's not an easy matter to determine what the date should be, even if it were possible to get it to put out something. I don't know PHP enough to know if there's a way to force it to use the date of the main .php source file. > Is there a possibility to use the correct date of the file or the date > given in the meta tag? You can use the use_doc_date attribute added to the 3.1.6 snapshot (in http://www.htdig.org/files/snapshots/) to get htdig to pick up the date from a <meta name="date" content="..."> tag that you put in your documents. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

