WebLinks Developer's Document

The difference by the country or the language

(1) the order of address.

In English style, from small to big, like street town city.
In Japanese style, from big to small, like city town street.

I described the template "weblinks_link.html" which heve two address style.
It is selected by language code, Japanese or others.

(2) the link method to a map site

The US map site is http://maps.yahoo.com/ .
This site requires ZIP code, state, city, address.
<form action="http ://us.rd.yahoo.com/maps/home/submit_a/*-http://maps.yahoo.com/maps" target="_blank" method=get>
<input type="hidden" name="addr" value="<{$link.address}>">
<input type="hidden" name="csz" value="<{$link.city}>, <{$link.state}> <{$link.zip}>">
<input type="hidden" name="country" value="us">
<input type=hidden name=srchtype value=a>
<input type=submit name="getmap" value="Map">
</form>

The Japanese map site is http://search.map.yahoo.co.jp/.
This site requires only address.
<a href="http ://search.map.yahoo.co.jp/search?p=<{$link.addr_encode}>" target=_blank>
<img src="<{$module_url}>/images/map.png" board="0" alt="map"></a>

I described the template "weblinks_link.html" which heve two link method.
It is selected by language code, Japanese or others.

the author of WebLinks does not know the map sites without U.S and Japan.
Please teach me other county's infomation.

(3) the search site

The English area use http://googole.com/ .
The Japanese area use http://googole.co.jp/ .

It is selected by language code, Japanese or others.
I described in language/xxx/language_convert.php

(4) the RSS search site

In Japan, there is the RSS search site which carries out RSS feeds of the search results,
such as
http://sf.livedoor.com/
http://bulkfeeds.net/

I dont find same site in English.
If you know, please teach me.

It was setup, when admin choice "set default" button in Module Configuration 2.
I described this choice in the PHP file "admin/config.php".
It is selected by language code, Japanese or others.

(5) Tel a friend.

There is a situation peculiar to Japanese.
There are many character code such as SJIS, JIS, EUC-JP, UTF-8.
Many servers use EUC-JP.
Most of client PCs use SJIS.
It causes character garble.

Therefore it encode from EUC-JP to SJIS.

It is selected by language code, Japanese or others.
I described in language/xxx/language_convert.php


INDEX
$Id: lang_diff.html,v 1.1 2005/07/19 03:54:34 ohwada Exp $