You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@abdera.apache.org by Alex Cozzi <co...@almaden.ibm.com> on 2006/08/16 01:23:05 UTC

created date for an entry?

I am trying to get the created date of an atom entry using abdera, but I 
fail to see a Entry.getCreated() or similar on the entry class.
Is there a way to get the created element from an entry or is an 
unimplemented feature?
Best regards,
Alex

Re: created date for an entry?

Posted by Stephen Duncan <st...@gmail.com>.
Also note that "published" is an optional attribute; only "updated" is required.

-Stephen

On 8/15/06, Elias Torres <el...@torrez.us> wrote:
> Hi Alex,
>
> I think you are looking for Entry.getPublished(). In the comments you
> can read:
>
> RFC4287: The "atom:published" element is a Date construct indicating an
> instant in time associated with an event early in the life cycle of the
> entry... Typically, atom:published will be associated with the initial
> creation or first availability of the resource.
>
> -Elias
>
> Alex Cozzi wrote:
> > I am trying to get the created date of an atom entry using abdera, but I
> > fail to see a Entry.getCreated() or similar on the entry class.
> > Is there a way to get the created element from an entry or is an
> > unimplemented feature?
> > Best regards,
> > Alex
> >
>


-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Re: created date for an entry?

Posted by Elias Torres <el...@torrez.us>.
Hi Alex,

I think you are looking for Entry.getPublished(). In the comments you
can read:

RFC4287: The "atom:published" element is a Date construct indicating an
instant in time associated with an event early in the life cycle of the
entry... Typically, atom:published will be associated with the initial
creation or first availability of the resource.

-Elias

Alex Cozzi wrote:
> I am trying to get the created date of an atom entry using abdera, but I
> fail to see a Entry.getCreated() or similar on the entry class.
> Is there a way to get the created element from an entry or is an
> unimplemented feature?
> Best regards,
> Alex
> 

Re: created date for an entry?

Posted by James M Snell <ja...@gmail.com>.
The created element is from Atom 0.3. Abdera implements the Atom 1.0
specification.  As Elias and Stephen have pointed out, what you want are
the updated or published date.

- James

Alex Cozzi wrote:
> I am trying to get the created date of an atom entry using abdera, but I
> fail to see a Entry.getCreated() or similar on the entry class.
> Is there a way to get the created element from an entry or is an
> unimplemented feature?
> Best regards,
> Alex
>