RE: last modified date for a jahia page

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
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.