Hatena XML Namespace Definition

Author

Version

Latest Version: http://www.hatena.ne.jp/info/xmlns#

Rights

Copyright © 2004, 2005 by the Author.

Description

A module for the arbitrary content on the website of Hatena, in multiple formats.

Namespace Declarations

Syntax

hatena:imageurl

A child-element of an RSS item or an Atom Feed entry. It describes a url of an image file which is related to the item.

Example

<item rdf:about="http://f.hatena.ne.jp/jkondo/20041224203139">
  <title>20041224203139</title> 
  <link>http://f.hatena.ne.jp/jkondo/20041224203139</link> 
  <description /> 
  <content:encoded>
  ...
  </content:encoded>
  <dc:date>2004-12-24T20:31:39+09:00</dc:date> 
  <hatena:imageurl>
    http://f.hatena.ne.jp/images/fotolife/j/jkondo/20041224/20041224203139.jpg
  </hatena:imageurl>
</item>

hatena:imageurlsmall

It describes a smaller image of hatena:imagefile. It will be used for a thumbnail of the image in almost all cases.

Example

<item rdf:about="http://f.hatena.ne.jp/jkondo/20041224203139">
  <title>20041224203139</title> 
  <link>http://f.hatena.ne.jp/jkondo/20041224203139</link> 
  <description />
  <content:encoded>
  ...
  </content:encoded>
  <dc:date>2004-12-24T20:31:39+09:00</dc:date>
  <hatena:imageurl>
    http://f.hatena.ne.jp/images/fotolife/j/jkondo/20041224/20041224203139.jpg
  </hatena:imageurl>
  <hatena:imageurlsmall>
    http://f.hatena.ne.jp/images/fotolife/j/jkondo/20041224/20041224203139_m.gif
  </hatena:imageurlsmall>
</item>

hatena:syntax

It describes an arbitrary Hatena-notation, in multiple formats

Example

<entry xmlns="http://purl.org/atom/ns#" xmlns:hatena="http://www.hatena.ne.jp/info/xmlns#">
  <title>Sample Image</title>
  <link rel="alternate" type="text/html" href="http://f.hatena.ne.jp/naoya/20050114170129"/>
  <issued>2005-01-14T17:01:29+09:00</issued>
  <author>
    <name>naoya</name>
  </author>
  <generator version="1.0">http://f.hatena.ne.jp/</generator>
  <id>tag:hatena.ne.jp,2005:fotolife-20050114170129</id>
  <hatena:imageurl>
    http://f.hatena.ne.jp/images/fotolife/n/naoya/20050114/20050114170129.jpg
  </hatena:imageurl>
  <hatena:imageurlsmall>
    http://f.hatena.ne.jp/images/fotolife/n/naoya/20050114/20050114170129_m.gif
  </hatena:imageurlsmall>
  <hatena:syntax>f:id:naoya:20050114170129:image</hatena:syntax>
</entry>

hatena:score / hatena:contentscore / hatena:furigana

It describes some values of keywords of Hatena Diary. These elements are usually child-elements of an RSS item or an Atom Feed entry.

Example

<item rdf:about="http://d.hatena.ne.jp/keyword/sample">
  <title>sample</title> 
  <link>http://d.hatena.ne.jp/keyword/sample</link> 
  <description>Sample Keyword</description> 
  <dc:date>2005-03-11T12:49:00+09:00</dc:date> 
  <dc:subject>Sample Category</dc:subject> 
  <hatena:score>100</hatena:score>
  <hatena:contentscore>50</hatena:contentscore>
  <hatena:furigana>さんぷる</hatena:furigana>
</item>