Thanks, I wasn't thinking at this too. I will test this way
Sebastien jaussaud > Message du 30/08/06 09:55 > De : "Philippe Vollenweider" <[EMAIL PROTECTED]> > A : [email protected] > Copie à : > Objet : RE: last modified date for a jahia page > > I wasn't thinking at this; it's an interessant way ;-) > > At 30.08.2006 09:46, you wrote: > >Hi, > > > >You can retieve it like this way: > > > >int activeVersionId = jData.page().getContentPage().getActiveVersionID(); > >java.util.Date date = null; > >if (activeVersionId == 0){ > > // page has been created but not yet published, set the date to the > >creation time > > date = new java.util.Date(Long.parseLong(jData.page().getDoc())); > >} > >else{ > > date = new java.util.Date((long) activeVersionId * 1000); > >} > > > >Fabrice > > > > > > > -----Message d'origine----- > > > De : Sébastien Jaussaud [mailto:[EMAIL PROTECTED] > > > Envoyé : vendredi, 25. août 2006 20:06 > > > À : [email protected] > > > Objet : last modified date for a jahia page > > > > > > Hello, > > > I want to know how can i get the last modified date for a > > > jahiapage (for a differential indexing with Nutch) in jahia 4 Thanks, > > > > > > Sebastien Jaussaud. > > -------=[ pvollenweider at jahia dot com ]=--------- > Jahia : A collaborative source CMS and Portal Server > www.jahia.org Community and product web site > www.jahia.com Commercial services company > > >
