aboutsummaryrefslogtreecommitdiffstats
path: root/doc-jp/README.siteconf
blob: c7617b3cb33a33e8093a3351229309330a2c2aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
siteconf: �������̥������ޥ���

siteconf �ϡ� URL �Υѥ�����ȡ������ɳ�դ���줿���꤫������ޤ���
siteconf ��Ȥ��ȡ����������ʸ�������ɤ���ꤷ�� "decode_url"
�ν��Ϥ���������ꡢ Google �Υ�����쥯���򱪲󤷤���ǽ��
�ץ饤�Х�������夵�����ꤹ�뤳�Ȥ��Ǥ��ޤ���

�ǥե���ȤǤ� siteconf �� ~/.w3m/siteconf �����ɤ߹��ޤ�ޤ���

===== ��ʸ =====

url <url>|/<re-url>/|m@<re-url>@i [exact]
substitute_url "<destination-url>"
url_charset <charset>
no_referer_from on|off
no_referer_to on|off
user_agent "string"

��������˽񤫤줿��Τ�ͥ�褵��ޤ���

===== �� =====

url "https://twitter.com/"
substitute_url "https://mobile.twitter.com/"

twitter.com ���Х��륵���Ȥ�ž�����ޤ���

url "http://your.bookmark.net/"
no_referer_from on

your.bookmark.net ����ĥ�ä���󥯤�é��ݤˡ� HTTP referer ��
����ʤ��褦�ˤ��ޤ���

url "http://www.google.com/url?" exact
substitute_url "file:///cgi-bin/your-redirector.cgi?"

Google �Υ�����쥯���� local CGI ��ž�����ޤ���

url /^http:\/\/[a-z]*\.wikipedia\.org\//
url_charset utf-8

Ʊ���� "decode_url" ���ץ����򥪥�ˤ���ȡ� Wikipedia �ؤ�
��󥯤� UTF-8 �Ȥ��ƥǥ����ɤ���ɽ�����ޤ���

url m@^https?://(.*\.)google\.com/@
user_agent "Lynx/2.8.8dev.3 libwww-FM/2.14 SSL-MM/1.4.1"

Google �� Lynx �Ǥ���ȹ𤲤ޤ���(����ˤ��ƥ����ȥ֥饦�������ڡ�����
�֤�ޤ�)

===== ����ɽ���ˤĤ��� =====

��������ɽ���Ϥ������Ʊ����̣��ɽ���ޤ���

/http:\/\/www\.example\.com\//
m/http:\/\/www\.example\.com\//
m@http://www\.example\.com/@
m!http://www\.example\.com/!

�Ǹ�� 'i' �����Ҥ��դ���ȡ���ʸ����ʸ������̤����˾ȹ��Ԥ��ޤ���
�㤨�С� m@^http://www\.example\.com/abc/@i �ϰʲ��Τ�����Ȥ���פ��ޤ���

http://www.example.com/abc/
http://www.example.com/Abc/
http://www.example.com/ABC/

���������ۥ���̾����ʬ�Ͼ�˾�ʸ�����Ѵ����Ƥ�����Ӥ��ޤ���