Managing the release of electronic content using a template without version logic
First Claim
1. A method in a computing system for serving both a live version of a web page and a preview version of the web page, the web page incorporating a resource, comprising:
- in a web server program;
receiving a request for a version of a web page containing a resource, wherein the requested version of the web page is either a live version of the web page or a preview version of the web page that provides a preview of the live version of the web page as it will appear after a set of specified changes is applied;
in response to receiving the request;
retrieving a single template defining the web page;
executing an instruction comprising a single path of execution in the retrieved template to make a call to a resource version retrieval service;
in the resource version retrieval service, in response to the call;
identifying a version of the resource specified for the live version of the web page if the request was for the live version of the web page;
identifying a version of the resource specified for the preview version of the web page if the request was for the preview version of the web page; and
providing the identified version of the resource to the web server program for incorporation in the web page served in response to the request.
2 Assignments
0 Petitions
Accused Products
Abstract
A facility for rendering a dynamic electronic document is described. The dynamic electronic document has both a current and a future edition. The current edition incorporates a current version of a content item, while the future edition incorporates a future version of the content item. The facility receives a request to return the dynamic electronic document. In response to the request, the facility retrieves a template for the electronic document that contains a single identifier that identifies a group of content item versions containing both the current version of the content item and the future version of the content item. The facility uses the single identifier contained in the template, together with an indication of whether the current edition of the dynamic electronic document or the future version is being requested by the received request, to incorporate the appropriate version of the content item in the rendered dynamic electronic document.
-
Citations
11 Claims
-
1. A method in a computing system for serving both a live version of a web page and a preview version of the web page, the web page incorporating a resource, comprising:
-
in a web server program; receiving a request for a version of a web page containing a resource, wherein the requested version of the web page is either a live version of the web page or a preview version of the web page that provides a preview of the live version of the web page as it will appear after a set of specified changes is applied; in response to receiving the request; retrieving a single template defining the web page; executing an instruction comprising a single path of execution in the retrieved template to make a call to a resource version retrieval service; in the resource version retrieval service, in response to the call; identifying a version of the resource specified for the live version of the web page if the request was for the live version of the web page; identifying a version of the resource specified for the preview version of the web page if the request was for the preview version of the web page; and providing the identified version of the resource to the web server program for incorporation in the web page served in response to the request. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer memory system comprising:
-
one or more computer memories collectively containing a data structure constituting a template for rendering a dynamic electronic document, the dynamic electronic document having a plurality of editions each incorporating one version of a content item, at least two of the plurality of editions incorporating different versions of the content item, the data structure including instructions for incorporating the appropriate version of the content item when the dynamic electronic document is rendered from the template, the included instructions comprising a single flow of execution, such that, when a request to render the dynamic electronic document is received, the single flow of execution of instructions contained in the data structure is executable to incorporate the appropriate version of the content item in the rendered dynamic electronic document.
-
-
7. A computer-readable medium whose contents cause a computing system to perform a method for serving both a live version of a webpage and a preview version of the web page, the web page incorporating a resource, the method comprising:
-
in a web server program; receiving a request for a version of a web page containing a resource, wherein the requested version of the web page is either a live version of the web page or a preview version of the web page that provides a preview of the live version of the web page as it will appear after a set of specified changes is applied; in response to receiving the request; retrieving a single template defining the web page; executing an instruction comprising a single path of execution in the retrieved template to make a call to a resource version retrieval service; in the resource version retrieval service, in response to the call; identifying a version of the resource specified for the live version of the web page if the request was for the live version of the web page; identifying a version of the resource specified for the preview version of the web page if the request was for the preview version of the web page; and providing the identified version of the resource to the web server program for incorporation in the web page served in response to the request. - View Dependent Claims (8, 9, 10, 11)
-
Specification