infocenter NewYorkTimes { action: Init; Search; field: URL; Title; Description; nextpage; } NewYorkTimes::Init { Category = "News"; Bitmap = "images\news.bmp"; IndexOrder = 4; IDNumber = 4; SiteName = "New York Times"; SynopsisField = "Description"; FieldName.Title = "Article Title"; } // Searches the New York Times online. NewYorkTimes::Search { QueryURL.base = "http://search.nytimes.com:80/plweb-cgi/fastweb?view=site&dbname=siteToday&TemplateName=hitlist.tmpl&numresults=10&operator=AND&sorting=byrelevance&query_rule=%28%24query%29&query="; QueryURL.term = ""; QueryURL.midterm = "%20"; QueryURL.end = "&simplesearch.x=10&simplesearch.y=10"; QueryURL.items = "&starthit="; ParseSpec.entrystart = ""; ParseSpec.termstart.URL = "http://"; ParseSpec.termend.URL = "\""; ParseSpec.termstart.Title = ""; ParseSpec.termstart.Title.offset = 2; ParseSpec.termend.Title = ""; ParseSpec.termstart.Description = "
"; ParseSpec.termend.Description = ""; ParseSpec.nextpage = "Next"; }