Re: syntax for bilingual page

eric scheid <eric.scheid@ironclad.net.au> Wed, 08 September 2010 00:34 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA21D3A67C3 for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 7 Sep 2010 17:34:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.854
X-Spam-Level:
X-Spam-Status: No, score=0.854 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_50=0.001, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4wQ3yJeS-gna for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 7 Sep 2010 17:34:24 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id BDE8D3A6AC5 for <atompub-archive@ietf.org>; Tue, 7 Sep 2010 17:34:19 -0700 (PDT)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o880SD9l001740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Sep 2010 17:28:13 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by hoffman.proper.com (8.14.4/8.13.5/Submit) id o880SD5B001739; Tue, 7 Sep 2010 17:28:13 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: hoffman.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from spaceymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o880SCcE001734 for <atom-syntax@imc.org>; Tue, 7 Sep 2010 17:28:12 -0700 (MST) (envelope-from eric.scheid@ironclad.net.au)
Received: from [192.168.1.100] (eth5126.nsw.adsl.internode.on.net [150.101.116.5]) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id 5AF9DEE3AB for <atom-syntax@imc.org>; Tue, 7 Sep 2010 17:28:11 -0700 (PDT)
User-Agent: Microsoft-Entourage/10.1.1.2418
Date: Wed, 08 Sep 2010 10:28:09 +1000
Subject: Re: syntax for bilingual page
From: eric scheid <eric.scheid@ironclad.net.au>
To: "atom-syntax@imc.org" <atom-syntax@imc.org>
Message-ID: <C8AD15B9.FBE5%eric.scheid@ironclad.net.au>
In-Reply-To: <6482EA48-E855-4DD8-8EE9-F42B316B93E0@berkeley.edu>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>

On 5/9/10 12:46 AM, "Erik Wilde" <dret@berkeley.edu> wrote:

> you're right that there only can be one title, which is bad for
> internationalization, but makes life easier for consumers. as unfortunate as
> it is, it's not going to change (i guess), so you will just have to make peace
> with this design. maybe use one feed per language? not great, but correct and
> probably a pattern you'll see in many places...

you could either link the entire feed to a translated feed, or link just the
entry to a translated entry document. I'd do the former generally.

<feed>
   <link rel="alternate" type="application/atom+xml"
    hreflang="fr" href="http://example.org/fr/feed.xml"/>
   <entry>
       <link rel="alternate" type="application/atom+xml"
        hreflang="fr" href="http://example.org/fr/entry.xml"/>
   </entry>
</feed>