|
|||||||
| HTML Discussion and technical support for building, using and deploying HTML sites. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Searching multiple domains with Alltheweb
For some time now I've been looking for a way to search from a specified group of websites (added to on a continuous basis by myself) using the 'live' database of one of the search engines.
I've now found a way of doing this a post on Erik Benson's website - he pointe out that Alltheweb.com allows the searching of an unlimited number of multiple domains at the same time: http://alltheweb.com/search?q=[vti]&advanced=1&dincl=imeche.org.uk+cetr.com+vti-europe.org What I want to be able to do is incorporate a version of the above code into a standard "Alltheweb.com" search box. I will manually add domains to the above line as I find them, all I want the end user to be able to do is search within them via a standard search box. Here's the code for the "Alltheweb.com" search box: <form action="http://www.alltheweb.com/search" method="get"> <p><img src="http://www.alltheweb.com/g/atwlogo_small.gif" width="94" height="16" alt="AlltheWeb :: find it all" /><input name="q" size="30" /> <input name="cat" type="hidden" value="web" /> <input name="charset" type="hidden" value="selected" /><input type="submit" value="Web Search" /></p> </form> More versions can be found at: http://alltheweb.com/help/webmaster/add_to_site I'm not a programmer so this is beyond me. Is the above a fairly simple process and, if so, would someone be able to post some code up for me? Thanks |
|
#2
|
||||
|
||||
|
I don't know if you can do that with all the web but google definitely does.
http://www.google.com/services/free.html If you register for more free services then you can add multiple domain names, co-branded.
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#3
|
|||
|
|||
|
DaveSW
Dave
I think you might have missed my point... I want to search more than one domain of my own choosing AT THE SAME TIME through a search engine. Google will not allow me to do that as it's limited to 10 words. Alltheweb and Yahoo do allow this, so for example if you cut and paste http://alltheweb.com/search?q=[vti]&advanced=1&dincl=imeche.org.uk+cetr.com+vti-europe.org into Explorer, you will get all the results for the keyword "vti" from the domains imeche.org.uk, cetr.com and vti-europe.org See my previous post. Thanks |
|
#4
|
||||
|
||||
|
Re: DaveSW
Quote:
read the bottom of this page: http://www.google.com/searchcode.html
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#5
|
|||
|
|||
|
DaveSW
BUT it won't let me search only the domains specified by me at the same time.
It will let me search as many domains as I choose one by one, but not all together at the same time. So it doesn't do what Alltheweb.com can |
|
#6
|
||||
|
||||
|
Viewing the page you link to it only shows results on vti-europe.org for me.
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#7
|
|||
|
|||
|
DaveSW
First of all, make sure you copy the whole of the link.
Now, replace the word vti in the [ ] with the word "Tribology" and you'll find you get results from all the pages. |
|
#8
|
|||
|
|||
|
DaveSW
Dave
now you know how it works do you know how to answer my original question? Thanks Martin |
|
#9
|
||||
|
||||
|
I'll experiment with it.
Sec
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#10
|
||||
|
||||
|
Do you have an example with one domain in it?
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#11
|
|||
|
|||
|
DaveSW
If you understand that bit of code you just need to cut it to give you that.
|
|
#12
|
||||
|
||||
|
I fully understand the piece of code. However, that is for the simple web search. To change that to give the output you want I really need the code for their advanced search that searches one site.
The other alternative might be to write a piece of javascript that simply takes the search string and adds in the extra end part of the url.
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#13
|
|||
|
|||
|
DaveSW
Hi Dave
I actually only need their simplist search functionality, i.e. searching for one keyword at a time only. Once the search has been done I can use the "Search within results" option at the bottom of the results page to progressively narrow down the search. Hope this helps. |
|
#14
|
||||
|
||||
|
do you have php support on your server?
__________________
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics. Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research |
|
#15
|
|||
|
|||
|
DaveSW
Dave
I have absolutely no idea. Would I need it? Could I not just stick up a normal webpage with the box on? Sorry, I'm not technical so these questions might seem a bit daft. Any chance I could give you a call about this? Thanks Martin |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|