主权项 |
1. A method for configuring and using search functionality, the method comprising:
storing one or more resources of a first website hosted by a server system; receiving administrative input, the administrative input corresponding to data entry controls in one or more user interfaces, the administrative input associating a first template module with a first result type, the first template module specifying a first template execution operation; receiving, a first search request based on user input, the first search request requesting a list of resources in the first website that satisfy a first search string; determining that a first resource satisfies the first search string, the first resource being among the one or more resources of the first website; determining that the first resource belongs to the first result type; after determining that the first resource belongs to the first result type, providing a dataset, the dataset comprising a first content resource object that contains data regarding the first resource, wherein the data regarding the first content resource includes one or more properties designated by the result type for the first resource; based on the determination that the first resource belongs to the first result type, receiving a request for the first template module; in response to the request for the first template module, providing the first template module; and providing a content generation script, performance of the content generation script causing the first template execution operation to be performed on the first content resource object, a first presentation string being generated by performing the first template execution operation on the first content resource object, the first presentation string being renderable to present a first set of on-screen features describing the first resource, wherein the first set of on-screen features include the one or more properties designated by the result type arranged as specified by the first template module. |