Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

w3m(1) [redhat man page]

W3M(1)							      General Commands Manual							    W3M(1)

NAME
w3m - a text based Web browser and pager SYNOPSIS
w3m [options] [URL or filename] Use "w3m -h" to display a complete list of current options. DESCRIPTION
w3m is a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either language. It will display hypertext markup language (HTML) documents containing links to files residing on the local system, as well as files residing on remote systems. It can display HTML tables and frames. In addition, it can be used as a "pager" in much the same man- ner as "more" or "less". Current versions of w3m run on Unix (Solaris, SunOS, HP-UX, Linux, FreeBSD, and EWS4800) and on Microsoft Windows 9x/NT. OPTIONS
At start up, w3m will load any local file or remote URL specified at the command line. For help with runtime options, press "H" while run- ning w3m. Command line options are: -t tab set tab width -r ignore backspace effect -l line # of preserved line (default 10000) -s Shift_JIS -j JIS -e EUC-JP -B load bookmark -bookmark file specify bookmark file -T type specify content-type -m internet message mode -v visual startup mode -M monochrome display -F automatically render frame -dump dump formatted page into stdout -cols width specify column width (used with -dump) -ppc count specify the number of pixels per character (default 8.0) Larger values will make tables narrower. -dump_source dump page source into stdout -dump_head dump response of HEAD request into stdout -dump_both dump HEAD and source into stdout -dump_extra dump HEAD, source, and extra information into stdout -post file use POST method with file content -header string insert string as a header +<num> goto <num> line -num show line number -no-proxy don't use proxy -no-mouse don't use mouse -pauth user:pass proxy authentication -S squeeze multiple blank lines -W toggle wrap search mode -X don't use termcap init/deinit -o opt=value assign value to config option -config file specify config file -debug DO NOT USE EXAMPLES
To use w3m as a pager: $ ls | w3m To use w3m to translate HTML files: $ cat foo.html | w3m -T text/html or $ cat foo.html | w3m -dump -T text/html >foo.txt NOTES
This is the w3m 0.2.1 Release. Additional information about w3m may be found on its Japanese language Web site located at: http://w3m.sourceforge.net/index.ja.html or on its English version of the site at: http://w3m.sourceforge.net/index.en.html ACKNOWLEDGMENTS
w3m has incorporated code from several sources. Hans J. Boehm, Alan J. Demers, Xerox Corp. and Silicon Graphics have the copyright of the GC library comes with w3m package. Users have contributed patches and suggestions over time. AUTHOR
Akinori ITO <aito@fw.ipsj.or.jp> 4th Berkeley Distribution Local W3M(1)

Check Out this Related Man Page

SAMIDARE(1)							   User Commands						       SAMIDARE(1)

NAME
samidare - web page update checker SYNOPSIS
samidare [OPTION]... [URL]... DESCRIPTION
Samidare checks web page updates. It takes a list of URLs in a configuration file, config.yml, and checks last update time of them. A HTML file, latest.html, is generated to show the updates. OPTIONS
--help show help message. -v, --verbose specify verbose mode. -n, --no-check don't check web. output generation only. -f, --force force check (avoid timing control mechanism) -o, --output=filename specify output html filename. --output-lirs=filename specify output lirs filename. -T, --template=filename specify template filename. -t, --timing show check time of pages. --dump-config dump flatten configuration. --dump-status dump status. If URLs is specified, the status of specified pages are shown. --dump-template-data dump data for expand template. The "data" variable in template file refer this. --dump-filenames dumps locally stored filenames of pages specified by URLs. --dump-filenames2 dumps locally stored recent two filenames of pages specified by URLs. --remove-entry remove entry of pages specified by URLs. --diff-content show difference of recent two files of specified URLs. USAGE
samidare is configured by "config.yml" and "t.latest.html" by default. samidare generates "latest.html" and "sites.lirs.gz" samidare uses "status.rm" and "tmp" to record status of pages. "config.yml" is a configuration file in YAML format. See EXAMPLES section for its content. "t.latest.html" is a template file. In the file, "data" variable can be used. See the document of htree library for template directives. So you can run samidare as follows. % cd $HOME % mkdir samidare % cd samidare % vi config.yml % vi t.latest.html # optional % samidare % w3m latest.html # view the result If you want to publish the result, use symbolic link to latest.html and sites.lirs.gz as follows. % mkdir public_html % mkdir public_html/samidare % cd public_html/samidare % ln -s ../../samidare/latest.html . % ln -s ../../samidare/sites.lirs.gz . EXAMPLES
The configuration file is described in YAML format. The simplest configuration is list of URLs as follows. - http://www.example.org/blog/ - http://www.example.net/ FILES
"config.yml" and "t.latest.html" is configuration file. "latest.html" and "sites.lirs.gz" is output. "status.rm" and "tmp" is used by samidare internally. SECURITY
samidare stores pages in tmp directory. If it is published via your web server, XSS (cross site scripting) is possible. So the directory should not be published. AUTHOR
Tanaka Akira SEE ALSO
htree samidare 0.7 July 2008 SAMIDARE(1)
Man Page