Search the web
Sign In
New User? Sign Up
rss-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
lang tags in the soup - revisited   Message List  
Reply | Forward Message #4833 of 7450 |
RE: [RSS-DEV] Re: lang tags in the soup - revisited

> Search the archives for past conversations on use of dc:lang vs
> xml:lang. There
> are different situations for each. I've never really seen a
> decent wrap up that
> resolves which is most useful when, let alone how to express them in
> combinations.

A wrap up:

Use xml:lang to state the language of the actual content of the XML.
Use dc:language to state the language of what you are talking about.

Most often these would be the same language:

<item rdf:about="someResource">
<description xml:lang="en">Some resource.</description>
<dc:language>en</dc:language>
...
</item>

But it is worth stating both, firstly because some applications may only
care about the xml:lang of the description, and some only about the language
of the resource, and secondly because they *can* be different.

<item rdf:about="someFrenchResource">
<description xml:lang="en">Some French resource.</description>
<dc:language>fr</dc:language>
...
</item>




Thu Jan 23, 2003 11:25 am

hack_poet
Online Now Online Now
Send Email Send Email

Forward
Message #4833 of 7450 |
Expand Messages Author Sort by Date

We have begun to insert span lang tags in the data on the ISSHO site, and thus in the RSS feed, as well. Not sure if we will be able to go anywhere with that,...
Tony Laszlo
tonylaszlo
Offline Send Email
Jan 21, 2003
7:26 pm

Hi ... I might be missing something but why don't you do this: <description xml:lang="ja"> ...omitted because I'm currently in a non-UTF-8 shell... ...
Chris Croome
chriscroome
Offline Send Email
Jan 21, 2003
7:47 pm

... Is there some reason to prefer this to <span lang=??> ? ... Good to know for something down the line; thank you....
tonylaszlo <laszlo@...>
tonylaszlo
Offline Send Email
Jan 23, 2003
3:18 am

Search the archives for past conversations on use of dc:lang vs xml:lang. There are different situations for each. I've never really seen a decent wrap up...
Bill Kearney
wkearney99
Offline Send Email
Jan 23, 2003
4:45 am

... A wrap up: Use xml:lang to state the language of the actual content of the XML. Use dc:language to state the language of what you are talking about. Most...
Jon Hanna
hack_poet
Online Now Send Email
Jan 23, 2003
11:25 am

... only ... language ... Understood. Those tags look very useful, indeed. My problem at the moment, however, is more elementary. My colleagues and I have...
tonylaszlo <laszlo@...>
tonylaszlo
Offline Send Email
Jan 24, 2003
5:43 am

... This is an HTML question. Of course it raises questions about if and how HTML should be contained within RSS, but one thing at a time. Certainly HTML...
Jon Hanna
hack_poet
Online Now Send Email
Jan 24, 2003
11:54 am

... Hiberno-English</span>), Thanks very much for the fine advice. We've begun to do it that way. :) On the parsing side, hopefully folks will come to find...
tonylaszlo <laszlo@...>
tonylaszlo
Offline Send Email
Jan 26, 2003
12:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help