If you drop the ContextCollection format, and adopt Atom Collection (which is the same format as an Atom feed) you might lose a little bit of Context-centric descriptive richness, but you will gain a lot: 1. ability to subscribe to Collections in your RSS reader (or for developers, ability to re-use your RSS reading code)
2. a "free" publishing and update standard
3. a "free" categorization scheme

I attach a sample Atom Publishing Protocol (APP) service document for an OWS Context Collection (file: context_service_document.xml) and a sample Collection document (file: context_feed.xml).

What do you think of this idea?

---
Raj
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://www.w3.org/2007/app"; xmlns:atom="http://www.w3.org/2005/Atom";>
	<workspace>
		<atom:title>OWS Context Documents Service</atom:title>
		<collection href="http://example.org/contexts";>
			<atom:title>OWS Context Documents</atom:title>
			<accept>text/xml;type=owscontext</accept>
		</collection>
	</workspace>
</service>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom";>
	<title>International House of Context Documents</title>
	<updated>2007-12-13T18:30:02Z</updated>
	<author>
		<name>Example.com, Inc.</name>
	</author>
	<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
	<entry>
		<title>Geologic map of Tkurg</title>
		<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
		<updated>2008-12-13T18:30:02Z</updated>
		<author>
			<name>John Doe</name>
		</author>
		<content src="http://example.com/1243"; />
	</entry>
	<entry>
		<title>EIS Project in Blah</title>
		<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80dzy44efa6a</id>
		<updated>2008-10-13T18:30:02Z</updated>
		<author>
			<name>Marian Ahassa</name>
		</author>
		<content src="http://example.com/834249"; />
	</entry>
	<entry>
		<title>Design review of Trblliz</title>
		<id>urn:uuid:1229gc95-cfb8-4ebb-aaaa-80da344efa6a</id>
		<updated>2008-12-11T15:30:02Z</updated>
		<author>
			<name>Luc Jean</name>
		</author>
		<content src="http://example.com/3075"; />
	</entry>
</feed>

On Feb 19, 2008, at 5:21 PM, Cameron Shorter wrote:

There has been little talk about ContextCollection which is a simple but effective way to list Context documents. It would be a useful format to be returned from a Catalog query.

Files at:
http://svn.codehaus.org/mapbuilder/trunk/mapbuilder/examples

ContextCollection documents:
projDemo/Proj4jsMapExamples.xml
data/context/worldMapsCollection.xml
data/context/demoCollection.xml
timeSeries/timeSeriesCollection.xml
shipTracks/mapCollection.xml
Demis/mapCollection.xml

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to