1 |
Mike Frysinger wrote: |
2 |
> often when i'm writing docs i like to throw in links to wikipedia as it |
3 |
> contains a wealth of information that i dont even want to try to duplicate |
4 |
> |
5 |
> rather than having to do like <uri |
6 |
> link="http://en.wikipedia.org/wiki/Foo">FOO</uri> all the time, would it be |
7 |
> possible to get a new tag implemented ? say something like: |
8 |
> <wikipedia topic="Foo">FOO</uri> |
9 |
> -mike |
10 |
|
11 |
A specific tag to link to a specific site? |
12 |
Not really a good idea. |
13 |
irb(main):002:0> '<wikipedia topic="Foo">Foo</wikipedia>'.length |
14 |
=> 38 |
15 |
irb(main):003:0> '<uri link="http://wikipedia.org/wiki/Foo">Foo</uri>'.length |
16 |
=> 51 |
17 |
|
18 |
Only 13 characters difference. Whatever editor you use, I'm sure you can give |
19 |
it a macro to insert something like '<uri link="http://"></uri>' for generic |
20 |
external links and '<uri link="http://wikipedia.org/wiki/"></uri>' for |
21 |
wikipedia articles. |
22 |
|
23 |
Besides, using your tag makes it impossible for translators to link to the |
24 |
translated version when available. |
25 |
|
26 |
Off-topic: you should bump date & revision when you edit a document. Thanks. |
27 |
|
28 |
|
29 |
Wkr, |
30 |
-- |
31 |
/ Xavier Neys |
32 |
\_ Gentoo Documentation Project |
33 |
/ |
34 |
/\ http://www.gentoo.org/doc/en/ |