Guest user
Jiglu developers
Previous item Next item

Jiglu Tagging Schema

The Jiglu Tagging Schema is a very simple representation of automatic tags. It is returned in the <content> element when the Atom Entry for a Tagged Page is retrieved.

Description

The <content> element will contain a <tags> element with a namespace of http://www.jiglu.com/jiglutags. This contains a series of <tag> elements with the following attributes:

  • type - what kind of tag this is: topic, person or event. Note that we will be extending the categorisation functionality soon and this may then include other types or those that a site owner has defined.
  • uri - the definitive URI for this particular tag.
  • score - the score for this tag from 1 (low) to 10 (high) depending on how important it is rated to be within both the page and the site. Note that at present scores are only available for topics - this will change in the next release.

The content of the tag is the base name of the tag itself. If it was found in the tagged page under an alternative name then the base name will still be returned.

Example

<entry xmlns="http://www.w3.org/2005/Atom">
<title>Vanity Fair cancels Oscars Party</title>
<link rel="alternate" href="http://example.jiglu.org/blog/vanity_fair_cancels_oscars_party.html" />
<link rel="metadata" type="application/atom+xml; type=entry; charset=utf-8" href="http://jiglu-tagging.jiglu.com/pages/987116+atom" />
<author>
<name>Film Blog</name>
<uri>http://jiglu-tagging.jiglu.com/site/4211443417e40d4501185073fd4d5f6f</uri>
</author>
<id>http://example.jiglu.org/blog/vanity_fair_cancels_oscars_party.html</id>
<updated>2008-02-06T00:00:00Z</updated>
<published>2008-02-06T00:00:00Z</published>
<content type="text/xml">
<tags xmlns="http://www.jiglu.com/jiglutags">
<tag type="topic" uri="http://jiglu-tagging.jiglu.com/tags/topics/award-ceremony" score="4">award ceremony</tag>
<tag type="topic" uri="http://jiglu-tagging.jiglu.com/tags/topics/hollywood" score="8">Hollywood</tag>
<tag type="topic" uri="http://jiglu-tagging.jiglu.com/tags/topics/oscars" score="6">Oscars</tag>
<tag type="topic" uri="http://jiglu-tagging.jiglu.com/tags/topics/vanity-fair" score="10">Vanity Fair</tag>
<tag type="topic" uri="http://jiglu-tagging.jiglu.com/tags/topics/writers-guild" score="2">Writers Guild</tag>
<tag type="person" uri="http://jiglu-tagging.jiglu.com/tags/people/jon-stewart">Jon Stewart</tag>
</tags>
</content>
<summary type="text">'Vanity Fair' has cancelled its Oscars party this year in support for the striking writers.</summary>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">http://jiglu-tagging.jiglu.com/site/4211443417e40d4501185073fd4d5f6f</dc:creator>
<dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2008-02-06T00:00:00Z</dc:date>
</entry>
Written by Stephen Hebditch.
Published on Thursday, 7 August 2008 at 15:14. Version 3.0.0.