Home > Article > Web Front-end > Jsoup parses html pages to implement CSDN blog client_html/css_WEB-ITnose
There are relatively few classes during this period. I used Jsoup to parse HTML and wrote an app for reading CSDN blogs.
The functions that have been implemented are:
1. Read the latest | hottest articles on the blog channel homepage:
2. Browse all columns & read articles:
3. Read popular articles:
4. View all articles of user with specified id:
The whole program looks like this when it runs...
Core code: Download the specified html page??> Use Jsoup to parse to get the elements you need. Students who know Jsoup know that it is very simple.
Due to limited time and level, the app interface is very simple and may have some bugs.
And there is an unresolved problem: how to identify gif images when parsing, or whether there are any controls that can display static images and dynamic images compatible. I hope seniors who have solutions can leave a message below to tell me~3q.
For me, this small program is a little helpful for me to check some notes I wrote before. If it can help you a little bit, that will be my greatest happiness.
Download address:
http://shouji.baidu.com/software/item?docid=7665686&from=as
QR code:
The source code will be uploaded after I sort it out. Students who want to see it can leave a message or send me a private message.