Click to See Complete Forum and Search --> : automated searching


droe
01-28-2005, 09:45 PM
Hello,

I am trying to find a way of having a browser perform the following tasks:

1. Open a page, for example http://www.mypage.com/index1

2. Search for a keyword on that page.

3. Open the next incremented page, for example http://www.mypage.com/index2

4. Search for the (same) keyword

5. Continue on in the same vein, opening index3, 4, 5...,9999 searching each one for the same keyword and logging the pages it finds it on.

Is this at all possible? Obviously, I have no clue about writing scripts or applets, so any help would be much appreciated!

If there is a forum more suitable for this post, please let me know! All comments, suggestions, flames, and death threats are welcomed.

Thanks!

PeOfEo
01-28-2005, 11:36 PM
Yes, it would be possible with some javascript, but why would you want to do this?

droe
01-31-2005, 09:01 PM
Thanks for the reply! This is needed to search a database at school. In our class, students create a webpage on a server and give it a specified URL that ends with a number between 0 and 9999. When a student publishes content and assigns it to a number that already is in use, the existing content is moved to a new randomly selected number.

This problem has since been corrected but my content is still in an unknown location. The instructor does not have access to search the area and advised that I do it manually, which of course would take quite a while. Any ideas?

PeOfEo
01-31-2005, 10:24 PM
Yes, use of a database for all website content. This is a more efficient way to store the data and you can just use the server to search the database (via a server side language). You then has a lot more options as far as search algorythms go since your db is basically a huge array (well if we over simplify a db it is an array).

droe
02-01-2005, 12:06 AM
OK, you lost me there, but can you tell me how I could go about doing the task I mentioned in my original post? Remember, I'm out of there when it comes to writing code

Thanks!