forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: [jira] Created: (FOR-601) Last modified time of Goggle Sitemap incorrect
Date Sun, 07 Aug 2005 11:06:04 GMT
Rasik Pandey wrote:
>  > In my opinion we should not be adding a last-modified time until we can
>  > add a proper one. This element is optional in the google sitemap and I
>  > am sure that Google would appreciate no information over and above false
>  > information.
> 
> I only use it because I don't use Forrest in a dynamic environment, but 
> all my pages are created dynamically at build time.

But the build time is not the last modified time, it is only the last 
generated time. Even if 100% of *your* pages are changed in between 
builds this is very unusual and should not be the normal behaviour for 
the plugin.

>  > > Do you
>  > > think a map:generator could be responsible for adding this or 
> making the
>  > > info available to the the http header if it has access to the necessary
>  > > objects.
>  >
>  > There are a number of options:
>  >
>  > - create a special generator that adds the last-modified time to
>  > meta-data based on src file timestamp (as you appear to be suggesting) -
>  > how would this then make it into the google sitemap?
> 
> IMHO, this is the best option. The LinkStatusGenerator can then read it 
> from the http header and added it to its xml output.

This would only work if we generate the page, thus to create a sitemap 
in dynamic mode we would have to generate every single page. It seems 
clear to me that we should not add a last modified time when running in 
dynamic mode.

As for it being the best option, lets wait and see what Ferdinand has to 
say before deciding that.

Ross

Mime
View raw message