[FFmpeg-devel] [PATCH][WEB] Add href on git: and svn: URIs
François Revol
revol at free.fr
Sat May 7 21:32:21 CEST 2011
The URLs used by GIT and SVN are perfectly valid URI, while not normalized there is no reason not to link them correctly to allow people to click them and have friendly OSes handle them correctly.
Haiku at least will do with the checkitout tool that opens a file requester and runs the scm checkout command in a Terminal.
Thanks to :%s/git:[a-zA-Z./~-]*/<a href="&">&<\/a>/gc
this patch fixes http://ffmpeg.org/download.html
François.
--- download.html.org 2011-05-03 17:39:10.000000000 +0200
+++ download.html 2011-05-07 21:24:45.000000000 +0200
@@ -64,7 +64,7 @@
</thead>
<tbody>
<tr>
- <td>git://git.videolan.org/ffmpeg.git</td>
+ <td><a href="git://git.videolan.org/ffmpeg.git">git://git.videolan.org/ffmpeg.git</a></td>
<td><a href="http://git.videolan.org/?p=ffmpeg.git">Browse</a></td>
<td><a href="http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz">Snapshot</a></td>
<td>Michael Niedermayer</td>
@@ -76,7 +76,7 @@
<th colspan="6">Other Repositories</th>
</tr>
<tr>
- <td>https://github.com/FFmpeg/FFmpeg <br/> git://github.com/FFmpeg/FFmpeg.git</td>
+ <td><a href="https://github.com/FFmpeg/FFmpeg">https://github.com/FFmpeg/FFmpeg</a> <br/> <a href="git://github.com/FFmpeg/FFmpeg.git">git://github.com/FFmpeg/FFmpeg.git</a></td>
<td><a href="https://github.com/FFmpeg/FFmpeg">Browse</a></td>
<td><a href="https://github.com/FFmpeg/FFmpeg/archives/master">Snapshot</a></td>
<td>-</td>
@@ -84,7 +84,7 @@
<td>Mirror of the main repository</td>
</tr>
<tr>
- <td>git://git.libav.org/libav.git</td>
+ <td><a href="git://git.libav.org/libav.git">git://git.libav.org/libav.git</a></td>
<td><a href="http://git.libav.org/?p=libav.git">Browse</a></td>
<td><a href="http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgz">Snapshot</a></td>
<td>?</td>
@@ -92,7 +92,7 @@
<td></td>
</tr>
<tr>
- <td>git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git</td>
+ <td><a href="git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git">git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git</a></td>
<td><a href="http://gitorious.org/~astrange/ffmpeg/ffmpeg-mt">Browse</a></td>
<td><a href="http://gitorious.org/ffmpeg/ffmpeg-mt/archive-tarball/master">Snapshot</a></td>
<td>Alexander Strange</td>
@@ -100,7 +100,7 @@
<td>Multithreaded decoding</td>
</tr>
<tr>
- <td>git://git.khirnov.net/git/libav</td>
+ <td><a href="git://git.khirnov.net/git/libav">git://git.khirnov.net/git/libav</a></td>
<td>-</td>
<td>-</td>
<td>Anton Khirnov</td>
@@ -108,7 +108,7 @@
<td></td>
</tr>
<tr>
- <td>git://gitorious.org/~flameeyes/ffmpeg/flameeyes-ffmpeg.git</td>
+ <td><a href="git://gitorious.org/~flameeyes/ffmpeg/flameeyes-ffmpeg.git">git://gitorious.org/~flameeyes/ffmpeg/flameeyes-ffmpeg.git</a></td>
<td><a href="http://gitorious.org/~flameeyes/ffmpeg/flameeyes-ffmpeg">Browse</a></td>
<td><a href="http://gitorious.org/ffmpeg/flameeyes-ffmpeg/archive-tarball/master">Snapshot</a></td>
<td>Diego E. Pettenò</td>
@@ -116,7 +116,7 @@
<td>Personal repository with works in progress</td>
</tr>
<tr>
- <td>git://github.com/lu-zero/ffmpeg.git</td>
+ <td><a href="git://github.com/lu-zero/ffmpeg.git">git://github.com/lu-zero/ffmpeg.git</a></td>
<td><a href="https://github.com/lu-zero/ffmpeg">Browse</a></td>
<td><a href="https://github.com/lu-zero/ffmpeg/tarball/master">Snapshot</a></td>
<td>Luca Barbato</td>
@@ -124,7 +124,7 @@
<td>Personal repository with works in progress and experiments</td>
</tr>
<tr>
- <td>git://git.mansr.com/libav.git</td>
+ <td><a href="git://git.mansr.com/libav.git">git://git.mansr.com/libav.git</a></td>
<td><a href="http://git.mansr.com/?p=libav">Browse</a></td>
<td>-</td>
<td>Mans Rullgard</td>
@@ -190,7 +190,7 @@
</p>
<blockquote>
-<pre>svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg</pre>
+<pre>svn checkout <a href="svn://svn.ffmpeg.org/ffmpeg/trunk">svn://svn.ffmpeg.org/ffmpeg/trunk</a> ffmpeg</pre>
</blockquote>
<p>
More information about the ffmpeg-devel
mailing list