Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-06-22, 05:26 PM   #11
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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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:55 AM.


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