From: Henry Story <henry.st...@bblfish.net>
Date: Thu, 13 Jul 2006 19:18:37 +0200
Local: Thurs, Jul 13 2006 1:18 pm
Subject: Re: Extensions and Extension Attributes
On 13 Jul 2006, at 16:38, Elias Torres wrote:
> As you already know we are putting the final touches on the Atom/RDF This is exactly the right time to start playing with extensions. I > store and as we work with James Snell from Abdera and author of many > extensions, he found a "bug" as we don't support extension attributes. have not tried at all yet. (in part because it seems like the most clearly badly designed part of atom - and the thought of all this wasted time because ... ok I'll stop the rant right here.) > [snip] is thr:count a real extension btw? Do we have good examples for > <a:link rel="replies" href="foo" thr:count="10" xmlns:thr="urn:foo" /> > #1 is not that bad: > :link [ a :Link; > thr:count "10"; # notice JS extension this? You probably by now have a list of good extensions. I suppose in the end we will never be able to formulate a general By the way this could be an argument for making Link just simply :link [ a :Link; here we would be very close to the syntax. Of course having something that simplifies things the way we have now So keep this in mind as you work with extensions. > #2 is where the hill got a little steep: reminder to myself: we are dealing with this example: <a:id xmlns:x="urn:bar" > [snip] By the way I wonder how this compares to using owl:sameAs . > Now we can go into the extension attributes... > [] :id [ [] :id [ owl:sameAs "urn:lsid:ex.org:entries:1"^^xsd:anyURI; > x:identifierType rdfs:type atom:extensionAttributeProperty; > Now because of atom:extensionAttributeProperty we can figure what > Now onto extensions. > atom:extension rdfs:type atom:extensionElementProperty; > <a:entry> > [ :extension "<gd:when startTime="2005-06-06" endTime="2005-06-07" indication as to the meaning of the extension. In which case one could process it and extract the meaning as a set of tri > Luckily, the only two things we need to pass to extension elements: Yes. That looks good. > xml:lang and xml:base and those can easily be added (unless there's a > conflict, but that's another hill to climb and we're not there yet > since > we can only climb on hill at a time). > Now in case someone brings up the I would like to query the name of > Additionally, we could support :simpleExtension. > <a:entry> > [ > s:when rdf:type atom:simpleExtensionElementProperty . > Regards, Looks like a really good start. Would you like to write up a little section for the html version explaining this? Perhaps a little further down the road when things have settled a bit (or before to help you think about them). > Ben, Lee and I.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||