aboutsummaryrefslogtreecommitdiffstats
path: root/doc-jp/README.siteconf
blob: 90066f7e4a1a6c02d8c780cdf7ca119d3f5bc0e4 (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
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

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

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

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 �Ȥ��ƥǥ����ɤ���ɽ�����ޤ���

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

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

/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/

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