ایتنا - گوگل با توجه به اهمیت این موضوع و نیز دسترسی مناسبی که به محتوای شبکه اینترنت دارد، بتازگی سرویس جدیدی ارائه کرده که امکان جستوجو در میان وبلاگها را برای هر دو گروه تسهیل میکند.
جستوجو در میان تعداد فراوان وبلاگهای موجود در اینترنت، همواره یکی از مسائل مورد توجه کاربران این شبکه است که یا به دنبال یافتن اطلاعات و محتوای مورد نظر خود هستند، و یا در صددند محتوا و نوشتههای خود را از سریعترین راه ممکن به مخاطبینشان برسانند.
گوگل با توجه به اهمیت این موضوع و نیز دسترسی مناسبی که به محتوای شبکه اینترنت دارد، بتازگی سرویس جدیدی ارائه کرده که امکان جستوجو در میان وبلاگها را برای هر دو گروه تسهیل میکند.
مطابق این امکان، دارندگان وبلاگ با بهروز کردن نوشتههای خود، همزمان موتور جستوجوی گوگل را 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.
An XML-RPC client should construct requests with the following elements:
RPC endpoint: http://blogsearch.google.com/ping/RPC2
Method name: weblogUpdates.extendedPing
Parameters: /strong>(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>
A REST client should construct requests with the following elements:
URL: http://blogsearch.google.com/ping
Parameters:
The response will be plain-text content of either "Thanks for the ping.", if successful, or an error message.
Example:
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>
سلام. مطلب جالب و مفید ولی کمی دارای ابهام بود. آیا سرویس جدید در حال حاضر فعال است یا قرار است به زودی فعال شود؟ و اینکه کدها کجاست؟
موفق باشید.