Hi, I want to do program that reads different news sites and lists headlines. How this should be done? How to read the data from the web sites?
Viped
0
Junior Poster in Training
Recommended Answers
Jump to PostI assume most of the sites you are talking about support HTTP. There are some classes in Java SE that would be useful for getting the HTML pages from the sites: HttpURLConnection
and there are packages and classes from Apache that would help you.After reading the HTML you will …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.