Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc@g.o
From: Xavier Neys <neysx@g.o>
Subject: Re: adding support for wikipedia links
Date: Sat, 02 Sep 2006 11:21:50 +0200
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="http://en.wikipedia.org/wiki/Foo">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="http://wikipedia.org/wiki/Foo">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="http://wikipedia.org/wiki/"></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
/
/\ http://www.gentoo.org/doc/en/

Attachment:
signature.asc (OpenPGP digital signature)
References:
adding support for wikipedia links
-- Mike Frysinger
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: adding support for wikipedia links
Next by thread:
Re: adding support for wikipedia links
Previous by date:
Re: adding support for wikipedia links
Next by date:
Re: adding support for wikipedia links


Updated Jun 17, 2009

Summary: Archive of the gentoo-doc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.