infocenter CNet { action: Init; Search; field: URL; Title; Description; Price; ReleaseDate; Rating; OperatingSystem; Downloads; nextpage; } CNet::Init { Category = "Software"; Bitmap = "images\software.bmp"; IndexOrder = 2; IDNumber = 2; SiteName = "CNet"; SynopsisField = "Description"; FieldName.Title = "Program Title"; FieldName.Price = "Price"; FieldName.ReleaseDate = "Release Date"; FieldName.Rating = "Rating"; FieldName.OperatingSystem = "Operating System"; FieldName.Downloads = "Downloads"; } // Searches CNet's download.com CNet::Search { QueryURL.base = "http://download.cnet.com/downloads/1,10150,0-10001-103-0-1-7,00.html?tag=st%2Edl%2E10001%2Esbsr&qt="; QueryURL.term = ""; QueryURL.midterm = "+"; QueryURL.end = "&cn=&ca=10001"; ParseSpec.entrystart = ""; ParseSpec.termstart.URL = "/downloads"; ParseSpec.termstart.URL.prepend = "http://download.cnet.com"; ParseSpec.termend.URL = "\""; ParseSpec.termstart.Title = ""; ParseSpec.termstart.Title.offset = 2; ParseSpec.termend.Title = ""; ParseSpec.termstart.Description = "
"; // Add an offset here - because the
will be converted to a " - ". ParseSpec.termstart.Description.offset = 4; ParseSpec.termend.Description = "
"; ParseSpec.termstart.OperatingSystem = ""; ParseSpec.termend.OperatingSystem = ""; ParseSpec.termstart.ReleaseDate = ""; ParseSpec.termend.ReleaseDate = ""; ParseSpec.termstart.Downloads = ""; ParseSpec.termend.Downloads = ""; ParseSpec.nextpage = "href=/downloads/0,10150,0-10001-103-0-2-7,00.html"; ParseSpec.nextpage.URL = "/downloads/0,10150,0-10001-103-0-2-7,00.html"; ParseSpec.nextpage.URL.prepend = "http://download.cnet.com"; }