e.g.:
The news page http://news.yahoo.com/s/ap/20081116/ap_ ... own_summit,
when I get the html, I need Analyse text content as the follow:
Code: Select all
WASHINGTON – World leaders battling a dire and deepening economic crisis vowed Saturday to cooperate more closely, keep a sharper eye out for red-flag problems and give bigger roles to fast-rising nations — but kicked many hard details down the road for their next summit after President-elect Barack Obama takes office.
Perhaps as important as the modest concrete steps they took, the leaders of the planet's richest nations — and some of the fastest-developing — made clear their recognition of the world's increasingly interconnected financial architecture and the responsibilities that go along with it.
...
Also significant at the summit: the inclusion of a far broader range of countries than the elite, old-guard group that usually holds such summit meetings.now I use grep to Analyse html tags as table, tr, div .
The result such as http://202.106.63.4/cp/page.php?referur ... own_summit
who can give me some good methods? thanks very much.