0 Replies - 1109 Views - Last Post: 02 April 2009 - 07:14 AM

#1 weedweaver   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 42
  • Joined: 01-May 07

ATOM bilingual question

Post icon  Posted 02 April 2009 - 07:14 AM

I have a question about the use of the xml:lang tag in ATOM, for example, I need to have the title and summary items of the atom:element entry to be bilingual, can I do this for example:

<title type="text" xml:lang="en">The Miners Strike of 1984</title>
<title type="text" xml:lang="cy">The Miners Strike of 1984 (WELSH)</title>

The atom format states (from wiki):
“Atom, on the other hand, uses the standardized xml:lang attribute to make it possible to specify a language context for every piece of human readable content in the feed.”

BUT... we can only have ONE title attribute (from the syndication format)

“atom:entry elements MUST contain exactly one atom:title element.”

Im not sure the introduction of the lang element changes this at all?

Any ideas?


Is This A Good Question/Topic? 0
  • +

Page 1 of 1