Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2007

Tip: Looking for answers? Try searching our database.

web robot

Thread view: 
dickymak@yahoo.com - 25 Oct 2007 03:08 GMT
Dear All

I need to found out all website with specific domain (like com.cn ,
org.hk) using java, but had no idea
how to do. could you pls give me some hints ?

tks in advance!
Håkan Lane - 25 Oct 2007 04:37 GMT
> Dear All
>
[quoted text clipped - 3 lines]
>
> tks in advance!

I expect this to be probably impossible. Someone else may correct me if
I am wrong, but you would need to communicate with a DNS server
and query its database for all domains on a given top domain. I don't
know if there is an API for that.

Regards.
Daniel Pitts - 25 Oct 2007 04:57 GMT
>> Dear All
>>
[quoted text clipped - 10 lines]
>
>  Regards.
I would think a registrar might have that information as well. But, I
doubt there are any free API's for Java that will get that information.

Perhaps a better approach could be suggested if you have a specific goal
in mind.  Maybe a web-crawler is what you really want.

Signature

Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>

Tris Orendorff - 26 Oct 2007 01:06 GMT
> I would think a registrar might have that information as well. But, I
> doubt there are any free API's for Java that will get that information.
>
> Perhaps a better approach could be suggested if you have a specific goal
> in mind.  Maybe a web-crawler is what you really want.

A good web-crawler to learn from is: http://www.jeffheaton.com/javabot/javaspider.shtml

Signature

Tris Orendorff
[ Anyone naming their child should spend a few minutes checking rhyming slang and dodgy sounding
names. Brad and Angelina failed to do this when naming their kid Shiloh Pitt. At some point, someone at
school is going to spoonerise her name.
Craig Stark]

Roedy Green - 04 Nov 2007 23:35 GMT
>I need to found out all website with specific domain (like com.cn ,
>org.hk) using java, but had no idea
>how to do. could you pls give me some hints ?

Such a list might be compiled by spidering the entire web.  The info
is in the databases of various search engines.  You might approach
them asking for a price quotation.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.