. . , . , , , .
, -. .
?
. :
1. . , , , . , , , : SEO .
2. .
3. (http://www.ulstu.ru/) . : , , . ӻ. offline .
4. , , .
?
, : . , ( ):
1. . , . , , , , , .
2. . . .
- , :
1. -;
2. ;
3. ;
4. .
- html - . , , html-.
- html-:
. , , - ( : href=, , :,)
|
|
. , .
, html-, . html- DOM-, html-, . ( DOM-).
DOM-
, html- body - :
<div class=CattleCurrencyBox>
<div class=CattleCurrency name=usd>
<div name=16.06.2016></div>
<div name=15.06.2016></div>
<div name=14.06.2016></div>
</div>
<div class=CattleCurrency name=eur>
<div name=16.06.2016></div>
<div name=15.06.2016></div>
<div name=14.06.2016></div>
</div>
</div>
, , , . , , , html-, . CattleCurrencyBox, (CattleCurrency) name , CattleCurrency.
html- , DOM- (). , : , HTTP .
.
Java: Jsoup - html- (), , DOM, CSS jQuery.
HTML5 , .
html- URL, .
:
Document ( html-). : getElementsByClass, getElementsByTag, getElementsByName, getElementById, getElementsByAttributeValue, , - .
Element ( -). attr, .
#: Html Agility Pack html-. Jsoup. Document - HtmlWeb, Element HtmlNode, , HtmlAttribute, HtmlNodeCollection. - : , - .
PHP: PHP Simple HTML DOM Parser , html- , , , , . (), find, :
|
|
$html->find(div. CattleCurrency div') div, div CattleCurrency.
:
1. // http://tceburashka.com/
2. // https://ru.wikipedia.org/wiki/_
3. Jsoup // https://jsoup.org/
4. Html Agility Pack - .NET HTML // https://habrahabr.ru/post/112325/
5. PHP Simple HTML DOM Parser // https://web2033.com/parsing-php-simple-html-dom/