Kompx.com or Compmiscellanea.com

Text-based web browsers for Linux

Operating systems : Linux

Lynx : Links : ELinks : W3m : Netrik : Retawq : Line mode browser

When general public Linux distributions came around, web browsing was quite young, but with some way behind it. There were several web browsers already, many of them ported gradually to Linux. Some text-based web browsers were in the first wave. After a while Linux became the main habitat of text-based browsers, where most of them are developed and used. Even if these text-based web browsers are mostly intended not just for Linux, but for various other *nix systems as well. And there are also their ports to plenty of other operating systems for most various platforms.

Lynx - / home page /

Text-based web browser. Versions for Linux, FreeBSD, Mac OS X, some other *nix systems, DOS, Windows, BeOS, MINIX, QNX, AmigaOS, OpenVMS and classic Mac OS.

HTML ( More 1 ) ( More 2 )

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

lynx.isc.org

Image : Lynx - 1

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : Lynx - 2

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

en.wikipedia.org/wiki/Lynx_(web_browser)

Image : Lynx - 3

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : Lynx - 4

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : Lynx - 5

Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : Lynx - 6

Links - / home page 1 : home page 2 /

Text-based web browser. Versions for Linux, FreeBSD, Mac OS X, some other *nix systems, BeOS, Haiku, OS/2, DOS, Windows. The browser may be compiled with support for displaying graphics, fonts of various sizes with anti-aliasing, working in Linux and other *nix systems both under X (or other windowing system) and using SVGALib or framebuffer of system's graphic card ( Go to ).

HTML ( tables and frames including )

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

links.twibright.com

Image : Links 1

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : Links - 2

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

en.wikipedia.org/wiki/Links_(web_browser)

Image : Links - 3

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : Links - 4

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : Links - 5

Links 2.7 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : Links - 6

ELinks - / home page /

Text-based web browser. Versions for Linux, some other *nix systems, Windows, DOS.

HTML ( tables and frames including ). Meagre support for CSS and JavaScript ( More ). Support for 16, 88 or 256 colors palette. Support for tabbed browsing, background download with queueing. Experimental support for BitTorrent protocol.

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

elinks.cz

Image : ELinks - 1

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : ELinks - 2

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

en.wikipedia.org/wiki/ELinks

Image : ELinks - 3

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : ELinks - 4

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : ELinks - 5

ELinks 0.12pre2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : ELinks - 6

W3m - / home page /

Text-based web browser. Versions for Linux, some other *nix systems, OS/2, Windows (using Cygwin).

HTML ( tables and frames including ), SSL, colors and inline images on capable terminal emulators / consoles. W3m is able to run some CGI scripts without any HTTP server, acting as a HTTP server itself. W3m is used in the Emacs text editor for web pages rendering with an Emacs interface to it, emacs-w3m - for web surfing without leaving the editor.

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3m.sourceforge.net

Image : W3m - 1

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : W3m - 2

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

en.wikipedia.org/wiki/W3m

Image : W3m - 3

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : W3m - 4

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : W3m - 5

W3m 0.5.2 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : W3m - 6

Netrik - / home page /

Text-based web browser. Versions for Linux and some other *nix systems.

HTML.

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

netrik.sourceforge.net

Image : Netrik - 1

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : Netrik - 2

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

freecode.com/projects/netrik

Image : Netrik - 3

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : Netrik - 4

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : Netrik - 5

Netrik 1.16.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : Netrik - 6

Retawq - / home page /

Text-based web browser. Versions for Linux and some other *nix systems. The Linux versions include a retawq for DSLinux, a Linux distribution for Nintendo DS handheld game console.

HTML. Network protocols: HTTP 1.1 and 1.0, HTTPS, FTP, FTPS, NNTP, Finger ( More ).

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

retawq.sourceforge.net

Image : Retawq - 1

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : Retawq - 2

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

freecode.com/projects/retawq

Image : Retawq - 3

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : Retawq - 4

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : Retawq - 5

Retawq 0.2.6c in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : Retawq - 6

Line Mode Browser - / home page /

Text-based web browser. Versions for Linux, some other *nix systems, Mac OS X, Windows, DOS. And outside PC world for VMS, VM/CMS, MVS, Ultrix (DECStation and VAX), etc.

Line Mode Browser is the second web browser ever created. It was initially one of the most popular web browsers, later replaced by Mosaic and in its proper niche, text-only web browsing, by Lynx. So that Line Mode Browser ended up to be a test or example application for the libwww library and distributed as a part of the libwww package. The development of Line Mode Browser is still active.

HTML. Network protocols: HTTP, Gopher, FTP, NNTP, WAIS. Capability to follow links directly to telnet and rlogin sites. Cyrillic support.

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3.org/LineMode

Image : Line Mode Browser - 1

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

w3schools.com/browsers/browsers_stats.asp

Image : Line Mode Browser - 2

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

en.wikipedia.org/wiki/Line-mode_browser

Image : Line Mode Browser - 3

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

ebay.com

