www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > HTML

    HTML Discussion and technical support for building, using and deploying HTML sites.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 01-23-2004, 09:25 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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
    Reply With Quote
      #2  
    Old 01-23-2004, 09:42 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #3  
    Old 01-23-2004, 09:47 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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
    Reply With Quote
      #4  
    Old 01-23-2004, 09:52 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    Re: DaveSW

    Quote:
    Originally posted by martinbsp
    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.
    Google free site search is not limited to 10 words and will search any number of domains. However, you must register to access this service

    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
    Reply With Quote
      #5  
    Old 01-23-2004, 09:54 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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
    Reply With Quote
      #6  
    Old 01-23-2004, 09:56 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #7  
    Old 01-23-2004, 09:59 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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.
    Reply With Quote
      #8  
    Old 01-23-2004, 10:02 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    DaveSW

    Dave

    now you know how it works do you know how to answer my original question?

    Thanks

    Martin
    Reply With Quote
      #9  
    Old 01-23-2004, 10:08 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #10  
    Old 01-23-2004, 10:09 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #11  
    Old 01-23-2004, 10:12 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    DaveSW

    If you understand that bit of code you just need to cut it to give you that.
    Reply With Quote
      #12  
    Old 01-23-2004, 10:17 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #13  
    Old 01-23-2004, 10:22 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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.
    Reply With Quote
      #14  
    Old 01-23-2004, 11:01 AM
    DaveSW's Avatar
    DaveSW DaveSW is offline
    Registered User
     
    Join Date: Feb 2003
    Location: Wales, UK
    Posts: 3,183
    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
    Reply With Quote
      #15  
    Old 01-23-2004, 11:04 AM
    martinbsp martinbsp is offline
    Registered User
     
    Join Date: Jan 2004
    Posts: 24
    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
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    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 Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 10:00 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.