Patent ID: 7899808

Claim:
A method comprising receiving, from a client host, a request for embed code for a user application with an application programming interface; generating embed code comprising computer-readable instructions operative, when executed, to cause a client host processor to: scan a web page, wherein the web page includes text and the embed code; extract at least a portion of the text of the web page based, at least in part, on the embed code; transmit a media object request and the extracted text to one or more remote server systems; receive, from the one or more remote server systems, a response to the media object request including one or more media objects associated with the transmitted text; and insert the one or more media objects into the web page; transmitting a response to the client host, wherein the response includes the embed code; responsive to receiving the media object request and the transmitted text resulting from execution of the embed code on the client host, parsing the transmitted text to determine one or more keywords; rating the relative importance of the determined keywords; searching one or more databases that include one or more potential media objects; accessing one or more ranking attributes of the one or more potential media objects; combining the rating and ranking attributes to determine a priority of the potential media objects; identifying the one or more media objects associated with the transmitted text based, at least in part, on the determined keywords, the priority of the potential media objects, and the search; and returning the one or more media objects to the client host in the response to the media object request.