This invention relates to creation and design of electronic documents and, more particularly, to flexible web page template building techniques and systems.
Customizable web page templates for designing websites assist people in quickly designing web pages for publishing to a web hosting server.
One of the challenges in designing web page templates whose content may be customized by end users is that the size of the content or amount of text that may be inserted into the editable areas of the web page may vary from user to user. Because a web page generally provides a header area, a navigational area, and a bottom border around editable areas that may be customized by a user, the template design required some knowledge of the size of the editable areas. Previously, this has caused template providers to set a static size editable area, thereby limiting the amount of content that the user can insert in the editable areas.
Another challenge for the designers of web page templates is the desirability of making web page themes work in all types of browsers.
Accordingly, it would be desirable to provide a web page generating tool that has a simple user interface and allows a web page designer to create flexible auto-expanding editable areas which grow and shrink based on the amount of content inserted into the editable areas, and to design themes that work in a wide variety of browsers.
Embodiments of the invention are directed to flexible web page template building techniques and systems which allow web page designers to build auto-expanding web pages that grow and shrink according to an amount of user content inserted there.
Embodiments of the invention implement a flexible website template building tool. In an embodiment, an electronic document design tool used to design customized electronic designs which may be published electronically or printed to generate a printed product includes a website template builder add-in which allows a designer to customize a website template based on elements of an electronic design. For example,
Web page templates 4 may be valuable to website hosting service providers that provide tools to customers to build their websites. Web page templates 4 may also be valuable to designers of electronic, printed, and other types of products who wish to cross-sell a website to a customer of an electronic, printed, or other type of product while retaining some of the design features of the other product.
For example,
Client 11 communicates with a website hosting service server 20 to set up account information and order website hosting services via the client's browser 12. After setting up an account, the website hosting customer may then begin designing and editing their website. In an exemplary embodiment, the website hosting service provides website building tools via website building tools server 30. In an embodiment, the client 11 may download a website building tool 31 to execute in their local browser 12.
The website building tool 31 allows the website hosting services customer to download web page templates (stored in a web page template gallery 40) from the website building tools server 30. Website templates are electronic web page designs that include editable areas to allow the customer to customize text, image, and design content. They typically include a background with or without a design, a header area, a navigational menu area, and one or more user-editable content areas. The website hosting services customer may edit and design a number of customized web pages to form a customized website which may be published to a hosted website database 50. When a web page is published to the hosted websites database 50, a website hosting server 60 will serve web pages of the hosted customized website to other networked clients on the network, such as client 70.
Web page templates may be created by a content designer operating a content provider computer system 80, which may be any conventional computer system, for example, as described in reference to
The electronic document creation and editing application 82 may itself provide, or may merely provide access to, a web page template building tool 84. For example, a conventional electronic document publishing system may include an add-in or plug-in. A plugin is a computer program that interacts with a host application (for example, the electronic document creation and editing application 82) to provide a function “on demand”. Alternatively, the electronic document creation and editing application 82 may itself implement the functionality for automatically creating web page templates.
The web page template building tool 84 automatically generates web page templates based on electronic documents, the details of which are presented hereinafter.
Turning now to
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Embodiments of the invention, and in particular, the website building tool 31 and its target-alignment-and-drop control 32 integrated therein, may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network or other data transmission medium. In a distributed computing environment, program modules and other data may be located in both local and remote computer storage media including memory storage devices.
With reference to
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CDROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport button and includes any information delivery media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate button. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
Referring back to
In one embodiment, electronic document creation and editing application 82, such as Adobe® InDesign, which are intended for design of products to be printed, are utilized to take advantage of content developed for printed products. In an embodiment, the electronic document and editing application 82 is configured with a website plugin which, in accordance with the invention described herein, assists the customer in generating a website template based on a printed or electronic product design.
The web page template 410 assumes an 800-wide-pixel displayable page area, but of course it is to be understood that this number may be varied depending on the intended browser and display types, and on future advances in the display technology. The web page template 410 includes an outer background 411 which represents what should appear on a display outside of the 800-wide-pixel displayable page area, and inner background 412 which covers the outer background within the 800-pixel-wide area, a header area 415, a navigational area 420, and at least one auto-expanding user-editable content container 430. In the exemplary embodiment, the header area 415 includes two “headline” areas of text: one for “Company Name” 416 and one for “Company Message” 417. Preferably, while the auto-expanding user-editable content container allows only web-safe fonts, the header area 415 can support non-web-safe fonts, for example fonts that are used in the customer's logo or business cards.
In order to maximize the size of text entered in the headline areas 416, 417, the current size of the text entered in the text area is determined using a Rich Text Editor, and the web page template building tool 82 automatically determines an amount to scale the current sized text to make the text the full width of the available text area, and then determines an amount to scale the current sized text to make the text the full height of the available text area. The web page template building tool 82 then selects the smaller of the horizontal scale and vertical scale, scales the user-input text by the smaller selected scale, and replaces the user-input text in the text area with the scaled text.
In order to support growing and shrinking of content in the auto-expanding user-editable content container(s) 430, there are certain rules which must be applied in the design of the web page template. For example, the outer background may only contain a solid color, vertical gradient, or repeated pattern so that as the auto-expanding user-editable content container(s) grow, any visible outer background area on a user's display will appear continuous. Furthermore, if a gradient is used and the page is long, the color at the bottom of the gradient is preferably used as a solid color below where the gradient is specified. The inner background preferably may only comprise a solid color.
The auto-expanding user-editable content container 430 is displayed with a pair of horizontal guides—an upper horizontal guide 431 and a lower horizontal guide 432. The user content must intersect with both the upper guide and the lower guide. Preferably, a few lines of sample text are inserted in the auto-expanding user-editable content container to illustrate to the user the default styles and fonts. In an embodiment, the user content sample text may only comprises web-safe fonts (restricted list of about eight fonts) that are known to be supported by most web browsers.
In an embodiment, artwork can extend into the user content area, and is rendered behind the user content.
The upper guide 431 must be above the lower guide 432. Any elements which cross the upper guide 431 or the lower guide 432 must cross both guides. Any elements which cross the guides 431, 432 must be “growable”. To be growable, either: the element is a repeating pattern, or there is no variation in the vertical directions between the two guides 431, 432 (that is, every row of pixels between the guides is the same as every other row.)
To illustrate the rules pertaining to the guides 431, 432,
In elements in the auto-expanding user-editable content container 400 that span both guides 431, 432, if there are multiple repeated patterns, the repeated frequency in the vertical direction must be the same, and the repeat should be as small as possible. This is because, in the final webpage, any patterns which cross the bottom guide must be matched up with the artwork below the bottom guide.
The content placed in an auto-expanding user-editable content container while using the web page template building tool is content that will appear as a background layer in the final template. Thus, in the final template, any content in the auto-expanding user-editable content container is flattened into a background layer. Thus, when an end user utilizes the template as a starting point in designing a web page, the end user will insert text and other content in the auto-expanding user-editable content container, which will appear over the flattened content inserted by the web page template designer.
Turning now to the navigation area 420 of
When designing a website template, the designer will preferably keep the three buttons in order, equally spaced, and aligned on a point boundary. The buttons should be aligned horizontally or vertically, depending on the orientation of the navigation area. Artwork can be added to the button items, or be drawn on the navigation button layer in the same space. Any artwork in the navigation button layer outside of the boundaries of the button background objects are ignored.
The navigation background layer contains the structural item that represents the entire navigational area. This area must be above the upper guide, and to the left of the content area. The amount of spacing around it determines how much space is added to the navigational area in each direction, beyond the size of the buttons.
Preferably, the web page template supports two orientations for the navigational area: horizontal and vertical. In both cases, the buttons are always set to a fixed size, determined by the designer. In an embodiment, only a single row or a single column of buttons is supported.
Vertical navigational areas are always grown downward. Horizontal navigational areas grow as follows: If the navigational area is near the left edge of the page, the navigational area will grow to the right; if the navigational area is near the right edge of the page, the navigational area will grow to the left; otherwise, the navigational area will grow to the left and the right (from the center).
To support growing and shrinking of the navigation buttons, a navigational area 700 is automatically split into three “sections”, illustrated in
When the navigational area is rendered, the second section 714a (or 714b) is repeated as many times as necessary to accommodate all buttons 705.
In an exemplary embodiment, the web page template building tool configures the navigational area 420 with a control that allows an end user of the template to select between a horizontal or vertical navigation menu orientation, and select and edit names of the selected navigation buttons. Further, the control may be configured to automatically detect a condition in which the navigation area cannot be fully displayed in the horizontal orientation and generates a request to the customer to change the navigation menu orientation to a vertical orientation. Alternatively, the control may simply automatically change the navigation menu orientation to a vertical orientation when this condition occurs.
The navigational area control may be configured to automatically size the navigation buttons identically and automatically determines and sizes the navigation button names with identically sized font. In an exemplary implementation, the navigational area control performs the steps of: for each respective navigation button, automatically determining a size of text used for the navigation button name, determining an amount to scale the current sized text to make the text the full width of the navigation button, determining an amount to scale the current sized text to make the text the full height of the navigation button, selecting the smaller of the horizontal scale and vertical scale; selecting the smallest of each of the selected scales over all of the navigation buttons as the global navigation button scale; and scaling each of the navigation button names to the global navigation button scale. Web page template building tool 84 creates HTML pages that handle a variable amount of customer text, growing the page as necessary and uses HTML that renders reliably in a wide variety of browsers.
In an embodiment, the web page template building tool 84 creates an outermost table, illustrated in
To create the web page template, all of the artwork that appears in the theme is rasterized into 11 images, shown in
The “top” cell in
The navigation buttons are rendered in the “left” table cell, but uses absolute positioning for the buttons so they may appear in other cells as necessary. The navigational area can also include background imagery that grows or shrinks depending on the number of buttons on the site. Vertically-oriented navigational areas can grow vertically. The upper guide may be automatically moved down the page so that the entire navigational area appears above the growable section of the page. This means the navigational area background will always be in images 1, 2a, 2b, and 2c only.
The images and controls that make up a theme are specified in absolute coordinates. For each of the images (1, 2a, 2b, . . . , 4c, 5) a bitmap of the appropriate size is created, and portions of the theme images are copied into them using GDI+. For example, if the “lower guide” is at vertical position 700; the “body content rectangle” has its bottom at position 800 and it's left-edge at position 200, then for image 4a an image 200 pixels wide by 100 pixels tall is created, and all of the theme imagery that occurs in the rectangle (0,700)-(200,800) is flattened.
The result is a web page template that grows and shrinks according to the amount of content inserted in the auto-expanding user-editable content containers by an end user and that is reliably displayable in a multitude of different browsers and display types.
Preferably, the web page template building tool 82 retrieves at least one graphical element (for example a customer's logo) from an electronic design editable by the document design tool and inserts the at least one graphical element into the website template. In an exemplary embodiment, the web page template building tool 82 pre-populates the web page template with content retrieved from an electronic design of a product designed to be printed which is open in the document design tool.
While exemplary embodiments of the invention have been discussed, the described embodiment is to be considered as illustrative rather than restrictive. The scope of the invention is as indicated in the following claims and all equivalent methods and systems.
This application is a divisional of prior application Ser. No. 13/541,280, filed on Jul. 3, 2012, now U.S. Pat. No. 9,058,318, which is a divisional of application Ser. No. 12/060,254, filed Mar. 31, 2008, now U.S. Pat. No. 8,225,198, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 13541280 | Jul 2012 | US |
Child | 14739492 | US | |
Parent | 12060254 | Mar 2008 | US |
Child | 13541280 | US |