RE: last modified date for a jahia page

Sebastien JAUSSAUD <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <443832.1156936317768.JavaMail.www@wwinf1520>
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
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.