File: links-custom-plugin.html, Node: WWW Plug-ins, Next: ...External Applications, Prev: Font Display, Up: Customizing...
A few of the so-called browser plugins that work for Netscape will also work for Links. This section describes how to configure two of the more popular client applications: RealPlayer <http://www.real.com> and Acrobat Reader <http://www.adobe.com>
Source (G2 for Linux 2.0/2.2): http://www.real.com/products/player/linux.html
Source (RealPlayer): http://proforma.real.com/real/player/blackjack.html
Important note: Real Player 5.0 seems to be largely obsolete as most "Real-format" files require the G2 Player. There is no backward compatibility.
1. Install the RealPlayer 5.0 (Unix) or RealG2 Player (Linux) and make a note of the full path to the binary (e.g. /usr/X11R6/bin/realplay).
2. Put the appropriate entries into your links.cfg file, but change the path to the binary accordingly. Note: These entries must each be on a single line.
Real Player 5.0 entries:
association "RealPlayer 5.0" "audio/x-pn-realaudio" "/usr/X11R6/bin/realplay %" 2 1
extension "ra,ram" "audio/x-pn-realaudio"
Real Player G2 entries:
association "RealPlayer G2" "application/vnd.rn-realmedia,video/vnd.rn-realvideo,audio/vnd.rn-realaudio,audio/x-pn-realaudio" "/usr/X11R6/bin/realplay %" 2 1
extension "rv" "video/vnd.rn-realvideo"
extension "ra,rm,ram" "audio/vnd.rn-realaudio"
extension "ra,rm,ram" "audio/x-pn-realaudio"
association "Sound formats for G2 Player" "audio/x-scpls,audio/mpeg,audio/x-mpegurl" "/usr/X11R6/bin/realplay %" 2 1
extension "pls" "audio/x-scpls"
extension "mp3" "audio/mpeg"
extension "m3u" "audio/x-mpegurl"
3. Just fire up Links, go to DSL Kosten and follow some links from there.
1. Install Acrobat Reader.
2. Put these entries into your Links.cfg file.
extension "pdf" "application/pdf"
association "Acrobat Reader" "application/pdf" "acroread %" 2 1
3. Select a pdf file in Links, the Reader will start and display the document.
Most other Unix plugins are developed specifically to run inside Netscape, so cannot be invoked with Links.
User Reference Manual for Links Version 0.82 |
Revision Date: 2000-02-16 |
Copyright (C) 2000 Cliff Cunnington, <cliff@ccnet.demon.nl>
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.