473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Extract part of html page

I'm trying to write a widget for Mac OSX Tiger. Here's the problem: The
user enters a search term which is sent to a perl script on a remote
server. This script returns a fully formatted HTML page. I only want
part of that page to be displayed. How do I go about doing this?

I'm a newbie when it comes to javascript.....
Kev

Jul 23 '05 #1
2 1833
Kevin Morgan wrote:
I'm trying to write a widget for Mac OSX Tiger. Here's the problem: The
user enters a search term which is sent to a perl script on a remote
server. This script returns a fully formatted HTML page. I only want
part of that page to be displayed. How do I go about doing this?

I'm a newbie when it comes to javascript.....
Kev


Hi Kev,

If you receive a fully formatted HTMLpage, then what?
Javascript will not be of any help here.

You need a serverside solution, not a clientside solution.

Try PHP or Perl, or VBscript.

Good luck.

Regards,
Erwin Moller
Jul 23 '05 #2
Erwin Moller wrote:
Kevin Morgan wrote:
I'm trying to write a widget for Mac OSX Tiger. Here's the problem: The
user enters a search term which is sent to a perl script on a remote
server. This script returns a fully formatted HTML page. I only want
part of that page to be displayed. How do I go about doing this?
[...]
[...]
If you receive a fully formatted HTMLpage, then what?
Javascript will not be of any help here.

You need a serverside solution, not a clientside solution.


Entirely false. XMLHTTPRequest would be a viable approach
here, provided that the mentioned UA supports it.
Try PHP or Perl, or VBscript.


Any of these languages may be used client-side as well,
as J(ava)Script may be used server-side as well.
PointedEars
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Logical | last post by:
I wanted to do: include('page.htm?id=12&foo=bar'); But since I can't (and don't want to make another seperate HTTP request with include('http://...')); I was wondering if there's a function...
4
by: David Chang | last post by:
I am trying to do some analysis on customer's locality, so I'd like to extract numeric part from address. Here is how the table looks like Table Member first_name last_name address1 ...
4
by: jrefactors | last post by:
How to extract data from html page? For example, if i want to get the information of weather (http://weather.yahoo.com/forecast/USCA1005.html) and put in my web page. Is it possible to do that? ...
3
by: Joe | last post by:
I'm trying to extract part of html code from a tag to a tag code begins with <span class="boldyellow"><B><U> and ends with TD><TD> <img src="http://whatever/some.gif"> </TD></TR></TABLE> I was...
7
by: A Causal | last post by:
I'm an experienced C programmer, but I have never worked with any sort of internet programming. I would like to write a program to search for certain character strings in a currently displayed web...
3
by: Robot | last post by:
Dear all, I need to create a script which will extract the contents of 2 cells of an html that contains a specified number of cells.Then I need to put that contents in another cells of my own html...
7
by: Ulysse | last post by:
Hello, I'm trying to extract the data from HTML table. Here is the part of the HTML source : """ <tr> <td class="tdn" valign="top"> <input name="x44553130" value="y" type="checkbox"></td>...
9
by: flit | last post by:
Hello All, Using poplib in python I can extract only the headers using the .top, there is a way to extract only the message text without the headers? like remove the fields below: "...
18
by: Ecka | last post by:
Hi everyone, I'm trying to write a PHP script that connects to a bank's currency convertor page using cURL and that part works fine. The issue is that I end up with a page that includes a lot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.