On Sat, 2006-01-14 at 15:58, David M Johnson wrote: > On Jan 14, 2006, at 4:24 PM, Allen Gilliland wrote: > > it wouldn't necessarily be just from browser locale settings, but I > > agree that when a single url can be viewed in multiple languages that > > can be very troublesome. > > Atom format allows the specification of multiple alternate links > (i.e. permalinks) > for an entry, one for each combination of language and content type. > > From the spec: > > "atom:entry elements that contain no child atom:content element > MUST contain at least one atom:link element with a rel attribute > value of 'alternate'." > > That saying every entry must have a permalink. > > "atom:entry elements MUST NOT contain more than one atom:link > element > with a rel attribute value of "alternate" that has the same > combination of type > and hreflang attribute values." > > That says that an entry can have multiple permalinks, one for each > combination > of language and content-type. > > So for example, if I had a blog entry called The Boat in English and > Das Boot > in German there might be two permalinks in an entry like so: > > <entry> > <title . . ./> > <updated . . ./> > . . . > <link rel="alternate" type="text/html" > href="http://localhost/rss/davesblog?entry=the_boat" > hreflang="en-US" /> > <link rel="alternate" type="text/html" > href="http://localhost/rss/davesblog/de?entry=das_boot" > hreflang="de-DE" /> > > <link rel="alternate" type="audio/mp3" > href="http://localhost/rss/davesblog/de/dasboot.mp3" > hreflang="de-DE" /> > . . . > </entry> > > And that third link is an audio track that goes along with the entry ;-)
That's definitely a cool feature, but to do this we would need to go with option #3 from my original email because Roller would need to know that those two entries are actually associated. > > I'm not sure what we do with RSS feeds, but if we all switch over to > Atom format, every 'ting cool mon. I think we could just offer feeds in each language the same way we would do for pages ... /rss/fooblog?language=de -- Allen > > - Dave > >
