<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AutoIt: Получить заголовок страницы в Интернете]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=12590</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12590&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AutoIt: Получить заголовок страницы в Интернете».]]></description>
		<lastBuildDate>Wed, 05 Apr 2017 10:41:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114619#p114619</link>
			<description><![CDATA[<p>Для любой задачи лучше. Прежде всего с точки зрения безопасности.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Wed, 05 Apr 2017 10:41:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114619#p114619</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114617#p114617</link>
			<description><![CDATA[<p>Для данной задачи любой сойдет.<br />Когда действительно важно использовать лучший вариант, делаю так:</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>function XMLHTTP_Init() {
	var progID = [&#039;Msxml2.ServerXMLHTTP.6.0&#039;, &#039;Msxml2.XMLHTTP.6.0&#039;, &#039;Msxml2.XMLHTTP.5.0&#039;, &#039;Msxml2.XMLHTTP.4.0&#039;, &#039;Microsoft.XMLHTTP&#039;];
	for (var i = 0; i &lt; progID.length; i++) {
		try {
			httpRequest = new ActiveXObject(progID[i]);
			if (i &gt; 3) alert(&quot;Отправка файлов статотчетности работать не будет!\nУстановите более позднюю версию MSXML.&quot;);
			if (i &lt; 1) {
				var Timeout_Resolve = 50*1000;
				var Timeout_Connect = 50*1000;
				var Timeout_Send = 150*1000;
				var Timeout_Receive = 150*1000;
				httpRequest.setTimeouts(Timeout_Resolve, Timeout_Connect, Timeout_Send, Timeout_Receive);
			}
			return httpRequest;
		}
		catch (e) {}
	}
	alert(msxml_alert);
	self.close();
}</code></pre></div></div></div>]]></description>
			<author><![CDATA[null@example.com (mozers)]]></author>
			<pubDate>Wed, 05 Apr 2017 10:35:56 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114617#p114617</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114616#p114616</link>
			<description><![CDATA[<p>Да, но чем выше версия, тем лучше.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Wed, 05 Apr 2017 10:05:48 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114616#p114616</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114615#p114615</link>
			<description><![CDATA[<p>ActiveX с именем &#039;Microsoft.XMLHTTP&#039; имеется на всех ОСях начиная с ХР.</p>]]></description>
			<author><![CDATA[null@example.com (mozers)]]></author>
			<pubDate>Wed, 05 Apr 2017 10:01:34 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114615#p114615</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114608#p114608</link>
			<description><![CDATA[<p>Вопрос про ОС неправильный. Речь должна идти о версиях и SP одной ОС.<br />На XP+ без сноса IE или блокировки выполнения ActiveX (в т.ч. выборочно через реестр) всё должно работать.<br />Разве что 6 можно заменить на 3 или 4, если её нет на XP с пакетом не новее SP2.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Wed, 05 Apr 2017 05:20:10 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114608#p114608</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114607#p114607</link>
			<description><![CDATA[<p>Прекрасно. Но есть вопрос. А будет ли работать этот скрипт во всех операционных системах?</p><p>Я имею ввиду, существует ли <strong>XMLHTTP</strong> - интерфейс в системах, начиная с ХР, и кончая 10-ой.<br />Или это зависит от комплектации и сервиспаков?<br />Также, я знаю, что объект <strong>htmlfile</strong> не везде поддерживается.</p>]]></description>
			<author><![CDATA[null@example.com (Parazit)]]></author>
			<pubDate>Wed, 05 Apr 2017 02:32:30 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114607#p114607</guid>
		</item>
		<item>
			<title><![CDATA[Re: AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114595#p114595</link>
			<description><![CDATA[<p>Допустим (так же на других языках):</p><div class="codebox"><pre><code>$Title = &#039; Получить заголовок по URL&#039;
$URL = StringStripWS(InPutBox($Title, &#039;Введите URL-адрес:&#039;, _
&#039;http://forum.script-coding.com&#039;,&#039;&#039;, 300, 136), 7)
If $URL = &#039;&#039; Then Exit

$HTTP = ObjCreate(&#039;MSXML2.XMLHTTP.6.0&#039;)
$HTTP.Open(&#039;GET&#039;, $URL, false)
$HTTP.Send

With ObjCreate(&#039;htmlfile&#039;)
  .DesignMode = &#039;on&#039;
  .Write($HTTP.ResponseText)
  .Close
  MsgBox(0,&#039;&#039;, .Title, $Title)
EndWith</code></pre></div><p>Либо находим гуглом <a href="https://www.autoitscript.com/forum/topic/144662-inetget-get-file-name-from-http-header/#comment-1020414">такое</a>.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Tue, 04 Apr 2017 16:33:58 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114595#p114595</guid>
		</item>
		<item>
			<title><![CDATA[AutoIt: Получить заголовок страницы в Интернете]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=114588#p114588</link>
			<description><![CDATA[<p>Привет. Такая задача.<br />Надо получить заголовок страницы, которая расположена на удалённом сервере.<br />Т.е., надо получить текст между тэгами &lt;TITLE&gt;.<br />С помощью каких <strong>встроенных</strong> функций можно такое сделать?</p>]]></description>
			<author><![CDATA[null@example.com (Parazit)]]></author>
			<pubDate>Tue, 04 Apr 2017 09:44:35 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=114588#p114588</guid>
		</item>
	</channel>
</rss>
