فناوری اطلاعات و نرم افزار

فناوری اطلاعات , نرم افزار - هوش تجاری - داده کاوی - سیستم های اطلاعاتی مدیریت - مشاوره و اجرای پروژه

فناوری اطلاعات و نرم افزار

فناوری اطلاعات , نرم افزار - هوش تجاری - داده کاوی - سیستم های اطلاعاتی مدیریت - مشاوره و اجرای پروژه

سرویس جدید گوگل

ایتنا - گوگل با توجه به اهمیت این موضوع و نیز دسترسی مناسبی که به محتوای شبکه اینترنت دارد، بتازگی سرویس جدیدی ارائه کرده که امکان جست‌وجو در میان وبلاگ‌ها را برای هر دو گروه تسهیل می‌کند.

جست‌وجو در میان تعداد فراوان وبلاگ‌های موجود در اینترنت، همواره یکی از مسائل مورد توجه کاربران این شبکه است که یا به دنبال یافتن اطلاعات و محتوای مورد نظر خود هستند، و یا در صددند محتوا و نوشته‌های خود را از سریع‌ترین راه ممکن به مخاطبینشان برسانند.

گوگل با توجه به اهمیت این موضوع و نیز دسترسی مناسبی که به محتوای شبکه اینترنت دارد، بتازگی سرویس جدیدی ارائه کرده که امکان جست‌وجو در میان وبلاگ‌ها را برای هر دو گروه تسهیل می‌کند.

مطابق این امکان، دارندگان وبلاگ با به‌روز کردن نوشته‌های خود، همزمان موتور جست‌وجوی گوگل را Ping می‌کنند تا گوگل از تازه شدن محتوای این وبلاگ مطلع گردد.
برای این منظور، گوگل کدهایی را آماده کزده تا وبلاگ‌نویسان آن را در داخل وبلاگ خود قرار دهند.

گفتنی است این سرویس برای وبلاگ‌های فارسی با توجه به شمار زیاد و تنوع فراوان، ابزار مناسبی به منظور آگاه‌سازی مخاطبان و نیز جست‌وجو در میان حجم انبوه محتوای تولید شده خواهد بود.

همچنین گوگل لیست وبلاگ‌های به‌روز شده را در یک فایل XML مخصوص ارائه می‌کند. 

برای دیدن کد گوگل و آموزش مربوطه به ادامه مطلب مراجعه کنید.

http://www.google.com/help/blogsearch/pinging_API.html 

 

The Google Blog Search Pinging Service API allows users who frequently update their blog to programmatically inform Google Blog Search about changes to their blogs. Blogging provider admins can also use this API to notify Google of changes to blogs on their platform(s). To set up automated pinging of Google Blog Search, create either an XML-RPC Client or a REST Client which sends requests as noted below. It doesn't matter which method you choose for notification; both are handled in the same way.


Setting up an XML-RPC Client

An XML-RPC client should construct requests with the following elements:

RPC endpoint: http://blogsearch.google.com/ping/RPC2
Method name: weblogUpdates.extendedPing
Parameters: (should be sent in the same order as listed below)

The XML-RPC response will contain a <struct> with two members:

Example request:


POST /RPC2 HTTP/1.0
User-Agent: request
Host: blogsearch.google.com
Content-Type: text/xml
Content-length: 447

<?xml version="1.0"?>
<methodCall>
  <methodName>weblogUpdates.extendedPing</methodName>
  <params>
    <param>
      <value>Official Google Blog</value>
    </param>
    <param>
      <value>http://googleblog.blogspot.com/</value>
    </param>
    <param>
      <value>http://googleblog.blogspot.com/</value>
    </param>
    <param>
      <value>http://googleblog.blogspot.com/atom.xml</value>
    </param>
  </params>
</methodCall>
  

Example Response


HTTP/1.1 200 OK
Connection: close
Content-Length: 451
Content-Type: text/xml
Date: Sun, 30 Sep 2001 20:02:30 GMT
Server: Apache

<?xml version="1.0"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>flerror</name>
            <value>
              <boolean>0</boolean>
            </value>
          </member>
          <member>
            <name>message</name>
              <value>Thanks for the ping.</value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodResponse>

  

Setting up a REST Client

A REST client should construct requests with the following elements:

URL: http://blogsearch.google.com/ping

Parameters:

  • name = name of blog
  • url = URL of blog
  • changesURL = URL of RSS, RDF, or Atom feed (optional)

The response will be plain-text content of either "Thanks for the ping.", if successful, or an error message.

Example:


changes.xml format

Google publishes Blog Search ping activity as an XML file to http://blogsearch.google.com/changes.xml. The changes.xml file format consists of a root <weblogUpdates> element and one or more <weblog> elements.

<weblogUpdates version="2" updated="Wed, 30 May 2006 14:10:00 GMT" count="1384779">
  <weblog name="Some Blog"
          url="http://googleblog.blogspot.com" 
          rssUrl="http://googleblog.blogspot.com/atom.xml"
          when="1"/>
  ...
</weblogUpdates>
  

<weblogUpdates> element

  • version: used to signal a major format change. Current version is 2.
  • updated: datetime in HTTP 1.0 format. This indicates when the file was last updated.
  • count: an increasing number representing the version of changes.xml. Newer versions of changes.xml always have a larger value of count.

<weblog> element

  • name: the name of the blog.
  • url: the url of the blog.
  • rssUrl: the url of the feed, rss, Atom, or otherwise.
  • when: number of seconds to subtract from the updated attribute of the weblogUpdate element in order to determine the time of the ping.

  • flerror (Boolean) set to true/1 if an error occurred
  • message (string) containing either "Thanks for the ping." (if successful) or an error message (if unsuccesful).

  • Name of site
  • URL of site
  • URL of the page to be checked for changes
  • URL of RSS, RDF, or Atom feed
  • Optional a name (or "tag") categorizing your site content. You may delimit multiple values by using the '|' character.
نظرات 1 + ارسال نظر
معظمی شنبه 4 اردیبهشت 1389 ساعت 11:24 http://nod32serial.persianblog.ir

سلام. مطلب جالب و مفید ولی کمی دارای ابهام بود. آیا سرویس جدید در حال حاضر فعال است یا قرار است به زودی فعال شود؟ و اینکه کدها کجاست؟
موفق باشید.

برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد