homepage Welcome to WebmasterWorld Guest from 23.22.217.122
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
How to tell when a web page was published?
msafi




msg:3778916
 3:22 am on Nov 3, 2008 (gmt 0)

Is there anyway to tell when a web page was published when the author doesn't indicate a publishing date?

Thanks,

 

phranque




msg:3778940
 5:34 am on Nov 3, 2008 (gmt 0)

there is no sure way to determine the "publishing date" but you can sometimes get clues by looking at the HTTP Response headers such as Last-Modified.
if you are requesting an actual file that is being served, this date has a chance of being correct.
with dynamically served content, you get whatever.

tangor




msg:3778946
 5:48 am on Nov 3, 2008 (gmt 0)

If the website has not locked down the directory, you might get a file creation (upload) date, but if the file has been modified it will be the last mod date. Otherwise phranque's answer is best.

msafi




msg:3778988
 6:42 am on Nov 3, 2008 (gmt 0)

Thanks for the replies.

@phranque

What are these HTTP Response headers? How can I find them?

@tangor

How do I check if the directory is locked down or not? If it's not, how can I see when the file has been modified?

Thanks a lot,

phranque




msg:3778997
 6:54 am on Nov 3, 2008 (gmt 0)

i usually use a command line user agent (lwp-request) to get the headers but i sometimes use the live http headers plugin for firefox [livehttpheaders.mozdev.org].

tangor




msg:3779031
 9:40 am on Nov 3, 2008 (gmt 0)

I'd FTP into the site...

I am curious, why the question as to creation date? If this is "mine came before yours" just proceed that way and let the chips fall where they may. If you are looking for "orphaned" content the proceed at peril.

Frankly, I don't care about creation dates UNLESS IT IS MY CONTENT SCRAPPED SOMEWHERE ELSE. In which case I have alternative methods of proving which came first.

denisl




msg:3779045
 10:18 am on Nov 3, 2008 (gmt 0)

There is an online resource, which you can probably find through google, that will show you old versions of pages through the years - might help

Badger37




msg:3781140
 10:14 am on Nov 6, 2008 (gmt 0)

I use this simple bit of code (won't work for all sites - dynamic content etc. will always shows todays date/time!):

Create a favourite/bookmark called 'last modified' or similar, and paste this JS in the URL field:

javascript:alert(document.lastModified)

Then when visiting a page you want to see the last modified date for 'use' the bookmark and the date/time will be displayed.

Hope that helps...

piatkow




msg:3781157
 10:35 am on Nov 6, 2008 (gmt 0)

That's a neat little trick Badger37. Just tested it against my own site and it looks pretty good. Its one to keep in the toolbox for when you are not sure how up to date the page you are reading is.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved