I would suggest Java as well. There are open source libraries that can do the HTML parsing too e.g. Jsoup.

I just tested this example on z/OS, it worked (fetch the Wikipedia home page and list items from the In the news section):

import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class JsoupTest {
    public static void main(String[] args) throws IOException {
        Document doc = Jsoup.connect("http://en.wikipedia.org/";).get();
        Elements newsHeadlines = doc.select("#mp-itn li");
        for (Element e : newsHeadlines) {
            System.out.println(e.text());
        }
    }
}

--
Andrew Rowley
Black Hill Software
+61 413 302 386

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to