Patent ID: 8195634

Claim:
One or more computer-readable storage media having computer-usable instructions stored thereon for performing a method of providing a domain-aware snippet for a search result, the method comprising: identifying source code for a plurality of web pages that belong to a single domain; identifying one or more tag patterns of a predetermined number of sections within the source code of the plurality of web pages belonging to the single domain, wherein a predetermined number of web pages of the plurality of web pages belonging to the single domain share at least one identical tag pattern; based on the identifying of the one or more tag patterns of the predetermined number of sections within the source code of the plurality of web pages belonging to the single domain, determining that a template exists; extracting the template of the predetermined number of web pages of the plurality of web pages belonging to the single domain, wherein the template is a structured layout used to construct each of the plurality of web pages belonging to the single domain, and wherein the template is shared by each of the predetermined number of web pages of the plurality of web pages belonging to the single domain; associating the template and content of the predetermined number of web pages of the plurality web pages related to the template with a Uniform Resource Locator pattern of the single domain, the Uniform Resource Locator pattern is a portion of a Uniform Resource Locator that is shared among all of the predetermined number of web pages of the plurality of web pages associated with the template; and storing the association of the template, the related content, and the Uniform Resource Locator pattern in a database.