Re: Retrieving the source of a webpage - pls help
2009-09-04 13:14:16 GMT
To: htmlparser-user <at> lists.sourceforge.net
Sent: Monday, August 31, 2009 6:06:48 PM
Subject: Htmlparser-user Digest, Vol 35, Issue 7
Send Htmlparser-user mailing list submissions to
htmlparser-user <at> lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
or, via email, send a message with subject or body 'help' to
htmlparser-user-request <at> lists.sourceforge.net
You can reach the person managing the list at
htmlparser-user-owner <at> lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Htmlparser-user digest..."
Today's Topics:
1. retrieving the source of a webpage - pls help (Neftali Papelleras)
2. Re: retrieving the source of a webpage - pls help (Derrick Oswald)
3. How to Learn HtmlParser ? (tamizh vendan)
4. Missing tools.jar (Lee Goddard)
5. Re: Missing tools.jar (Derrick Oswald)
6. Re: Missing tools.jar (Lee Goddard)
7. html parser (semeera B)
----------------------------------------------------------------------
Message: 1
Date: Fri, 28 Aug 2009 00:43:22 -0700 (PDT)
From: Neftali Papelleras <papelleras_nef21 <at> yahoo.com>
Subject: [Htmlparser-user] retrieving the source of a webpage - pls
help
To: htmlparser-user <at> lists.sourceforge.net
Message-ID: <577379.5901.qm <at> web59611.mail.ac4.yahoo.com>
Content-Type: text/plain; charset="utf-8"
Hi Good Day,
I've been trying to look for a function in this library that can return a string of html text of a web page. I know the java.net.URLConnection can provide me with it, but it's better for me to just use a single function say getHTMLSource that returns the html text of a url.Please let me know if it's possible here and with sample code :) Thanks in advance,
Kind Regards,
nef
New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new <at> ymail and <at> rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/ph/
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Fri, 28 Aug 2009 10:47:56 +0200
From: Derrick Oswald <derrick.oswald <at> gmail.com>
Subject: Re: [Htmlparser-user] retrieving the source of a webpage -
pls help
To: htmlparser user list <htmlparser-user <at> lists.sourceforge.net>
Message-ID:
<16a839d50908280147s264abb1of313326aef5a1d3d <at> mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
You don't need a parser.
Just get the text directly:
URL url
URLConnection con;
InputStream in;
con = url.openConnection ();
con.connect ();
in = con.getInputStream()
then do what you want with the contents.
On Fri, Aug 28, 2009 at 9:43 AM, Neftali Papelleras <
papelleras_nef21 <at> yahoo.com> wrote:
> Hi Good Day,
>
> I've been trying to look for a function in this library that can return a
> string of html text of a web page. I know the java.net.URLConnection can
> provide me with it, but it's better for me to just use a single function say
> getHTMLSource that returns the html text of a url.Please let me know if it's
> possible here and with sample code :) Thanks in advance,
>
>
>
> Kind Regards,
> nef
>
> start: 0000-00-00 end: 0000-00-00
> ------------------------------
> Feel safer online. Upgrade to the new, safer Internet Explorer 8
> <http://us.lrd.yahoo.com/_ylc=X3oDMTFnNHZxc2k1BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjUEdG1fbmV0A1lhaG9vIQ--/SIG=11k7khaee/**http%3A//downloads.yahoo.com/sg/internetexplorer/>optimized
> for Yahoo! to put your mind at peace. It's free.
> Get IE8 here!<http://us.lrd.yahoo.com/_ylc=X3oDMTFnNHZxc2k1BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjUEdG1fbmV0A1lhaG9vIQ--/SIG=11k7khaee/**http%3A//downloads.yahoo.com/sg/internetexplorer/>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Htmlparser-user mailing list
> Htmlparser-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Sat, 29 Aug 2009 19:20:26 +0530
From: tamizh vendan <tamizh88 <at> gmail.com>
Subject: [Htmlparser-user] How to Learn HtmlParser ?
To: htmlparser-user <at> lists.sourceforge.net
Message-ID:
<b9850280908290650hc93914cyb732f3eb4855d3e0 <at> mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I am going to do a project based on HtmlParser. So as a first step i
suppose to learn the HtmlParser. I go through the documentation but it is
difficult keep track the context while learning through the documentation.
So could you please provide some tutorials of HtmlParser, so that i can
learn it well.. Thanks in advance..
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Sun, 30 Aug 2009 10:23:53 +0200
From: Lee Goddard <200812 <at> leegoddard.net>
Subject: [Htmlparser-user] Missing tools.jar
To: htmlparser-user <at> lists.sourceforge.net
Message-ID:
<30da21ec0908300123k1ce8c78dx768a90def7cf5314 <at> mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Sorry if this is a FAQ, I couldn't see it mentinoed on the site.
Since using HTML Parser, I've been getting the following from Maven:
"Missing artifact com.sun:tools:jar:1.6.0:system"
I've tried adding the extra build profile mentioned on the Maven FAQ
page, to no avail.
Could someone please help?
------------------------------
Message: 5
Date: Sun, 30 Aug 2009 16:43:22 +0200
From: Derrick Oswald <derrick.oswald <at> gmail.com>
Subject: Re: [Htmlparser-user] Missing tools.jar
To: htmlparser user list <htmlparser-user <at> lists.sourceforge.net>
Message-ID:
<16a839d50908300743y1d576a1ckceaae2c42140d7a6 <at> mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
The tools.jar file comes with the JDK. It's in the ext directory I think.
It's probably a version issue - it's looking for an older version of the JDK
tools than you have.
You may be able to edit the build.xml and change the version.
On Sun, Aug 30, 2009 at 10:23 AM, Lee Goddard <200812 <at> leegoddard.net> wrote:
> Sorry if this is a FAQ, I couldn't see it mentinoed on the site.
>
> Since using HTML Parser, I've been getting the following from Maven:
> "Missing artifact com.sun:tools:jar:1.6.0:system"
>
> I've tried adding the extra build profile mentioned on the Maven FAQ
> page, to no avail.
>
> Could someone please help?
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Htmlparser-user mailing list
> Htmlparser-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 6
Date: Mon, 31 Aug 2009 10:02:42 +0200
From: Lee Goddard <200812 <at> leegoddard.net>
Subject: Re: [Htmlparser-user] Missing tools.jar
To: htmlparser user list <htmlparser-user <at> lists.sourceforge.net>
Message-ID: <4A9B83A2.8050005 <at> googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Thanks - it was a version error, on my side, I think.
Derrick Oswald wrote:
> The tools.jar file comes with the JDK. It's in the ext directory I think.
> It's probably a version issue - it's looking for an older version of
> the JDK tools than you have.
> You may be able to edit the build.xml and change the version.
>
> On Sun, Aug 30, 2009 at 10:23 AM, Lee Goddard <200812 <at> leegoddard.net
> <mailto:200812 <at> leegoddard.net>> wrote:
>
> Sorry if this is a FAQ, I couldn't see it mentinoed on the site.
>
> Since using HTML Parser, I've been getting the following from Maven:
> "Missing artifact com.sun:tools:jar:1.6.0:system"
>
> I've tried adding the extra build profile mentioned on the Maven FAQ
> page, to no avail.
>
> Could someone please help?
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008 30-Day
> trial. Simplify your report design, integration and deployment -
> and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Htmlparser-user mailing list
> Htmlparser-user <at> lists.sourceforge.net
> <mailto:Htmlparser-user <at> lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> Htmlparser-user mailing list
> Htmlparser-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
------------------------------
Message: 7
Date: Mon, 31 Aug 2009 15:09:53 +0530 (IST)
From: semeera B <semeera_87 <at> yahoo.co.in>
Subject: [Htmlparser-user] html parser
To: htmlparser-user <at> lists.sourceforge.net
Message-ID: <862111.8102.qm <at> web94810.mail.in2.yahoo.com>
Content-Type: text/plain; charset="utf-8"
What is html parser ? How to create it ?
See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
End of Htmlparser-user Digest, Vol 35, Issue 7
**********************************************
Interested in growing your business? Find out how with Yahoo! Search Marketing!
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Htmlparser-user mailing list Htmlparser-user <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/htmlparser-user
RSS Feed