Skip to content

Instantly share code, notes, and snippets.

@skenderbeu
Created December 17, 2011 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skenderbeu/1490111 to your computer and use it in GitHub Desktop.
Save skenderbeu/1490111 to your computer and use it in GitHub Desktop.
Example OData feed from WestCumbriaChurch
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns="http://www.w3.org/2005/Atom">
<title type="text">Churches</title>
<id><strong>http://localhost:49933/WestCumbriaChurch.svc/Churches/</strong> </id>
<updated>2011-09-03T10:21:33Z</updated>
<link rel="self" title="Churches" href="Churches" />
<entry>
<id><strong> http://localhost:49933/WestCumbriaChurch.svc/Churches(3) </strong> </id>
<title type="text"></title>
<updated>2011-09-03T10:21:33Z</updated>
<author>
<name />
</author>
<link rel="edit" title="Church" href="Churches(3)" />
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Denomination"
type="application/atom+xml;type=entry" title="Denomination"
href="Churches(3)/Denomination" />
<category term="WestCumbriaChurchesModel.Church"
scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Church_ID m:type="Edm.Int32">3</d:Church_ID>
<d:Name>Whitehaven Elim Church</d:Name>
<d:ShortName>Elim</d:ShortName>
<d:Description>local community church</d:Description>
<d:Denomination_ID m:type="Edm.Int32">1</d:Denomination_ID>
<d:Town>Whitehaven</d:Town>
<d:Telephone>01946 695118</d:Telephone>
<d:Email>info@whitehavenelim.co.uk</d:Email>
<d:Website>http://www.whitehavenelim.co.uk </d:Website>
<d:ServiceName>Sunday Service</d:ServiceName>
<d:ServiceTime m:type="Edm.DateTime">2011-04-02T10:45:00</d:ServiceTime>
<d:X m:type="Edm.Double">54.548253437272557</d:X>
<d:Y m:type="Edm.Double">-3.5834015555419683</d:Y>
<d:Address>George Street, Whitehaven CA28 7EY</d:Address>
<d:ImageData m:type="Edm.Binary">/9j/4AAQSkZJRgABAQAAAQABAAD/2...... </d:ImageData>
</m:properties>
</content>
</entry>
<entry>More Churches....</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment