Patent ID: 8041732

Claim:
A system for downloading text content and images in web pages, the system comprising: a downloading module configured for downloading a web page as a temporary extensible markup language (XML) file to a cache of the system; a searching module configured for searching the temporary XML file for predetermined information in the temporary XML file, wherein the predetermined information in the temporary XML file comprises a uniform resource locator (URL) and a title of the web page corresponding to the temporary XML file; a determining module configured for determining if the temporary XML file has been downloaded previously according to the predetermined information in the temporary XML file, and determining if the temporary XML file contains image URLs; a content finding module configured for searching the temporary XML file for text content in response to the determination that the temporary XML file has not been downloaded previously; a storing module configured for storing the text content in the temporary XML file into a database; a concatenating module configured for converting a relative path of the image URL to an absolute path by joining the URL of the web page to the front of the relative path of the image URL in response to the determination that the temporary XML file contains image URLs; the storing module further configured for storing the absolute path of each image URL in the temporary XML file and a current time into the database as attributes of a corresponding image; a generating module configured for generating a local path for each image in the temporary XML file and storing each image into a storage system according to the local path; an appending module configured for appending each local path to attributes of a corresponding image into the database; and at least one processor that executes the downloading module, the searching module, the determining module, the content finding module, the storing module, the concatenating module, and the generating module.