Gentoo Archives: gentoo-doc

From: Xavier Neys <neysx@g.o>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] adding support for wikipedia links
Date: Sat, 02 Sep 2006 09:22:48
In Reply to: [gentoo-doc] adding support for wikipedia links by Mike Frysinger
Mike Frysinger wrote:
> often when i'm writing docs i like to throw in links to wikipedia as it > contains a wealth of information that i dont even want to try to duplicate > > rather than having to do like <uri > link="">FOO</uri> all the time, would it be > possible to get a new tag implemented ? say something like: > <wikipedia topic="Foo">FOO</uri> > -mike
A specific tag to link to a specific site? Not really a good idea. irb(main):002:0> '<wikipedia topic="Foo">Foo</wikipedia>'.length => 38 irb(main):003:0> '<uri link="">Foo</uri>'.length => 51 Only 13 characters difference. Whatever editor you use, I'm sure you can give it a macro to insert something like '<uri link="http://"></uri>' for generic external links and '<uri link=""></uri>'; for wikipedia articles. Besides, using your tag makes it impossible for translators to link to the translated version when available. Off-topic: you should bump date & revision when you edit a document. Thanks. Wkr, -- / Xavier Neys \_ Gentoo Documentation Project / /\


File name MIME type
signature.asc application/pgp-signature