School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,481 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,781 people online right now. Registration is fast and FREE... Join Now!




ATOM bilingual question

 

ATOM bilingual question

weedweaver

2 Apr, 2009 - 06:14 AM
Post #1

New D.I.C Head
*

Joined: 1 May, 2007
Posts: 30


My Contributions
Hi,
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?

Cheers


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 03:58AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month