Neftali Papelleras | 4 Sep 2009 15:14
Picon
Favicon

Re: Retrieving the source of a webpage - pls help

Yes, that's what I did. I was able to extract the source with the use of URLConnection class in Java. However, I think the HtmlParser still needs this content to begin with for parsing, so I went on tracing where the actual capturing of contents happened so I can just use that and modify some codes a little that will return just the content in String format.

From: "htmlparser-user-request <at> lists.sourceforge.net" <htmlparser-user-request <at> lists.sourceforge.net>
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
Elbert Xutjimq | 7 Sep 2009 23:42
Picon

[SPAM] Love is all I seek

About | Blog | Forums | Search Topics | Ratings & Stats | View Online

Love Experts
Your mind wants more of her. But your body says: "Hey, I'm tired!"

Bad situation anyway. To avoid it you need to strengthen your masculinity with the help of our special supplements. Best discounts and free pilules this week only!

Your personal discount code is: D7582F91216D-htmlparser-user <at> lists.sourceforge.net

» Print this article   » E-mail a colleague   » Post a comment    » Visit us

Send us Feedback | Technical Questions or Bug Reports | Legal Notices, Licensing, Reprints & Permissions | Privacy Policy

Opaakecql Interactive Marketing LLC. 2009 All rights reserved.

How to Advertise | Contact Us | Subscribe to Newsletters

Click here to update your profile or unsubscribe.
------------------------------------------------------------------------------
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
Caryn Mysq | 12 Sep 2009 14:45
Picon

Cleanout time

 
BioPharm Bulletin:
Having trouble viewing this e-mail? Click here.
You are subscribed to biop_enews_bulletin as htmlparser-user <at> lists.sourceforge.net.
Unsubscribe from this list.
 

September 2009

News

Why do our products are so popular among men?
We often see testimonials that describe the feeling of primeval power, returned self-respect and worship of satisfied women. Men like these products not only for rock-like "woody", but also for advantages if life you gain because of this condition. Try now and you will like it too!


(c) 2009, Advanstar Communications, Inc.
224 Phillip Morris Drive, Suite 402
Salisbury, MD 21804
You are subscribed to biop_enews_bulletin as htmlparser-user <at> lists.sourceforge.net. To unsubscribe from this list click here.

To ensure delivery to your Inbox, please add our email address to your address book. If you need help doing this, click here.

Advanstar Communications provides certain customer contact data (such as customers' names, addresses, phone numbers and e-mail addresses) to third parties who wish to promote relevant products, services and other opportunities which may be of interest to you. Contact us by mail at Advanstar Communications Inc., 131 West First St., Duluth, MN 55802-2065, USA.

------------------------------------------------------------------------------
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
Esta Kysj | 16 Sep 2009 16:51
Picon

[SPAM] Redistribute it

Having trouble viewing this email? See it online.

 
 

Strength is near you, you only should know how to get it!

Date: September 16, 2009
Time: 12:00PM ET

If talking about 'male' strength that can make your girl wet and happy. This strength is easy to get these days. You come to our site, make an order of our special supplement and 1 hour later your lady can enjoy your firm and steady power of a man. Take this once and make her amazed.

 

You are currently subscribed to Information Management; as: htmlparser-user <at> lists.sourceforge.net

To Unsubscribe from receiving further promotional email from Information Management, Click Here. To update your promotional preferences for other SourceMedia lists, Click Here.

Source Media, Inc., One State Street Plaza, 27th Floor, New York, NY 10004
Forward to a Friend | Privacy Policy

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
Lucrecia Titjru | 17 Sep 2009 18:37
Picon

[SPAM] Answer, you jackass!

Web Version >> Add us to your Safe Sender list >>
YOUR September 17, 2009 ISSUE OF
BAD PERFORMANCE IN BED: SOLUTIONS
<at> Become her drillosaur.
<at> Bull power in lovemaking
<at> Strengthening your Hercules
<at> Recipe of hotter lust

top story

Revolution in process on male boluses!

Now they are not only help you getting a super rod-on, they also don't cost a fortune. Better prices plus you get free pilules! Now there is no financial border between you and your perfect amorous boosters, so you can take it and return the fever of love.

READ MORE >>

top news

We offer pellets for male strength boosting and you know what?

Compare other sites' prices and ours and you'll see our first advantage. Then compare the variety of goods and see our second advantage. Good service can't be evaluated that fast, but we are also proud of satisfying our customer's needs and answering their questions. Click and choose your male cure!

READ MORE >>

CHANGE E-MAIL UNSUBSCRIBE WEB VERSION VIEW ARCHIVE

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
Judy Jbqzufum | 20 Sep 2009 14:54
Picon

Seeking sponsorship?

'

 



""''

 

 

 

'
'
'


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
Polly Dutt | 22 Sep 2009 12:44
Picon

[SPAM] Glad you're in :)

Please click here to view this message in your browser.

Silicon Alley Insider Select td { color: #222; line-height: 1.4em; } img { padding-top: 2px; } a, a.visited { text-decoration: none; } a:hover { text-decoration: underline; } hr { margin: 0 0; border: 0; width: 100%; color: #aaa; background-color: #aaa; height: 1px; }
 
Sunday, September 20, 2009


Even if your desire is very strong, your body sometimes can't correspond to its activity.

Make it more active! Make your male "woody" more lasting and firm. I bet you know what pilules can help you. We got those pilules twice cheaper than in your corner store.

Read >
This message was sent from Silicon Alley Insider, 40 West 20th Street, New York, NY 10011.
Modify/update your subscription via the links below. We will never sell your e-mail address. See our Terms of Service and Privacy Policy.

Tools: Unsubscribe | SubscribeSubscribe to RSS Feeds
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
Jacalyn Blattner | 23 Sep 2009 21:06
Picon

[SPAM] You look heroic here

Having trouble viewing this email? Click this link to view in your browser.

NEWSLETTER

News

23 September 2009

Welcome

Drill her everywhere: in apartment, on the floor, on the towel by the door, in the car, damn everywhere! What usually limits your male strength will be gone - because our products can easily remove borders and make you a giant of love. Better price this month. Hurry up. The two important things about our male products:
- They are absolutely safe;
- They make you a Bomb in lovemaking;
There is also a third thing - they cost 40% less this week, because we want to make our clients happy.
Order and start drilling instead of just humping...




------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Htmlparser-user mailing list
Htmlparser-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlparser-user

Gmane