Forum Moderators: open
What I'm wondering is whether calling dynamic content like newsfeeds from php files would cause google's freshbot to "see" the generated page as updated. I doubt this because the last-modified date would also have to be dynamically updated at the same time. Is there a way to do this from within a php file?
"1st Jan 2003, 12:45AM GMT"
however, would it also be acceptable to use
"01/01/2003 12:45AM"
What about the GMT part, what if your server time is not GMT time, do you have to modify the time to be GMT time, and is the GMT part required in the format? Say I'm hosting a web page down here in Australia, and it's 9:00AM, I've just updated it. On the server, the file is now marked as being modified at 9:00AM, on Friday 10th October, but that's actually Thurday 11th, 11:30PM GMT. So now I'm serving up a file with the last-modified date which is actually in the future. What happens here? Could you theoretically set your server date/time to 2010, modify your files, and they will be fresh until 2010?
do you have to modify the time
Whoa! Once the date-modified is reset on Linux servers it stays that way for a certain number of days. When Google checks it all it sees is that the file was "recently modified". After the time expires the file is not "recently modified" and Google does not consider it "freshly updated".
Get a grip,grab a Fosters,take a couple of chill pills and calm down.
last_mod_date = f.DateLastModified
response.AddHeader "Last-modified", last_mod_date
All I really want to know is if that is enough to make googlebot crawl the page again? It's not about the fresh tags as claus must've thought ;)
This is just a technical solution, but I wouldn't use it myself - it just seems like you're trying to cheat the SE's somehow. Maybe not spammy, but perhaps not entirely ethical.
That might be saying too much. I didn't do it ;)
At least i didn't intend to. I intended to say that you could rebuild the page in stead - that way it will get a new timestamp, as the content of the page (and the page itself) will have changed.
/claus