PDA

View Full Version : سوال: نرم افزار آمارگیر



ingenuous67
یک شنبه 11 اسفند 1392, 14:20 عصر
سلام دوستان خسته نباشید
می خوام یه نرم افزار آمارگیر بنویسم.

کاری که این نرم افزار باید انجام بده اینه که یک کلمه رو بگیره و توی گوگل بگرده و رنکینگ این کلمه رو برای یه سایت خاص برگردونه.
مثلا میخوام کلمه "طراحی وب" رو بهش بدم و به من بگه که رنکینگ سایت "web-designers.com" توی گوگل واسه این کلمه چنده؟ مثلا صفحه 3 گوگل لینک پنجم
یه راهننمایی کلی واسه شروع کار میخوام.
با سپاس فراوان

us1234
دوشنبه 12 اسفند 1392, 00:26 صبح
توی پرانتز اول بگم
( وب مستر گوگل وب سرویس داره ( البته به شکل عمومی نمیتونی ازش استفاده کنی . فقط سایتهای خودت را میتونی باهاش مدیریت کنی ) )
اینکاری را که میخای انجام بدی باید بایک پارسر قوی نتایج جستجوی گوگل را آنالیز کنی

ingenuous67
دوشنبه 12 اسفند 1392, 09:49 صبح
ممنون. این پارسر رو خودم باید بنویسم؟ یکم بیشتر توضیح بدید.

us1234
دوشنبه 12 اسفند 1392, 11:22 صبح
ممنون. این پارسر رو خودم باید بنویسم؟ یکم بیشتر توضیح بدید.

نه پارسر آماده هست خیلی قوی هم هستند مثل
simple_html_dom
حتی تحت جاوا اسکریپتش هم هست . یه سرچ بزنید
html parser
و از کاملترینش استفاده کنید .

ingenuous67
دوشنبه 12 اسفند 1392, 12:17 عصر
ممنون رفیق
تستش میکنم مشکلی بود بازم مزاحمت میشم.
یا علی

ingenuous67
پنج شنبه 15 اسفند 1392, 22:04 عصر
سلام
این قضیه واسه من خیلی حیاتی شده و حتما باید انجامش بدم.
واسه شروع میخوام بدونم چطوری میشه یه صفحه بسازم که کاربر یک کلمه رو وارد کنه و بعد از کلیک دکمه سرچ کلمه مورد نظر تو گوگل سرچ بشه و نتایج گوگل رو بتونم به کاربر نشون بدم. مثلا به کاربر بگم که توی صفحه اول گوگل این نتایج حاصل شده:

page1:
About 42,500,000 results (0.37 seconds)






Search Results

jQuery (http://jquery.com/)jquery.com/‎jQuery


jQuery: The Write Less, Do More, JavaScript Library.






Download jQuery (http://jquery.com/download/)jQuery 1.10.2 and 2.0.3 - jQuery - jQuery 1.9.1 Released - ...






jQuery API Documentation (http://api.jquery.com/)Selectors - Ajax - Events - Add() - CSS - Attributes - jQuery.ajax()






More results from jquery.com » (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=+site:jquery.com+jquery&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CDgQrAM)





jQuery Tutorial - W3Schools (http://www.w3schools.com/jQuery/)www.w3schools.com/jQuery/‎W3Schools


Click on the "Try it yourself" button to see how it works. jQuery Examples. Learn by examples! At W3Schools you will find a lot of jQuery examples to edit and test ...



jQuery UI (https://jqueryui.com/)https://jqueryui.com/‎jQuery UI


jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly ...You visited this page on 3/2/14.




jQuery - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/JQuery)en.wikipedia.org/wiki/JQuery‎Wikipedia


jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. It was released in January 2006 at BarCamp NYC by John ...



jQuery Mobile (http://jquerymobile.com/)jquerymobile.com/‎jQuery Mobile


jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and ...



jQuery Foundation (https://jquery.org/)https://jquery.org/‎
Support the jQuery Foundation. The jQuery Foundation is fully supported by generous donations of time and money. You and your company can help: Donate to ...



License | jQuery Foundation (https://jquery.org/license/)https://jquery.org/license/‎
jQuery projects are released under the terms of the MIT license. The MIT License is simple and easy to understand and it places almost no restrictions on what ...







Searches related to jquery
jquery tutorial (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+tutorial&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGEQ1QIoAA)
jquery examples (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+examples&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGIQ1QIoAQ)
jquery mobile (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+mobile&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGMQ1QIoAg)
jquery google (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+google&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGQQ1QIoAw)

jquery ajax (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+ajax&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGUQ1QIoBA)
jquery tabs (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+tabs&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGYQ1QIoBQ)
jquery cdn (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+cdn&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGcQ1QIoBg)
jquery document ready (https://www.google.com/search?client=firefox-a&hs=0tz&rls=org.mozilla:en-US:official&channel=sb&q=jquery+document+ready&revid=649243746&sa=X&ei=U8YYU6S6DMGOtQa-oYGoDQ&ved=0CGgQ1QIoBw)

ingenuous67
یک شنبه 25 اسفند 1392, 19:56 عصر
سلام دوستان
من کد به دست آوردن نتایج گوگل رو پیدا کردم.
اما مشکل اینجاست که نتایج موردنظر با نتایج واقعی گوگل متفاوته.
کسی می تونه به من کمک کنه؟
این هم سورس کدم:
[LTR_INLINE][LTR_INLINE][LTR_INLINE]
<script src="https://www.google.com/jsapi"
type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
//<!
google.load('search', '1');

function OnLoad() {
// Create a search control
var searchControl = new google.search.SearchControl();

// Add in a full set of searchers
var localSearch = new google.search.LocalSearch();
searchControl.addSearcher(localSearch);
searchControl.addSearcher(new google.search.WebSearch());
/*searchControl.addSearcher(new google.search.VideoSearch());

*/

// Set the Local Search center point
localSearch.setCenterPoint(36.28759462306131,59.61 576461791992);

// tell the searcher to draw itself and tell it where to attach
searchControl.draw(document.getElementById("searchcontrol"));

// execute an inital search
searchControl.execute("کلرسنج");
}
google.setOnLoadCallback(OnLoad);

//]]>
</script>
</head>
<body>
<div id="searchcontrol">Loading</div>
</body>