Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-06-22, 04:02 PM   #1
Verbal
Verbal prefers 56K
 
Verbal's Avatar
 
Join Date: Sep 2003
Location: Chicago, IL
Posts: 563
Send a message via ICQ to Verbal
Quote:
Originally Posted by Greenguy
Re-read my entire post my friend
Ah, I just re-read it and noticed I've totally overlooked your point (and a good one). So I have to agree with you, the freesite link-checker would certainly be a bitch to code without some sort of crazy limits on where it goes and stores. I would sure hate to code this thing.

Now I'm interested in how Swedguy has implemented this so that it works so well.
__________________
Verbal
Verbal is offline   Reply With Quote
Old 2005-06-22, 05:26 PM   #2
swedguy
Vagabond
 
swedguy's Avatar
 
Join Date: Aug 2003
Posts: 2,374
Send a message via ICQ to swedguy
Quote:
Originally Posted by Verbal
Now I'm interested in how Swedguy has implemented this so that it works so well.
It's not that hard actually.

Go to the index page and fetch all links, keep all links that are 1 dir deep (works on 99% of all sites). I'll fine tune that part when I get some time over. It should be dynamic depending on how many dirs deep the original site is.

Now we have a bunch of links that the script thinks are main page links. Fetch all links on the "main" page and keep the ones that are 1 dir deep. Go to the links and see if it has links to images, if it doesn't, discard it, it's not a gallery. If it does, keep it.

Now we have an index, main, gallery and images trail that we can do whatever we want to do with

There are some other filters. But that's the basics of it.
swedguy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:45 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc