something in Java?<br><br><div class="gmail_quote">On Sat, Jul 31, 2010 at 5:57 PM, Nitin Madnani <span dir="ltr"><<a href="mailto:nmadnani@gmail.com">nmadnani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div><a href="http://www.crummy.com/software/BeautifulSoup/" target="_blank">http://www.crummy.com/software/BeautifulSoup/</a><br><font color="#888888"><br>- Nitin</font></div><div><div></div><div class="h5">
<div><br>On Jul 31, 2010, at 8:26 PM, Siddhartha Jonnalagadda <<a href="mailto:sid.kgp@gmail.com" target="_blank">sid.kgp@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Is it trivial to extract the title and relevant text (ignoring the ads and other irrelevant stuff)? For example, in the website: <a href="http://tvnz.co.nz/world-news/chelsea-clinton-marries-in-ny-3680168" target="_blank"></a><a href="http://tvnz.co.nz/world-news/chelsea-clinton-marries-in-ny-3680168" target="_blank">http://tvnz.co.nz/world-news/chelsea-clinton-marries-in-ny-3680168</a><br>
<br>I am only interested in extracting the tile: "Chelsea Clinton marries in NY"<br>and the subject below. How easy is this?<br><br>"Bill and Hillary Clinton's daughter married her long-time boyfriend
in the picturesque New York village of Rhinebeck today in what has been
dubbed America's royal wedding.
<p>Chelsea Clinton - the only child of the former US president and the
US secretary of state - wed Marc Mezvinsky at Astor Courts, an historic
50-acre (20-hectare) estate on the Hudson River, about 160 km north of
New York City. </p>
<p>"Today, we watched with great pride and overwhelming emotion as
Chelsea and Marc wed in a beautiful ceremony at Astor Courts,
surrounded by family and their close friends," Bill and Hillary Clinton
said in a statement. </p>
<p>"We could not have asked for a more perfect day to celebrate the
beginning of their life together, and we are so happy to welcome Marc
into our family," the statement said. </p>
<p>"On behalf of the newlyweds, we want to give special thanks to the
people of Rhinebeck for welcoming us and to everyone for their
well-wishes on this special day." </p>
<p>The statement, sent just after 7:30 pm (12:30pm NZT today), did not indicate exactly when the nuptials took place. </p>
<p>On Friday night, Bill and Hillary Clinton waved to crowds of
onlookers as they arrived at the historic Beekman Arms Inn in the
center of Rhinebeck for a late-night cocktail party for some of the
wedding guests. </p>
<div><div>
<br><a rel="nofollow" href="http://ad.au.doubleclick.net/jump/tvnz.co.nz/news/world-news/reuters/_3680168;pos=mid;sectn=world-news;site=news;kw=ONENEWS;kw=WORLD;kw=BILLCLINTON;kw=HILLARYCLINTON;sourc=Reuters;sid=425822;did=3680168;sz=300x250;ord=123456789?" target="_blank">
<img src="" alt="Advertisement" width="300" border="0" height="250">
</a>
</div>
</div>
<p>Apart from the parents of the bride, the only other high profile
guests seen in Rhinebeck have been Bill Clinton's former secretary of
state, Madeleine Albright, actors Ted Danson and Mary Steenburgen and
fashion designer Vera Wang. </p>
<p>Also spotted was real estate scion and movie producer billionaire
Steve Bing. Bing lent Bill Clinton his jet to fly to North Korea in
August of last year to bring home American journalists Laura Ling and
Euna Lee after they spent four months imprisoned in the reclusive
communist state. </p>
<p>Guests boarded buses in Rhinebeck to be taken to Astor Courts about 5 pm EDT (10am NZT) </p>
<p>Chelsea Clinton, 30, and Mezvinsky, 32, have known each other since
they were teenagers. He is an investment banker, whose parents Marjorie
Margolies-Mezvinsky and Edward Mezvinsky were once Democratic US House
of Representatives members. </p>
<p>Chelsea Clinton, who worked at a New York hedge fund and has more
recently studied health policy at Columbia University, has kept a low
profile since her father left the White House in January 2001, although
she campaigned for her mother during her failed run for the 2008
Democratic presidential nomination. </p>
<p>Signs and pictures congratulating the newlyweds hang in many shop
windows in Rhinebeck, which has been swarmed by media around the world
for an event that experts estimate to have cost between $US3 million
and $US5 million. </p>
<p>Airspace above Rhinebeck has been closed for 12 hours from 3 pm EDT
(7pm NZT) today for the wedding and media were kept well away from the
entrance to Astor Courts. Security in the area was comparable to that
surrounding state visits. </p>
<p>The guest list was reported to be between 400 and 500, but did not include a very understanding President Barack Obama. </p>
<p>"Hillary and Bill properly want to keep this as a thing for Chelsea
and her soon-to-be husband," Obama said on The View talk show on
Thursday. "It would be tough enough to have one president at a wedding.
You don't want two presidents." </p>"<br>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><div class="im"><br><span>Corpora mailing list</span><br><span><a href="mailto:Corpora@uib.no" target="_blank">Corpora@uib.no</a></span><br>
<span><a href="http://mailman.uib.no/listinfo/corpora" target="_blank">http://mailman.uib.no/listinfo/corpora</a></span><br></div></div></blockquote></div></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>