Image : Line Mode Browser - 4

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

kompx.com/en/elinks.htm

Image : Line Mode Browser - 5

Line Mode Browser 5.4.1 in GNOME Terminal 2.32.1 on Zenwalk Linux:

twitter.com

Image : Line Mode Browser - 6

There is also Debris text-based browser, but it is not always possible to compile and install it on modern Linux distributions. And Emacs/W3, a text-based web browser for the GNU Emacs text editor, written in GNU Emacs Lisp programming language - its development seems to be discontinued since November 14, 1999; W3m / emacs-w3m is used instead.


Aliosque subditos et thema

 

Lynx browser. Creating sitemap.xml

 

There are more than few online services for sitemap.xml generation. But it is also possible to do it yourself, by means of lynx web browser and several Linux command line utilities. An example bash script employing them, named "sitemap.sh" is described below. Bash script creating a sitemap.xml file: #!/bin/bash cd /home/me/sitemap/www/ lynx -crawl -traversal -accept_all_cookies -connect_timeout=30 http://www.compmiscellanea.com/ > /dev/null cd /home/me/sitemap/www2/ lynx -crawl -traversal -accept_all_cookies -connect_timeout=30 http://compmiscellanea.com/ > /dev/null cat /home/me/sitemap/www2/traverse.dat >> /home/me/sitemap/www/traverse.dat cat /home/me/sitemap/www/traverse.dat | sed -e 's/\<www\>\.//g' | sort | uniq > /home/me/sitemap/sitemap/sitemap.xml sed -i 's/\&/\&amp\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i "s/'/\&apos\;/g" /home/me/sitemap/sitemap/sitemap.xml sed -i 's/"/\&quot\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/>/\&gt\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/</\&lt\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/http:\/\//http:\/\/www\./g' /home/me/sitemap/sitemap/sitemap.xml sed -i -e 's/^/<url><loc>/' /home/me/sitemap/sitemap/sitemap.xml sed -i -e 's/$/<\/loc><\/url>/' /home/me/sitemap/sitemap/sitemap.xml sed -i -e '1 i <?xml version="1\.0" encoding="UTF-8"?>\r\r<urlset xmlns="http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9" xmlns:xsi="http:\/\/www\.w3\.org\/2001\/XMLSchema-instance" xsi:schemaLocation="http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9 http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9\/sitemap\.xsd">\r\r<!-- created by sitemap.sh from http:\/\/www.compmiscellanea.com\/en\/lynx-browser-creating-sitemap.xml\.htm -->\r\r' /home/me/sitemap/sitemap/sitemap.xml sed -i -e '$ a \\r</urlset>' /home/me/sitemap/sitemap/sitemap.xml sed -i '/static/d' /home/me/sitemap/sitemap/sitemap.xml echo "...Done" After the bash script file is prepared: "chmod +x sitemap.sh" to make it executable. Download sitemap.sh in sitemap.sh.tar.gz archive ( After downloading and unpacking it, put a web site name with "www" instead of http://www.compmiscellanea.com/ and a web site name without "www" instead of http://compmiscellanea.com/ in the file. Replace "static" in the last line of the file by a string unnecessary links should possess to be removed. Then "chmod +x sitemap.sh". Then run sitemap.sh ). Commentary Download sitemap2.sh with line by line commentary in sitemap2.sh.tar.gz archive. Before running the bash script, three folders should be created. Since lynx browser may miss some links if a web site domain name to be crawled is put with or without "www", bash script runs lynx twice, crawling the web site by its name with "www" and crawling the web site by its name without "www". The two result files are put into two of these separate folders, here they are "/home/me/sitemap/www/" and "/home/me/sitemap/www2/". And "/home/me/sitemap/sitemap/" is for sitemap.xml created in the end. 1. Path to bash: #!/bin/bash 2. Going to a folder - lynx browser is going to put there the files obtained from crawling a web site with "www" in its name: cd /home/me/sitemap/www/ 3. Running lynx browser to crawl a web site.

CSS centering absolutely positioned elements

 

CSS horizontal centering of an absolutely positioned element. Example: HTML / XHTML. Code: <div class="example"> <img src="image.jpg" alt="Image" /> </div> CSS. Code: .example {position: relative; left: 0px; top: 0px; height: 90px; width: 100%; float: left; padding: 10px; border: 1px #ccc solid; background: #fafafa; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;} .example img {position: absolute; left: 0px; right: 0px; margin: 0px auto; width: 68px;} An absolutely positioned img is centered in the example. But this method of horizontal centering also works with other both inline and block absolutely positioned elements. The width of an absolutely positioned element may also be in percent or other units. CSS properties of a container (here it is .example), holding an element to be centered, may vary. The element's centering is achieved by styles applied to the element itself: .example img {position: absolute; left: 0px; right: 0px; margin: 0px auto;}. [ 1 ] As well as Netscape 8.01+, Mozilla 1.5+. [ 2 ] As well as Netscape 8.01+, Mozilla 1.5+.