Географический поиск (GIR - Geographic Information Retrieval)

lagif
На сайте с 15.12.2004
Offline
30
#41

Silent, Сразу надо уточнять, кто ж вам виноват - не толкли бы воду в ступе.

Надо тогда тэг придумать специальный, чтоб сразу видно было - физический адрес :)

Это тоже пройдет...
Artisan
На сайте с 04.03.2005
Offline
375
#42
lagif:
Надо тогда тэг придумать специальный, чтоб сразу видно было - физический адрес

http://www.w3.org/TR/REC-html40/struct/global.html


7.5.6 The ADDRESS element

<!ELEMENT ADDRESS - - (%inline;)* -- information on author -->
<!ATTLIST ADDRESS
%attrs; -- %coreattrs, %i18n, %events --
>

Start tag: required, End tag: required

Attributes defined elsewhere

* id, class (document-wide identifiers)
* lang (language information), dir (text direction)
* title (element title)
* style (inline style information)
* onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)

The ADDRESS element may be used by authors to supply contact information for a document or a major part of a document such as a form. This element often appears at the beginning or end of a document.

For example, a page at the W3C Web site related to HTML might include the following contact information:

<ADDRESS>
<A href="../People/Raggett/">Dave Raggett</A>,
<A href="../People/Arnaud/">Arnaud Le Hors</A>,
contact persons for the <A href="Activity">W3C HTML Activity</A><BR>
$Date: 1999/12/24 23:37:50 $
</ADDRESS>

http://www.w3.org/MarkUp/html3/address.html


The ADDRESS element
Permitted Context: %Body.Content
Content Model: P or %text

The ADDRESS element specifies such information as address, signature and authorship for the current document, and typically placed at the top or bottom of the document. When used with %text, the element acts similar to a paragraph with breaks before and after.

Example:

<ADDRESS>
Newsletter editor<BR>
J.R. Brown<BR>
8723 Buena Vista, Smallville, CT 01234&t;BR>
Tel: +1 (123) 456 7890
</ADDRESS>

Permitted Attributes

ID
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Identifiers are NAME tokens and must be unique within the scope of the current document.
LANG
This is one of the ISO standard language abbreviations, e.g. "en.uk" for the variation of English spoken in the United Kingdom. It can be used by parsers to select language specific choices for quotation marks, ligatures and hypenation rules etc. The language attribute is composed from the two letter language code from ISO 639, optionally followed by a period and a two letter country code from ISO 3166.
CLASS
This a space separated list of SGML NAME tokens and is used to subclass tag names. By convention, the class names are interpreted hierarchically, with the most general class on the left and the most specific on the right, where classes are separated by a period. The CLASS attribute is most commonly used to attach a different style to some element, but it is recommended that where practical class names should be picked on the basis of the element's semantics, as this will permit other uses, such as restricting search through documents by matching on element class names. The conventions for choosing class names are outside the scope of this specification.
CLEAR
This attribute is common to all block-like elements. When text flows around a figure or table in the margin, you sometimes want to start the address element below the figure rather than alongside it. The CLEAR attribute allows you to move down unconditionally:

clear=left
move down until left margin is clear
clear=right
move down until right margin is clear
clear=all
move down until both margins are clear

Alternatively, you can decide to place the address alongside the figure just so long as there is enough room. The minimum width needed is specified as:

clear="40 en"
move down until there is at least 40 en units free
clear="100 pixels"
move down until there is at least 100 pixels free

The style sheet (or browser defaults) may provide default minimum widths for each class of block-like elements.
NOWRAP
The NOWRAP attribute is used when you don't want the browser to automatically wrap lines. You can then explicitly specify line breaks using the BR element.
www.leak.info / ДАРОМ линки конкурентов и забытых доменов
lagif
На сайте с 15.12.2004
Offline
30
#43

Artisan,

Не знаю, кто как, но я привыкла, что это тэг адреса нефизического :D

Тем более, тэг адреса должен содержать еще и другие свойства, если уж мы хотим точно:

<addr street="" city="" country="" tel=""...></addr>

Потому что в нынешнем <address> все пишут кому что нравится.

G
На сайте с 26.09.2005
Offline
10
#44

на самом деле распознавание адресов, телефонов и zip кодов - очень сложная и нетривиальная задача.... но это не означает что она не решаемая.

а кому то просто очень хочется со всем поспорить....

а между тем. еще в 2003 году гугл запустил местный поиск на основе разработки Эгнора Даниэля, который как раз заиндексировал адреса и zip коды на страницах в дополнение к базе TIGER... создал географический индекс, который позволяет делать множество операций

точность и возможности??? вы ее можете оценить на local.google.com....

lagif
На сайте с 15.12.2004
Offline
30
#45

goover,

Мне local.google.com как раз и не нравится. :D

Спор покидаю.

G
На сайте с 26.09.2005
Offline
10
#46

так бы сразу и сказали.... "ну не нравится мне просто..." а уж все остальное не имеет значение....

нравится не нравится... это чисто профессиональный подход :)

InSAn
На сайте с 13.01.2003
Offline
60
#47
Artisan:
если часто парсить whois, RIPE может вас забанить.
Именно поэтому те кому это надо делать регистрарами сами становятся, ...

Зачем парсить, если базы в открытом доступе лежат (в виде заархивированных тектовых файлов)? ;)

ADPRO - Мы знаем, что Вам нужно! (http://adpro.ua)
lagif
На сайте с 15.12.2004
Offline
30
#48

InSAn, А те базы полные?

lagif
На сайте с 15.12.2004
Offline
30
#49

goover, "не нравится" - это не просто мое мнение...

С вами спорить я больше не собираюсь. Так хочется последнее слово оставить за собой?

InSAn
На сайте с 13.01.2003
Offline
60
#50
lagif:
InSAn, А те базы полные?

Те данные, которые меня интересовали - там есть :)

ftp://ftp.ripe.net/ripe/dbase/

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий