Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Sun Dec 25, 2005 4:36 pm Reply with quote

I doubt anybody can help me with this, but what the heck? It's a slow day and you never know? Smile

I *think* I have the only functioning ' Only registered users can see links on this board! Get registered or login!' in Nukedom. It took me a while to figure out how it ticks. Having done so, the 'problem' is keeping it 'running', e.g. pulling data from various search engine results. In order to do this, you have to be able to make adjustments to the script, as result screens on these search engines will change format, from time-to-time. Really, it's no big deal, once you've got the concept down...

Anyway, last night, I ran across a site that had a script that checked Alexa for link popularity. I thought, "Cool! Let's do it!"

The basic scripting was no problem, or so I thought, For instance:
Only registered users can see links on this board! Get registered or login!

...pulls results for Ravens PHP Scripts.

However, when I went to do 'the magic', this is what I was confronted with:

Code:
<div align="left">

<span class="body">Sites&nbsp;                            
                                                      1
                                                    -
                                                      10
                                                                              of
                                                      16
                                                   &nbsp;linked to&nbsp;</span><span class="bodyBold">ravenphpscripts.com:</span>
</div>

Obviously, and intentionally, you cannot do jack diddly with this. So, I tried a different route:
Only registered users can see links on this board! Get registered or login!

This was better:

Code:
<b>Other sites that link to this site:</b>&nbsp;             <a href="http://www.alexa.com/data/ds/linksin?q=link:ravenphpscripts.com/&amp;url=ravenphpscripts.com">

<!--Did you know? Alexa offers this data programmatically.  Visit http://webservices.amazon.com/ for more information about the Alexa Web Information Service.-->16</a>


It gave me something I could work with. It was simple matter of taking:

Code:
Service.-->

...and counting foward 10 characters. The only problem was, this pulls the first instance which gives you (in Raven's case) 57,974 instead of 16.

At that point, I thought I might as well do it the right way and contact:
Only registered users can see links on this board! Get registered or login!

...per their comments, but that link simple errors out!

Sooooo, does anybody know what's up with webservices.amazon.com?

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Dec 25, 2005 4:47 pm Reply with quote

type this in google search ?

site:webservices.amazon.com
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Dec 25, 2005 6:19 pm Reply with quote

VinDSL, what timing! I released a beta version of Only registered users can see links on this board! Get registered or login! which includes a link popularity checker in it, among other things. It looks at 5 of the top search engines and parses the number of links. Unfortunately, when Google switched to it's new approach, the link:nukeseo.com search no longer returned results. I noticed tonight, however, that it seems to be working again.

How does your tool work? Would you consider allowing it to be included in nukeSEO, with full credit, of course?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Sun Dec 25, 2005 11:35 pm Reply with quote

There is at least one alexa stats module out there - would a glimpse at the code in there be of any help?
If so I can send you what I use.
 
View user's profile Send private message Send e-mail
VinDSL
PostPosted: Thu Dec 29, 2005 12:08 am Reply with quote

WoW! This is weird!!!

I thought this site had been 'down' for a few days, but I checked it from work, and there it was...

When I got home just now, I tried it again, and still nothing...

At that point, I did a trace route, and here's what I got:

Code:
Microsoft(R) Windows DOS

(C)Copyright Microsoft Corp 1990-1999.

C:\>tracert ravenphpscripts.com
Unable to resolve target system name ravenphpscripts.com


So, I tried a nslookup:

Code:
Microsoft(R) Windows DOS

(C)Copyright Microsoft Corp 1990-1999.

C:\>nslookup
Default Server:  who.cybertrails.com
Address:  162.42.150.33

> ravenphpscripts.com
Server:  who.cybertrails.com
Address:  162.42.150.33

*** who.cybertrails.com can't find ravenphpscripts.com: Server failed


So, I tried another nslookup -- and another -- and another -- until I found a DNS server that recognized this place:

Code:
Microsoft(R) Windows DOS

(C)Copyright Microsoft Corp 1990-1999.

C:\>nslookup
Default Server:  cybertrails.com
Address:  162.42.150.33

> ravenphpscripts.com
Server:  cybertrails.com
Address:  162.42.150.33

*** cybertrails.com can't find ravenphpscripts.com: Server failed
> server 4.2.2.1
Default Server:  vnsc-pri.sys.gtei.net
Address:  4.2.2.1

> ravenphpscripts.com
Server:  vnsc-pri.sys.gtei.net
Address:  4.2.2.1

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to vnsc-pri.sys.gtei.net timed-out
> server 209.48.2.11
Default Server:  NS.AUTONO.NET
Address:  209.48.2.11

> ravenphpscripts.com
Server:  NS.AUTONO.NET
Address:  209.48.2.11

Non-authoritative answer:
Name:    ravenphpscripts.com
Address:  207.210.70.117

> exit

C:\


Finding a DNS that worked for 'ravenphpscripts.com', I changed my network setting in W2K, and here I am... finally... Smile

Did you change registrars or something, Raven?
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Dec 29, 2005 12:29 am Reply with quote

Did you do a ipconfig /flushdns? Aytime something weird like that happens, that's usually the problem. Your home PC had my old IP cached. I changed IP's.
 
View user's profile Send private message
VinDSL
PostPosted: Thu Dec 29, 2005 12:36 am Reply with quote

kguske wrote:
How does your tool work? Would you consider allowing it to be included in nukeSEO, with full credit, of course?

Yes, that would be fine, but I'm busier than a one-armed wallpaper hanger right now...

And, yes, Google works fine with the script I'm using! It uses a SOAP method:
Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login!

..to exchange info with Google Web APIs:
Only registered users can see links on this board! Get registered or login!

Maybe I can send you this, after the New Year, and you can see what you think... Wink
 
VinDSL
PostPosted: Thu Dec 29, 2005 12:49 am Reply with quote

Raven wrote:
Did you do a ipconfig /flushdns? Aytime something weird like that happens, that's usually the problem. Your home PC had my old IP cached. I changed IP's.

Hrm...

No, I didn't flush my cache, but it's not unusual for my ISP to take a while to update their zone files. They used to be horrible about it, in the last century. I used to have to call Cybertrails, and kick them in their Cyberbuttes 'cause they only updated their files every couple of weeks... ROTFL

Anyway, I don't know when you made 'the switch', but perhaps the changes are still propagating. Whatever! I'm kicking my own butt for not realizing something was going on sooner...
 
VinDSL
PostPosted: Thu Dec 29, 2005 12:55 am Reply with quote

Guardian2003 wrote:
There is at least one alexa stats module out there - would a glimpse at the code in there be of any help?
If so I can send you what I use.

Yes, that would be fine too!

If you could send me a link, or whatever, I'll take a look at it after New Years...

Thanks! Smile
 
Raven
PostPosted: Thu Dec 29, 2005 1:06 am Reply with quote

VinDSL,

The change was made on 12/6.
 
VinDSL
PostPosted: Thu Dec 29, 2005 1:22 am Reply with quote

Raven wrote:
VinDSL,

The change was made on 12/6.

GULP! WHAT?

Well, go do a lookup for yourself, and see what kind of results you get... I'd be curious!

The IP for my ISPs primary DNS (in Arizona) is 162.42.150.33

The 4.2.2.1 DNS is actually in Colorado (and typically very accurate).

The server I'm using right now (209.48.2.11) resides in Virginia...

BTW, this started locally on 12/26
 
Raven
PostPosted: Thu Dec 29, 2005 1:30 am Reply with quote

Only registered users can see links on this board! Get registered or login!

I tried several others and they all check out.
 
VinDSL
PostPosted: Thu Dec 29, 2005 1:57 am Reply with quote

Yeah, I was talking about doing one from a Windows CLI. For instance:

Code:


C:\>nslookup
Default Server:  NS.AUTONO.NET
Address:  209.48.2.11

> ravenphpscripts.com
Server:  NS.AUTONO.NET
Address:  209.48.2.11

Non-authoritative answer:
Name:    ravenphpscripts.com
Address:  207.210.70.117

> ravenphpscripts.net
Server:  NS.AUTONO.NET
Address:  209.48.2.11

Name:    ravenphpscripts.net
Address:  207.210.70.117

> lenon.com
Server:  NS.AUTONO.NET
Address:  209.48.2.11

Non-authoritative answer:
Name:    lenon.com
Address:  69.73.147.61

> lenon.info
Server:  NS.AUTONO.NET
Address:  209.48.2.11

Name:    lenon.info
Address:  69.73.147.61

> server who.cybertrails.com
Default Server:  who.cybertrails.com
Address:  162.42.150.33

> ravenphpscripts.com
Server:  who.cybertrails.com
Address:  162.42.150.33

*** who.cybertrails.com can't find ravenphpscripts.com: Server failed
> ravenphpscripts.net
Server:  who.cybertrails.com
Address:  162.42.150.33

*** who.cybertrails.com can't find ravenphpscripts.net: Server failed
> lenon.com
Server:  who.cybertrails.com
Address:  162.42.150.33

DNS request timed out.
    timeout was 2 seconds.
Non-authoritative answer:
Name:    lenon.com
Address:  69.73.147.61

> lenon.info
Server:  who.cybertrails.com
Address:  162.42.150.33

Non-authoritative answer:
Name:    lenon.info
Address:  69.73.147.61

> exit

C:\>


In this case, I switched my default DNS to the IP in Virginia earlier, so I can get to your site from this machine, so that's what nslookup uses first -- the default DNS. As you can see, it knows where your site is, and it knows where my site is...

Then, I switched the DNS IP to my local ISP in Arizona. It cannot find your site, but it finds mine, albeit with a timeout (which isn't very encouraging).

Maybe my ISPs DNS server is jacked up. Wouldn't surprise me! Rolling Eyes

Anyway, no big deal, as long as I'm the only person in the world this is happening to. It just forces me to be a little creative... Mr. Green
 
kguske
PostPosted: Thu Dec 29, 2005 5:57 am Reply with quote

The Alexa module I use is from monkeyManv2.com, but the download doesn't exist there anymore. You can find the download Only registered users can see links on this board! Get registered or login!. I spoke with the author about including it in nukeSEO, but he said he wanted to update it first.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©