Bill Thompson

Greenhorn
+ Follow
since Jul 24, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bill Thompson

I an new to java.
I am new to eclipse.
What does lined-out content mean:

This is from eclipse. If you notice, the icons that indicate the folders in the he project explorer have strange black boxes in them. I am not talking about the areas where I have blocked out places in this graphic. I mean the appearance of the symbol inside the icons here


What causes this.
Hello Forum!

I have inherited some code that is supposed to work just fine.

The trouble is that when everything is rebuilt on my desktop, the projects crash.

They all seem to crash at one particular part of code.

I pass it a string and the "getResource" or "getContentClassLoader" is failing.

Any ideas?

9 years ago

Jeanne Boyarsky wrote:Bill,
Yes, it is done via JavaScript. Facebook does something similar. When you scroll down (or click show posts), it uses AJAX to fetch more data and paint it at the bottom of the page.

Why do you want to scrape Yandex specially? I ask because google provides an API for programmatic searching.



Each search engine provides a slightly different set of results. I have found that if you do not use multiple search engines, you will miss out. Google has results that Bing does not have and Yandex has results that Google and Bing do not have.

Over time, I have gotten tired of cutting from the content of browsers and pasting into word processors for my records. So I decided to write a program.

I have figured out how a can modify the URL for yandex to go to different pages. I was able to use yandex by using a "&p=" to navagate to a particular page.

The duckduckgo search engine does not work this way, though.

So far, I can programmatically get all the search results of 7 search engines. I want to get the content from a duckduckgo search engine next. But, like yandex, it too uses AJAX to get content without changing the URL to be different from the search results page.

I have asked the duckduckgo people and they have not been helpful. I was suprised. They do not want people to have the ability to take content from their search results. Their response did not make a lot of sense. I asked them what sets them apart from other search engines who have a different business model where they actually welcome users to programmaticaly take content. In fact, that is exactly what a meta search engine is. They have yet to respond.

But, as I think of this, their approach of being secretive is not in line with the spirit of the interent. All HTML pages can be read. And I think they are actually abusing what AJAX is intended to do. AJAX does not exist so that people can be secretive and hide things.

Either I will just pass on including duckduckgo in my list of search engines, or I will go ahead and find a way to decipher the AJAX from their HTML page. Or I will do both. Since I am doing all this for my own private use, I will maybe do both.

This shouldn't be rocket science. I am able to see the HTML code. Shouldn't there be some sort of AJAX tag in the HTML that I can find to make use of?

the HTML content of duckduckgo does not have the HTML tags that I expect from AJAX, namely XMLHttpRequest and XMLHTTP.



How do I get search engine results programatically? Some search engines use AJAX to display content and so the URL does not change. This makes it difficult to get result content from a search engine programatically.

Most search engines do not use AJAX. But two popular ones that I am interested in is YANDEX and DUCKDUCKGO. Both of these search engines use AJAX to advance beyond the first page of results. How do I find a way to programatically access these pages?

How does Yandex do its trick?

I want to programatically get the contents of a Yandex.com search result.

The proglem is that a search page url does not change when you do a search on yandex.com and advance to see more pages. It must be done somehow by javascript. Any ideas?
This might be too far outside of the Java world.

But I figure it cannot hurt to ask...

Does anyone know how to declare Manifest Files in the Visual Studio IDE for C#?

I followed the steps outlined here for including a manifest file:
http://support.microsoft.com/kb/944276
Does it matter if the manifest file is in the directory where the
source code is or should it be in the directory where the executable
code is?

Someone has suggested I set BuildAction to "Embedded Resource". But I cannot find where this is set in the properties. Can you? In which panel is the BuildAction?

http://i67.photobucket.com/albums/h292/Athono/CSharp015.png
http://i67.photobucket.com/albums/h292/Athono/csharp016.png
http://i67.photobucket.com/albums/h292/Athono/csharp017.png
http://i67.photobucket.com/albums/h292/Athono/CSharp018.png
http://i67.photobucket.com/albums/h292/Athono/csharp019.png
http://i67.photobucket.com/albums/h292/Athono/csharp020.png

It seems there is more than one way to use Manifest Files with C#. I would like to know them all.
16 years ago
I don't know where else to post these questions. There is an overwhelming section of all the different certifications. Can someone give me an overview of them.

What sort of certifications are there for Java?
Who conducts the examinaitions?
What is the best why to study for them?
Does anyone have one?
Has it changed your life if you do get one?

I stumbled upon this link:
http://www.sap-img.com/java/java-books.htm
Do you think these are good suggestions?

By the way, it has been a long time since I last visited this forum. It sure has grown a lot. And I noticed the moose gif is fixed.
17 years ago