RootsWeb.com Mailing Lists
Total: 2/2
    1. Re: [ROOTSWEB-HELP] "updated" script
    2. Rod Dav4is
    3. Hi, You can avoid using JavaScript altogether and use the Server Side Include (SSI) facility. Heres the code that I put on every page: <!--#echo encoding="none" var="DOCUMENT_URI" --> <!--#CONFIG TIMEFMT="%Y-%m-%d %R" --> <br>Uploaded: <!--#echo encoding="none" var="LAST_MODIFIED" -->&nbsp; That puts the URI of the page and the date uploaded so: /~dav4is/people/HABSBURG.htm Uploaded: 2009-09-02 13:43 -R. Susan W Pieroth wrote: > I agree - having the script on every page is not useful. Actually, it > can look like you don't update stuff. I have it on pages that do get > updated, such as the main page, the index pages to submissions and the > resource page. I will put a copyright date on a new addition (such as a > publication scan/transcript) showing when the information was placed on > the site. Changing that date automatically every year is lot logical to > me. If I change the page for some reason, than I can manually change the > copyright information. Most pages, as you suggest, don't get touched again. > > Susan > Lackawanna Co. PAGenWeb Coordinator http://www.rootsweb.com/~palackaw/ > > On 1/9/2010 9:31 AM, J.A. Florian wrote: > >> Could someone give a short list of pros and cons for using a "last updated" >> javascript like Mona has asked about? >> >> Like, I have many pages in many sub-sections. But once I put up a Will for >> John XXX in the sub-folder "Wills", there's rarely reason to do anything >> more with "that" page. It's written once and updated/changed never. I may >> add another Will for George ZZZ but other than changing the index.htm page >> for that folder to add in the new Will, George ZZZ's will page would rarely >> if ever change. >> >> So should the "last updated" javascript just be put on the main index.htm >> and on the sub-sections' index.htm pages? >> >> Or is it of any value to add this script at all? Wouldn't it just be as >> easy to use a bottom "include" and type something like "This site is updated >> weekly or monthly with additional material" ? >> >> Judy >> > > ------------------------------- > To unsubscribe from the list, please send an email to ROOTSWEB-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message > > -- Regards, Rod Dav4is / P.O. Box 118 / Hyde Park, NY 12538 / USA Genealogy, et Cetera: http://freepages.rootsweb.ancestry.com/~dav4is/ 538 ancestral & collateral families, mostly 17°-19° century New England & European roots. Total population: 136,000+ Annex: http://www.gencircles.com/users/dav4is/ email: DAV4IS@YAHOO.COM A Democrat, a Republican and a giraffe walk into a bar. The bartender looks up from his want ads and says, "What is this, a joke?" -unknown

    01/10/2010 01:00:17
    1. Re: [ROOTSWEB-HELP] "updated" script
    2. Robert Sullivan
    3. >    <!--#CONFIG TIMEFMT="%Y-%m-%d %R" --> The LAST_MODIFIED SSI variable may be displayed a variety of ways, as seen for instance at: <http://www.freewebmasterhelp.com/tutorials/ssi/2> Since you may use more than one format on a page, it's possible to do both your page-updated dates and your copyright dates automatically: If you're using a copyright meta tag, you could write it this way: <meta name="copyright" content="<!--#config timefmt="%Y" -->Copyright <!--#echo var="LAST_MODIFIED" --> Your County XXGenWeb" /> Similarly, a last-updated and copyright footer could look like this: <p><!--#config timefmt="%B %e, %Y" --><!--#echo var="DOCUMENT_URI" --> updated <!--#echo var="LAST_MODIFIED" --></p> <p><!--#config timefmt="%Y" -->Copyright <!--#echo var="LAST_MODIFIED" --> Your County XXGenWeb</p> That would give you your page address followed by a date in the form January 10, 2010, then a copyright line with 2010. -- Bob Sullivan Schenectady Digital History Archive <http://www.schenectadyhistory.org/> Schenectady County (NY) Public Library

    01/10/2010 08:36:10