Hatena::Grouphatenadeveloper

Hatena XML Namespace Definition

en/other/misc/xmlns

Hatena XML Namespace Definition

Description

A module for the arbitrary content on the website of Hatena, in multiple formats. This namespace is typically used in RSS 1.0 or 2.0 documents.

Namespace URL

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

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>
  Error : module is not defined.
    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>
  Error : module is not defined.
    http://f.hatena.ne.jp/images/fotolife/j/jkondo/20041224/20041224203139.jpg
  </hatena:imageurl>
  Error : module is not defined.
    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>
  Error : module is not defined.
    http://f.hatena.ne.jp/images/fotolife/n/naoya/20050114/20050114170129.jpg
  </hatena:imageurl>
  Error : module is not defined.
    http://f.hatena.ne.jp/images/fotolife/n/naoya/20050114/20050114170129_m.gif
  </hatena:imageurlsmall>
  Error : module is not defined.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>
  Error : module is not defined.100</hatena:score>
  Error : module is not defined.50</hatena:contentscore>
  Error : module is not defined.さんぷる</hatena:furigana>
</item>

hatena:bookmarkcount

It describes the number of bookmarks for the entry on Hatena Bookmark.

Example

<item rdf:about="http://d.hatena.ne.jp/jkondo/20100706/1278367206">
  <title>...</title>
  <link>http://d.hatena.ne.jp/jkondo/20100706/1278367206</link>
  <description>...</description>
  <content:encoded>
  ...
  </content:encoded>
  <dc:creator>jkondo</dc:creator>
  <dc:date>2010-07-06T07:00:06+09:00</dc:date>
  Error : module is not defined.777</hatena:bookmarkcount>
</item>

History

  • 2010-12-13 Republished in Hatena Developer Center.
  • 2010-07-16 hatena:bookmarkcount added.
  • 2005-04-04 hatena:score, hatena:contentscore, hatena:furigana added.
  • 2004-01-15 hatena:syntax added.
  • 2004-01-14 Modified Namespace URI.
  • 2004-12-25 Released.