Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Coding fun

Reply
Thread Tools

Coding fun

 
 
feelsuccess@gmail.com
Guest
Posts: n/a
 
      07-13-2006
I new to html. As my first assignement i going to write some fun code.

Create a google search box. when users types in a word, returns all the
ads that google displays, therefore no search result.

I having so much trouble doing that

Can someone help me

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      07-14-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> I new to html. As my first assignement i going to write some fun code.
>
> Create a google search box. when users types in a word, returns all the
> ads that google displays, therefore no search result.


HTML is a data format, for that sort of thing you want to do you need to
send a HTTP request to Google, get the document back, parse it and extract
the bits you want, then use that data to create a new document.

HTML alone can't do it.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Owning
Guest
Posts: n/a
 
      07-14-2006
So what language do i need to do such a thing easily?

 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      07-14-2006
Owning wrote:

> So what language do i need to do such a thing easily?


Pretty much anything that runs outside a browser. Perl, Python, Ruby, PHP,
VBScript, etc.

If you want the results in a webbrowser then you'll need to run it in a
fashion that a webserver can read and pass on to the browser (so CGI,
mod_perl, mod_php, ASP, etc).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Andy Dingley
Guest
Posts: n/a
 
      07-14-2006

(E-Mail Removed) wrote:
> I new to html. As my first assignement i going to write some fun code.


This is too much for a first assignment. It's about your 3rd (minimum)

For your 1st assignment, learn some static HTML.

> Create a google search box. when users types in a word, returns all the
> ads that google displays, therefore no search result.


You can do this for your 2nd assignment by writing a HTML <form> that
submits a query to Google, then Google returns its normal page. This
would be a good assignment


For the 3rd (which is quite adventurous) you can search Google itself
for some details on AJAX and Google's own toolkits for doing this.
It's _very_ complex stuff, but they do describe it well and you can
probably find suitable examples.

You don't need to write server-side code for this example, you can do
it with the very latest of client-side Web 2.0 coding techniques.
You'll learn a lot, but it does have disadvantages (won't work on
machines with JavaScript turned off).

 
Reply With Quote
 
Owning
Guest
Posts: n/a
 
      07-14-2006
There already codes that submit query to google and return result is
ads with search result. I want to removed the search results and
collects ads into. The collected ads then display varies display
formats

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT Thursday, uh, fun, yeah, fun! Consultant MCSE 17 02-10-2007 03:39 AM
3 PIX VPN questions - FUN FUN FUN frishack@gmail.com Cisco 3 03-16-2006 02:25 PM
OT: Wednesday follow-up-to-Tuesday-Fun Fun Ken Briscoe MCSE 0 07-14-2004 01:41 PM
Programming is not as much fun/more fun than it used to be. Andy Fish Java 65 05-18-2004 08:24 PM
Fun fun fun Luke Computer Support 3 10-07-2003 03:45 PM



Advertisments