Display Dialogs
First Claim
Patent Images
1. A method comprising:
- by one or more computing devices,receiving, from client-side code associated with a user-interface component of an electronic device, a request for a web page to be displayed on the electronic device, the web page including content associated with a rendered template of a plurality of rendered templates, each rendered template comprising one or more place holders for insertion of content and having been rendered for display on electronic devices;
selecting, from the plurality of templates, the rendered template based on the request;
constructing a web page that includes the rendered template comprising the one or more placeholders; and
sending, to the electronic device, the web page including the rendered template comprising the one or more placeholders for insertion and display of the content by the client-side code executed on the requesting electronic device.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a first device sends a request to a second device, the request causing a dialog to be displayed on the first device. The second device selects a rendered dialog template corresponding to the dialog; constructs a web page that includes the rendered dialog template; and sends the web page to the first device. The first device displays the web page including the dialog.
12 Citations
21 Claims
-
1. A method comprising:
- by one or more computing devices,
receiving, from client-side code associated with a user-interface component of an electronic device, a request for a web page to be displayed on the electronic device, the web page including content associated with a rendered template of a plurality of rendered templates, each rendered template comprising one or more place holders for insertion of content and having been rendered for display on electronic devices; selecting, from the plurality of templates, the rendered template based on the request; constructing a web page that includes the rendered template comprising the one or more placeholders; and sending, to the electronic device, the web page including the rendered template comprising the one or more placeholders for insertion and display of the content by the client-side code executed on the requesting electronic device.
- by one or more computing devices,
-
2. The method of claim 1, wherein the rendered template is included in the web page as an “
- iframe”
element.
- iframe”
-
3. The method of claim 1, wherein the rendered template is referenced with a Uniform Resource Locator (URL).
-
4. The method of claim 1, wherein:
each place holder is identified by a token and corresponds to a piece of content.
-
5. The method of claim 1, further comprising:
-
rendering the plurality of templates for display on the electronic devices; storing the plurality of rendered templates; associating each rendered template with a unique Uniform Resource Locator (URL) for identifying and referencing the rendered template; and associating each rendered template with one or more types of content.
-
-
6. The method of claim 5, wherein each rendered template is represented using HyperText Markup Language (HTML) code.
-
7. The method of claim 5, wherein:
-
at least one of the plurality of templates comprises one or more pieces of dynamic content; and for each template that comprises one or more pieces of dynamic content, when rendering the template, each piece of dynamic content included in the template has a corresponding place holder, identified by a token, in the rendered template.
-
-
8. The method of claim 5, wherein selecting the rendered template comprises:
-
determining a type of content to which the requested content belongs; and selecting, from the one or more rendered templates, the specific rendered template corresponding to the type of content to which the requested content belongs.
-
-
9. A method comprising:
-
sending, to a computing device and by client-side code associated with a user-interface component of an electronic device, a request for a web page to be displayed on the electronic device; receiving, from the computing device, a web page that includes a rendered template, the rendered template comprising one or more place holders for insertion of content; inserting, by the client-side code, content in the place of the one or more place holders; and displaying, by the client-side code associated with the user-interface component of the electronic device, the web page including the rendered template and the content inserted in the place of the one or more place holders.
-
-
10. The method of claim 9, wherein the rendered template is included in an “
- iframe”
element in the web page.
- iframe”
-
11. The method of claim 9, wherein:
-
the rendered template is associated with a Uniform Resource Locator (URL); and the rendered template is represented using HyperText Markup Language (HTML) code.
-
-
12. The method of claim 9, further comprising:
-
processing the rendered template included in the web page to identify the one or more place holders; and for each place holder, selecting a piece of content to be displayed instead of the place holder.
-
-
13. The method of claim 9, the client-side code comprises a client-side script, written in JavaScript, residing on the electronic device.
-
14. The method of claim 9, further comprising caching the rendered template.
-
15. The method of claim 9, wherein the electronic device is a mobile device.
-
16. A system comprising:
-
a memory comprising instructions executable by one or more processors; and the one or more processors coupled to the memory and operable to execute the instructions, the one or more processors being operable when executing the instructions to; receive, from client-side code associated with a user-interface component of an electronic device, a request for a web page to be displayed on the electronic device, the web page including content associated with a rendered template of a plurality of rendered templates, each rendered template comprising one or more place holders for insertion of content and having been rendered for display on electronic devices; select, from the plurality of templates, the rendered template based on the request; construct a web page that includes the rendered template comprising the one or more placeholders; and send, to the electronic device, the web page including the rendered template comprising the one or more placeholders for insertion and display of the content by the client-side code executed on the requesting electronic device.
-
-
17. The system of claim 16, wherein the rendered template is included in the web page as an “
- iframe”
element.
- iframe”
-
18. The system of claim 16, wherein the one or more processors are further operable when executing the instructions to:
-
render the plurality of templates for display on the electronic devices; store the plurality of rendered templates; associate each rendered dialog template with a unique Uniform Resource Locator (URL) for identifying and referencing the rendered template; and associate each rendered template with one or more types of content.
-
-
19. The system of claim 18, wherein each rendered template is represented using HyperTextMarkup Language (HTML) code.
-
20. The system of claim 18, wherein:
-
at least one of the plurality of templates comprises one or more pieces of dynamic content; and for each dialog template that comprises one or more pieces of dynamic content, when rendering the template, each piece of dynamic content included in the template has a corresponding place holder, identified by a token, in the rendered template.
-
-
21. The system of claim 18, wherein, when selecting the rendered template, the one or more processors are further operable when executing the instructions to:
-
determine a type of content to which the requested content belongs; and selecting, from the one or more rendered templates, the specific rendered template corresponding to the type of content to which the requested content belongs.
-
Specification