Re: [Htmlparser-user] desperately need for this new feature ver1.3
Brought to you by:
derrickoswald
From: Navid H.L. <na...@ya...> - 2002-12-27 00:13:44
|
Thank you Somik, it was very interesting. I could access the CVS. and see the directories, But sill have problem I am installing ANT now, but I do not understand the next step [1] Check the CVS page of htmlparser - there are instructions for doing an anonymous checkout [2] Install Ant - [3] go to the source directory where you see build.xml - and type ant in the command line. last step does not make sense to me, If I run ANT on command line, and CVS is running on Eclipse, what is the connection between these two? I think I should copy or download something or build.xml from CVS. Please let me know what I should do. Thank you very much. Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > Here's an easy way to do it. Get the IDE Eclipse. > That has inbuilt CVS integration, so all you have to > do is specify your repository (Go in anonymous > pserver > mode). > Honestly speaking, I do not know why you were > using > putty. It is not required at all. I think you might > be > making a simple mistake- what is the command you are > issuing to cvs for checking out code ? Remember, you > should be trying anonymous pserver, and not the > developer mode. > > Regards, > Somik > > --- "Navid H.Langaroudi" <na...@ya...> wrote: > > Hi Somik, > > unfortunatly I could not access the CVS as > discribed > > on CVS page. I do not know what I am doing Wrong. > I > > tried putty.exe with ssh and slow I installed a > > version of CVS on my XP, but none of them worked. > > I would like to learn this eventually. > > But for now, I desperately need version 1.3 which > > Derrick mensioned. Is there any way I get this? > > I greatly appreciate your help. > > > > Thanks you, > > Regards, > > Navid > > > > --- Somik Raha <so...@ya...> wrote: > > > Hi Navid, > > > [1] Check the CVS page of htmlparser - there > > are > > > instructions for doing an anonymous checkout > > > [2] Install Ant - > > http://jakarata.apache.org/ant/ > > > [3] go to the source directory where you see > > > build.xml - and type ant in the command line. > > > [4] If the above steps are too hard, wait for > a > > > week for the integration release for 1.3. > > > > > > Regards, > > > Somik > > > --- "Navid H.Langaroudi" <na...@ya...> > > wrote: > > > > Hi Derrick, > > > > Thank you very much, But i could not find the > > > > version > > > > 1.3, and is it possible to rebuilt it on > > windows? > > > > Somik told me before, for unreleased versions > I > > > > should > > > > run a the build.xml using ANT. I need some > more > > > info > > > > to do so. Thank you > > > > > > > > Regards, > > > > Navid > > > > > > > > --- Derrick Oswald <Der...@ro...> > > > wrote: > > > > > David, > > > > > > > > > > There is now code in the repository to do > this > > > > > (version 1.3 only > > > > > available straight out of CVS at the > moment). > > > > > There are now 'URLConnection constructors' > on > > > the > > > > > HTMLParser object. > > > > > So you would do something like: > > > > > > > > > > url = new URL > > > > > ("http://www.teamstore.com"); > > > > > connection = > > > > > (HttpURLConnection)url.openConnection (); > > > > > connection.setRequestProperty > > > > > ("User-Agent", > > > > > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 > > > [en]"); > > > > > // ... and whatever else is > > required > > > > > parser = new HTMLParser > > > (connection); > > > > > for (enumeration = > parser.elements > > > (); > > > > > > > > > enumeration.hasMoreNodes ();) > > > > > // ... process your nodes > > > > > > > > > > See the test case HTMLParserTest.testPOST() > > for > > > a > > > > > working example. > > > > > > > > > > Derrick > > > > > > > > > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > > > > > >From: "Navid H.Langaroudi" > > <na...@ya...> > > > > > >To: htm...@li... > > > > > >Subject: [Htmlparser-user] a possible need > > > > feature > > > > > >Reply-To: > > htm...@li... > > > > > > > > > > > >Hi Somik, > > > > > >I had a problem accessing this site > > > > > >(www.teamstore.com) which was giving me > HTTP > > > > error > > > > > >501. I tried to access the site with Java's > > > > > > >URLConnection class, and again I got same > > > result, > > > > > >error 501! > > > > > > > > > > > >But once I used this setting (see line 3 > > > below), > > > > I > > > > > >gained access to the site, an no more > errors: > > > > > > > > > > > >1-URL mysite = new > > > > URL("http://www.teamstore.com"); > > > > > >2-URLConnection yc = > mysite.openConnection(); > > > > > >3-yc.setRequestProperty("User-Agent", > > > > "Mozilla/3.0 > > > > > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > > > > > > > > > > > > > >I was wonder if it is possible to do the > > same, > > > > > >"setRequestProperty" with HTMLParser > objects? > > > > > > > > > > > > > >I really appreciate it if you could let me > > know > > > > > this. > > > > > > > > > > > >By the way, I wish you and all others > > involved > > > in > > > > > this > > > > > >project a Happy Xmas and New Year! > > > > > > > > > > > >With Best wishes > > > > > >Navid > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > Htmlparser-user mailing list > > > > > Htm...@li... > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign > up > > > > now. > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |