In that case, the only viable solution is an extension element. This is
similar to the Thread Extension use case in which replies may appear
within the same feed as the original.
Here's how I would do it:
1. Introduce a new <translation> element.
<translation id="id_of_resource" />
2. Use rel="alternate", hreflang="{otherlanguage}" to point to other
documents that may contain translations. I would prefer a "translation"
link rel but agree that reuse of alternate is better.
- James
Henry Story wrote:
Yes. That is one solution. But what we are looking for is how one can
state that two entries in the same feed are translations of one another.
Henry
On 22 Dec 2005, at 20:52, James M Snell wrote:
Hmmm.. interesting thought, hadn't considered that.
rel="self" should always point to *this* document, and never to some
other document, but if the document referenced is the same document
just in a different language, then it is possible? Good thinking but
I'm not sure if it's legal according to the spec.
<feed xml:lang="de">
...
<link rel="self"
hreflang="fr"
href="http://.../thefeed?lang=fr"
<link rel="self"
hreflang="de"
href="http://.../thefeed?lang=de"
<entry>
<id>tag:example.org,2005:some_entry</id>
...
</entry>
</feed>
- James
A. Pagaltzis wrote:
* James M Snell <[EMAIL PROTECTED]> [2005-12-22 19:30]:
To indicate that the feeds were translations of one another, a
new "translation" link rel could be established on the feed
level
<feed xml:lang="de">
...
<link rel="translation"
hreflang="fr"
href="http://.../thefeed?lang=fr"
<entry>
<id>tag:example.org,2005:some_entry</id>
...
</entry>
</feed>
<feed xml:lang="fr">
...
<link rel="translation"
hreflang="de"
href="http://.../thefeed?lang=de"
<entry>
<id>tag:example.org,2005:some_entry</id>
...
</entry>
</feed>
Is that even necessary? Wouldn’t @rel='self' already work here?
Regards,