Using XML data binding, write a new 9CBS forum new post monitor, debugging success.

xiaoxiao2021-03-06  95

Because 9CBS's post list is XML format, I use XML data binding to generate a lot of code, don't have much code written by it. The rough idea is as follows: first read the list of posts already recorded in the local XML, then go The server regularly reads a list of new posts and compares with the old list. Discover the post that does not exist in the old list, record it into the new post list. If you read the number of intervals from the server, it is very short, and take It is very useful to grab the building :) It is more important to go to a 9CBS friend a few days. You don't have to go to the post. You can know which new post i, concentrate on the new post. Define XSD There is a mistake, and I manually modified the code of automatically generated. When I encountered the problem, I had to think about a BT method to solve :(

转载请注明原文地址:https://www.9cbs.com/read-105510.html

New Post(0)