![]() |
![]() ![]() |
![]() |
-Gość- |
![]()
Post
#1
|
Goście ![]() |
Czy istnieje jakiś sposób, żeby sprawdzić domain authority (np. w PHP lub jakimś innym języku)?
|
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 308 Pomógł: 13 Dołączył: 31.10.2008 Ostrzeżenie: (0%) ![]() ![]() |
Np. http://moonsy.com/domain_authority/ + Curl
|
|
|
-Gość- |
![]()
Post
#3
|
Goście ![]() |
^^ To dobry pomysł.
Tak z ciekawości, pytanie w jaki sposób obliczają to na stronie http://moonsy.com/domain_authority? (IMG:style_emoticons/default/smile.gif) |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 859 Pomógł: 177 Dołączył: 29.10.2009 Ostrzeżenie: (0%) ![]() ![]() |
api google chyba (IMG:style_emoticons/default/smile.gif)
|
|
|
-Gość- |
![]()
Post
#5
|
Goście ![]() |
Użyłem gotowca:
Kod <?php include 'eyecatchup-SEOstats-ee33ea3/src/class.seostats.php';?> <form action="" method="get"> Podaj adres domeny: <input name="url"/> </form> <?php try { $url = $_GET['url']; $statystyki = SEOstats_Seomoz::Seomoz_Authority($url); echo "<pre>"; print_r($statystyki); echo "</pre>"; } catch (SEOstatsException $e) { die($e->getMessage()); } ?> ale coś się nie powiodło. Zwraca pustą tablicę: Kod Array ( [Title] => [URL] => [External Links] => [Links] => [URL Authority] => [URL mozRank] => [Subdomain mozRank] => [HTTP Status Code] => [Page Authority] => [Domain Authority] => ) Co robię źle? |
|
|
-Gość- |
![]()
Post
#6
|
Goście ![]() |
Spróbowałem użyć cURL + http://moonsy.com/domain_authority/ :
Kod $postFields['domain'] = 'onet.pl'; $postFields['qType'] = 'dA'; $postFields['Submit'] = 'CHECK'; $ch = curl_init('http://moonsy.com/domain_authority/'); curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $this->site = curl_exec($ch); echo $this->site; Do przycisku submit "CHECK" wszystko jest wyświetlane poprawnie, ale zamiast domain authority strony wyświetlany jest taki komunikat: Cytat Please enable cookies in your browser for use this tool. If you are using incognito mode please disable it for use this tool. Pierwszy raz się z czymś takim stykam. Z czego to może wynikać? |
|
|
-Gość- |
![]()
Post
#7
|
Goście ![]() |
Mam teraz taki kod:
który wygenerował plik cookie: Cytat # Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html # This file was generated by libcurl! Edit at your own risk. moonsy.com FALSE / FALSE 1358961283 domainOnly onet.pl moonsy.com FALSE / FALSE 1358961283 domainWWW onet.pl moonsy.com FALSE / FALSE 1358961283 domainURL onet.pl Niestety nadal jest ten komunikat i nie wyświetla się domain authority. Co mógłbym jeszcze zrobić, żeby to zaczęło działać? (IMG:style_emoticons/default/smile.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 15.09.2025 - 06:04 |