[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semantics of Entry




Henry Story wrote:


tag:fish.net,2004-05-20:e1
                    |------isa---------> DannyEntry
                    |------title-------> content1: "great day"
                    |------content-----> content2: "I love sunni daze"
                    |------content-----> content3: "I love sunni days"
                    |------created-----> 20 May 2004, 8 am
                    |------modified----> 20 May 2004, 4 pm


The problem with this theory is that we now no longer know which of content2 or content3 is the latest one (No cheating and guessing that because one has a 3 in the name it is likely to be after the one that has 2 in the name)


At that point I believe Atom differs - it doesn't add new statements, it modifies existing ones (hence the 'modified' date). Once content=content3 has been declared, content2 is flushed from the universe. Ok, older versions can be preserved, but they don't have to be, they aren't really an essential part of the model.

Maybe it might be more accurate to step outside the local Atom model and consider each entry as an ordered list, but given that few applications make use of the diffs it seems unnecessary.

Cheers,
Danny.



--

Raw
http://dannyayers.com