aboutsummaryrefslogblamecommitdiffstats
path: root/doc-jp/README.siteconf
blob: 90066f7e4a1a6c02d8c780cdf7ca119d3f5bc0e4 (plain) (tree)



















                                                                    
                                            



































                                                                          
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/

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