<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEO - HaiNH</title>
	<atom:link href="https://hainh.dev/tag/seo/feed/" rel="self" type="application/rss+xml" />
	<link>https://hainh.dev</link>
	<description></description>
	<lastBuildDate>Tue, 06 Nov 2018 11:22:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://hainh.dev/wp-content/uploads/2025/10/cropped-logomyblog-32x32.png</url>
	<title>SEO - HaiNH</title>
	<link>https://hainh.dev</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">249252746</site>	<item>
		<title>Sử dụng GeckoFx để tìm kiếm vị trí từ khóa trên google</title>
		<link>https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google</link>
					<comments>https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Tue, 06 Nov 2018 11:22:17 +0000</pubDate>
				<category><![CDATA[Lập trình ứng dụng]]></category>
		<category><![CDATA[geckofx]]></category>
		<category><![CDATA[lập trình ứng dụng]]></category>
		<category><![CDATA[SEO]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=1019</guid>

					<description><![CDATA[<p>Mình sẽ làm 1 ví dụ về việc sử dụng GeckoFx để tìm kiếm vị trí từ khóa trên google giống như ứng dụng  Phần mềm kiểm tra vị trí từ khóa trên google nhé. Về việc cài đặt thư viện thì các bạn có thể tham khảo tại đây: Sử dụng GeckoFx thay thế cho...</p>
<p>The post <a href="https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/">Sử dụng GeckoFx để tìm kiếm vị trí từ khóa trên google</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Mình sẽ làm 1 ví dụ về việc sử dụng GeckoFx để tìm kiếm vị trí từ khóa trên google giống như ứng dụng  <a href="https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/" target="_blank" rel="noopener">Phần mềm kiểm tra vị trí từ khóa trên google</a> nhé.</p>
<p>Về việc cài đặt thư viện thì các bạn có thể tham khảo tại đây: <a href="https://hainh.dev/su-dung-geckofx-thay-the-cho-webbrowser-control/" target="_blank" rel="noopener">Sử dụng GeckoFx thay thế cho webbrowser control</a></p>
<p><img fetchpriority="high" decoding="async" data-attachment-id="1020" data-permalink="https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/gecko-google-1/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1.jpg" data-orig-size="907,631" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gecko google 1" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1-300x209.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1.jpg" class="aligncenter size-full wp-image-1020" src="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1.jpg" alt="" width="907" height="631" srcset="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1.jpg 907w, https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1-300x209.jpg 300w, https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1-768x534.jpg 768w" sizes="(max-width: 907px) 100vw, 907px" /></p>
<p style="text-align: center;">Chương trình có giao diện giống như hình trên</p>
<pre class="EnlighterJSRAW" data-enlighter-language="csharp">public partial class Form1 : Form
{
  public Form1()
  {
    InitializeComponent();
    Gecko.Xpcom.Initialize(Application.StartupPath + "\\firefox");
  }

  private void Form1_Load(object sender, EventArgs e)
  {

  }

  private void btnTimKiem_Click(object sender, EventArgs e)
  {
    //Chuyển hướng đến trang google
    geckoWebBrowser1.Navigate("http://google.com.vn");
    //Thêm sự kiện để đợi trang google load xong mới nhập từ khóa
    geckoWebBrowser1.DocumentCompleted += new EventHandler&lt;Gecko.Events.GeckoDocumentCompletedEventArgs&gt;(geckoWebBrowser1_NhapTuKhoa);
  }

  //Sự kiện trang google load xong và nhập từ khóa
  void geckoWebBrowser1_NhapTuKhoa(object sender, Gecko.Events.GeckoDocumentCompletedEventArgs e)
  {

    //Xóa luôn sự kiện này tránh tình trạng loop
    geckoWebBrowser1.DocumentCompleted -= geckoWebBrowser1_NhapTuKhoa;

    //Tìm đối tượng text input có name là q đầu tiên
    Gecko.DOM.GeckoInputElement _input = (Gecko.DOM.GeckoInputElement)geckoWebBrowser1.Document.GetElementsByName("q")[0];
    //Gắn giá trị cho text input vừa tìm thấy với giá trị ô txtTuKhoa.text
    _input.Value = txtTuKhoa.Text;


    //Đợi trước khi bấm nút search theo số giây đã nhập trên ô txtThoiGianNgungTruocKhiSearch
    Application.DoEvents();
    System.Threading.Thread.Sleep((int)txtThoiGianNgungTruocKhiSearch.Value * 1000);

    //Submit form
    _input.Form.submit();

    //Add sự kiện chuyển trang tìm kiếm
    geckoWebBrowser1.DocumentCompleted += new EventHandler&lt;Gecko.Events.GeckoDocumentCompletedEventArgs&gt;(geckoWebBrowser1_TimViTri);

    //Reset lại vị trí và số trang
    TrangHienTai = 1;
    ViTriHienTai = 1;

  }

  private int TrangHienTai = 1;
  private int ViTriHienTai = 1;

  void geckoWebBrowser1_TimViTri(object sender, Gecko.Events.GeckoDocumentCompletedEventArgs e)
  {

    //Lấy danh sách thẻ div class g để duyệt và phân tích
    Gecko.GeckoNodeCollection arrNode = geckoWebBrowser1.Document.GetElementsByClassName("g");
    foreach (Gecko.GeckoHtmlElement item in arrNode)
    {
      //Lấy link của kết quả tìm kiếm, thẻ a nằm trong thẻ h3
      Gecko.DOM.GeckoAnchorElement _link = (Gecko.DOM.GeckoAnchorElement)item.GetElementsByTagName("h3")[0].GetElementsByTagName("a")[0];
      //So sánh với tên trang web trên kia nếu có thì đã tìm thấy vị trí
      if (_link.GetAttribute("href").ToLower().IndexOf(txtTrangWeb.Text.ToLower()) &gt;= 0)
      {

        //Cuộn đến vị trí cần xem và tạo border xung quanh nó
        item.ScrollIntoView(true);
        item.Style.CssText = "border:3px solid red;margin-top:20px;padding:15px;";
        item.InnerHtml = "&lt;h3 style='font-weight:bold;color:red;font-size:18px;'&gt;Vị trí: " + ViTriHienTai + "&lt;/h3&gt;&lt;br/&gt;" + item.InnerHtml;

        //Hiển thị vi trí kết quả và hủy sự kiện này tránh loop
        MessageBox.Show("Đã tìm thấy vị trí thứ " + ViTriHienTai + " !");
        geckoWebBrowser1.DocumentCompleted -= geckoWebBrowser1_TimViTri;
        return;
      }
      //Tăng vị trí hiện tại lên 1 nếu chưa
      ViTriHienTai += 1;
    }

    //Nếu số trang đã tới giới hạn thì thông báo không tìm thấy kết quả
    if (TrangHienTai == txtGioiHanSoTrang.Value)
    {
      MessageBox.Show("Không tìm thấy vị trí !");
      geckoWebBrowser1.DocumentCompleted -= geckoWebBrowser1_TimViTri;
      return;
    }

    //Kiểm tra có tồn tại nút Tiếp hay không
    Gecko.GeckoNodeCollection arrNodePage = geckoWebBrowser1.Document.GetElementsByClassName("fl");
    int num;
    bool isNum = Int32.TryParse(arrNodePage[arrNodePage.Length-1].TextContent, out num);
    if (isNum)
    {
      MessageBox.Show("Đã hết kết quả Search, Không tìm thấy vị trí !");
      geckoWebBrowser1.DocumentCompleted -= geckoWebBrowser1_TimViTri;
      return;
    }
    else
    {
      TrangHienTai += 1;
      ((Gecko.DOM.GeckoAnchorElement)arrNodePage[arrNodePage.Length - 1]).Click();
    }

  }
}</pre>
<p>Cùng xem kết quả nào:</p>
<p><img decoding="async" data-attachment-id="1021" data-permalink="https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/gecko-google/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google.gif" data-orig-size="1905,1015" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gecko google" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-300x160.gif" data-large-file="https://hainh.dev/wp-content/uploads/2018/11/gecko-google-1024x546.gif" class="aligncenter size-full wp-image-1021" src="https://hainh.dev/wp-content/uploads/2018/11/gecko-google.gif" alt="" width="1905" height="1015" /></p>
<p>Link mã nguồn chương trình: <a href="https://drive.google.com/open?id=0B68_ejhDXR0wUjlPWTVTRVNXNDA">https://drive.google.com/open?id=0B68_ejhDXR0wUjlPWTVTRVNXNDA</a></p><p>The post <a href="https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/">Sử dụng GeckoFx để tìm kiếm vị trí từ khóa trên google</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/su-dung-geckofx-de-tim-kiem-vi-tri-tu-khoa-tren-google/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1019</post-id>	</item>
		<item>
		<title>Phần mềm kiểm tra vị trí từ khóa trên google</title>
		<link>https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google</link>
					<comments>https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/#comments</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Wed, 24 Oct 2018 06:15:44 +0000</pubDate>
				<category><![CDATA[Dự án]]></category>
		<category><![CDATA[công cụ]]></category>
		<category><![CDATA[dự án]]></category>
		<category><![CDATA[phần mềm]]></category>
		<category><![CDATA[SEO]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=599</guid>

					<description><![CDATA[<p>Mình là 1 coder nhưng vì công việc xô đẩy nên mình đã từng làm công việc của 1 SEOer. Nhận thấy việc check 1 lượng từ khóa lớn mỗi ngày mất rất nhiều thời gian và công sức trong khi các phần mềm nước ngoài có giá rất đắt và tính năng lại không...</p>
<p>The post <a href="https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/">Phần mềm kiểm tra vị trí từ khóa trên google</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Mình là 1 coder nhưng vì công việc xô đẩy nên mình đã từng làm công việc của 1 SEOer. Nhận thấy việc check 1 lượng từ khóa lớn mỗi ngày mất rất nhiều thời gian và công sức trong khi các phần mềm nước ngoài có giá rất đắt và tính năng lại không như mình mong muốn nên mình phát triển phần mềm này để tiện cho việc quản lý và theo dõi các dự án SEO của mình.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-608" src="https://hainh.dev/wp-content/uploads/2018/10/ggrank.jpg" alt="" width="570" height="578" /></p>
<ul>
<li>Kiểm tra vị trí từ khoá google trên nhiều tên miền google, ngôn ngữ</li>
<li>Hỗ trợ kiểm tra thứ hạng trên điện thoại.</li>
<li>Không bị google bắt nhập captcha.</li>
<li>Hỗ trợ check qua proxy, web surf.</li>
<li>Báo cáo chi tiết vị trí thứ hạng theo thời gian, xem danh sách đối thủ.</li>
<li>Gợi ý từ khoá được nhiều người quan tâm.</li>
</ul>
<p>Dưới đây là một số hình ảnh tham khảo về chương trình này</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-600" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker2.jpg" alt="" width="950" height="550" /></p>
<p style="text-align: center;">Check vị trí theo máy tính hoặc theo thiết bị di động</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-601" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker3.jpg" alt="" width="766" height="489" /></p>
<p style="text-align: center;">Quản lý dự án</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-602" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker4.jpg" alt="" width="590" height="484" /></p>
<p style="text-align: center;">Cấu hình hệ thống</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-603" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker5.jpg" alt="" width="950" height="550" /></p>
<p style="text-align: center;">Xem kết quả check vị trí</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-604" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker6.jpg" alt="" width="770" height="500" /></p>
<p style="text-align: center;">Biểu đồ vị trí kết quả từ khóa</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-605" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker7.jpg" alt="" width="520" height="500" /></p>
<p style="text-align: center;">Xem danh sách đối thủ</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-606" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker8.jpg" alt="" width="700" height="501" /></p>
<p style="text-align: center;">Xem lại kết quả báo cáo, lịch sử kiểm tra</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-607" src="https://hainh.dev/wp-content/uploads/2018/10/ggrankchecker9.jpg" alt="" width="502" height="503" /></p>
<p style="text-align: center;">Gợi ý từ khóa cần kiểm tra</p>
<p>&nbsp;</p>
<p>&nbsp;</p><p>The post <a href="https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/">Phần mềm kiểm tra vị trí từ khóa trên google</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/phan-mem-kiem-tra-vi-tri-tu-khoa-tren-google/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4725</post-id>	</item>
	</channel>
</rss>
