Error checking web documents

Information

  • Patent Application
  • 20070271510
  • Publication Number
    20070271510
  • Date Filed
    May 19, 2006
    18 years ago
  • Date Published
    November 22, 2007
    17 years ago
Abstract
Error checking for web documents may be provided. Text errors within a web page are identified by determining text to be error checked within content used in generating a web page and by determining where the text is located within the web page. The text is sent to an error checking module, and errors are displayed to a user.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various embodiments of the present invention. In the drawings:



FIG. 1 is screen shot of an exemplary operating environment;



FIG. 2 is a block diagram of a system including a computing device;



FIG. 3 is a flow chart of a method for error checking web documents; and



FIG. 4 is a screen shot illustrating a user interface for use with the computing device of FIG. 2.





DETAILED DESCRIPTION

The following detailed description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar elements. While embodiments of the invention may be described, modifications, adaptations, and other implementations are possible. For example, substitutions, additions, or modifications may be made to the elements illustrated in the drawings, and the methods described herein may be modified by substituting, reordering, or adding stages to the disclosed methods. Accordingly, the following detailed description does not limit the invention. Instead, the proper scope of the invention is defined by the appended claims.


Error checking web documents may be provided. Consistent with embodiments of the present invention, a method and system for identifying and correcting errors in text utilized in creating web pages is disclosed. FIG. 1 illustrates an exemplary environment 100 for a web author during web page development. In the exemplary environment 100, the author may include various text blocks within a web page for viewing by others, for example text box 102, frame information 104 and title 106. In creating a web page, a web author may enter text within several editable fields, for example, text box 102, for subsequent display on the web page. Often when creating or editing these editable fields, the web author may improperly spell a word or use incorrect grammar. Accordingly, for quality assurance purposes, the web author may desire to error check any editable fields associated with the web page. Error checking web documents identifies spelling, lexicographical and grammatical errors in the editable fields and provides suggested corrections to any identified errors for use by the author. Thus, the web author is presented with any errors returned by an error checker along with suggested corrections to the errors and given an opportunity to accept a suggested correction, enter a user-defined correction, or ignore the error.


An embodiment consistent with the invention may include a system for error checking web documents. The system may comprise a memory storage and a processing unit coupled to the memory storage. The processing unit may be operative to determine editable text to be error checked within content used in generating a web page and remove text formatting from the editable text. The processing unit is also operative to send the editable text to an error checking module to determine whether errors exist, and display the errors to a user which may be corrected or ignored by the user.



FIG. 2 is a block diagram of a system including a computing device 200. Consistent with an embodiment of the invention, the aforementioned memory storage and processing unit may be implemented in a computing device, such as computing device 200 of FIG. 2. Any suitable combination of hardware, software, or firmware may be used to implement the memory storage and processing unit. For example, the memory storage and processing unit may be implemented with computing device 200 or any of the other computing devices 218, in combination with computing device 200. The aforementioned system, device, and processors are examples and other systems, devices, and processors may comprise the aforementioned memory storage and processing unit, consistent with embodiments of the invention. Furthermore, the computing device 200 may comprise an operating environment for an associated system. The system may operate in other environments and is not limited to computing device 200.


With reference to FIG. 2, a system consistent with an embodiment of the invention may include a computing device, such as computing device 200. In a basic configuration, computing device 200 may include at least one processing unit 202 and a system memory 204. Depending on the configuration and type of computing device, system memory 204 may comprise, but is not limited to, volatile (e.g. random access memory (RAM)), non-volatile (e.g. read-only memory (ROM)), flash memory, or any combination. System memory 204 may include operating system 205, one or more programming modules 206, and may include a program data 207. Operating system 205, for example, may be suitable for controlling computing device 200's operation. In one embodiment, programming modules 206 may include an error checking application for determining and addressing textual errors in content used for generating a web page. Programming modules 206 may further include an application program interface (API) 224 for allowing a user writing an application program to make requests of an operating system or another application, and a user program interface (UPI) 222 for transferring text, for example, packaged text which is schematized, from a client-side server (computing device 200) to a web server (other computing devices 218). Furthermore, embodiments of the invention may be practiced in conjunction with a graphics library, other operating systems, or any other application program and is not limited to any particular application or system. This basic configuration is illustrated in FIG. 2 by those components within a dashed line 208.


Computing device 200 may have additional features or functionality. For example, computing device 200 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 2 by a removable storage 209 and a non-removable storage 210. Computer storage media may include 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. System memory 204, removable storage 209, and non-removable storage 210 are all computer storage media examples (i.e. memory storage.) Computer storage media may include, but is not limited to, RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store information and which can be accessed by computing device 200. Any such computer storage media may be part of device 200. Computing device 200 may also have input device(s) 212 such as a keyboard, a mouse, a pen, a sound input device, a touch input device, etc. Output device(s) 214 such as a display, speakers, a printer, etc. may also be included. The aforementioned devices are examples and others may be used.


Computing device 200 may also contain a communication connection 216 that may allow device 200 to communicate with other computing devices 218, such as over a network in a distributed computing environment, for example, an intranet or the Internet. Communication connection 216 is one example of communication media. Communication media may typically be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media. The term computer readable media as used herein may include both storage media and communication media.


As stated above, a number of program modules and data files may be stored in system memory 204, including operating system 205. While executing on processing unit 202, programming modules 206 may perform processes including, for example, one or more method 300's stages as described below. The aforementioned process is an example, and processing unit 202 may perform other processes. Other programming modules that may be used in accordance with embodiments of the present invention may include electronic mail and contacts applications, word processing applications, spreadsheet applications, database applications, slide presentation applications, drawing or computer-aided application programs, etc.



FIG. 3 is a flow chart setting forth the general stages involved in a method 300 consistent with an embodiment of the invention for error checking web documents using system 200 of FIG. 2. Ways to implement the stages of method 300 will be described in greater detail below. Method 300 may begin at starting block 305 and proceed to stage 310 where computing device 200 may be utilized to determine which text within a web document used in generating a web page should be error checked based on, for example, an assigned attribute which is associated with the text. Accordingly, computing device 200 may identify editable text within the web page upon a request by a web author to error check text within the web page. Each piece of editable text determined to be error checked may be assigned an identifier. Some subsequent processes may choose to refer to one or more specific text pieces by the assigned identifier. Once the editable text within the web page has been determined, the method 300 proceeds to stage 315 where computing device 200 may remove any text formatting, for example, italics, from the editable text. Next, at stage 320, the computing device 200 may determine where the editable text is located within the web page. For example, a web page may include several text boxes having editable text in different locations, i.e., a web page title, web link names, frame text and text within a main section of the web page (see FIG. 1).


Next, at stage 325, the computing device 200 may combine any editable text pieces and assigned identifiers into a single package. The computing device 200 may utilize a schema, for example, an Extensible Markup Language (XML) schema, to combine the designated text into a single text package. In addition, the editable text may be separated from other editable text based on the location of the editable text within the web page using a separator, for example, a delimiter. The delimiter may be recognized as a separator by the computing device 200 and the other computing devices 218. At stage 330, the computing device 200 may send the single text package to the other computing devices 218, for example, a web server, for error checking. The computing device 200 may utilize the API 224 to facilitate the initiation of error checking by the web server. Subsequently, at stage 335, the web server may disassemble the package into discrete text pieces and associated assigned identifiers and determine spelling, lexicographical and grammatical errors. If the web server finds text considered to be erroneous, for example, misspelled text, the web server may determine suggested corrections for the misspelled text.


Upon completion of error checking by the web server, the method 300 proceeds to stage 340 where the web server may create a single response package to be sent to computing device 200. The response package may contain the assigned identifiers of the text pieces in which errors were detected along with any suggested corrections. At stage 345, the computing device 200 disassembles the single response package according to text properties prior to stage 325. Accordingly, text errors and suggested corrections sent by the web server to the computing device 200 may be associated with a particular text box in which the text originally resided at stage 320.


Next, at stage 350, the computing device 200 may present the text errors to the web author using the UPI 222, which is further discussed in FIG. 4. Accordingly, at stage 355, the web author may review the text errors and suggested corrections of the text errors and may ignore the text error, accept a suggested correction to a text error or enter a user defined correction to the text error. At stage 360, the web author may save text including any error corrections in computing device 200. When the web author requests that the text be saved to the computing device 200, the computing device 200 saves the file with error corrections. In addition, the computing device 200 re-applies any text formatting removed at stage 315 for viewing by the web author. However, images, links or HTML may not correctly save error corrected text merely by saving the file. Some fields in the web page may be composite fields which are constructed using multiple components. Accordingly, when error checking images, links and HTML, a field visible to a web author and a hidden field for use by the computing device 200 and other devices 218 are utilized. Computing device 200 saves and displays the field with error corrections including the field's original formatting in a format viewable by the web author and saves a redundant copy of text as a hidden field which is utilized by the computing device 200 and the other computing devices 218. The computing device 200 associates the field in a viewable format with the hidden field using an attribute having, for example, a unique identification tag for the viewable field and a unique identification tag for the hidden field.



FIG. 4 illustrates an exemplary UPI 222 for the computing device 200, according to one embodiment. Text box 402 displays a portion of text selected for error checking by a web author when checking for errors in text that is utilized in creating web pages. Within the text box 402, a potentially misspelled word may be brought to the attention of the web author by, for example, underlining the potentially misspelled word. Additional portions of text may be included in text box 402 to allow the user to determine a context for the potentially misspelled word. When the computing device 200 determines that a potentially misspelled word exists in text box 402, the computing device 200 also displays the potentially misspelled word in text box 404. The computing device 200 may provide one or more suggested corrections for the potentially misspelled word in text box 406. However, if the web author determines that the suggested correction is not acceptable, the web author may enter his or her own correction to the potentially misspelled word in text box 404.


When the computing device 200 displays the potentially misspelled word in text box 402 and text box 404, the web author may skip the potentially misspelled word using an Ignore button 408, and may also skip the same potentially misspelled word throughout the document using an Ignore All button 410. In addition, if the web author enters a word in text box 406 to replace a misspelled word, the web author may replace a single error using a Change Once button 412, or multiple errors of the misspelled word throughout the text using a Change All button 414.


Consistent with embodiments of the present invention, the computing device 200 and the other computing devices 218 may be utilized for error checking editable text used for creating web content. The web page may utilize a variety of formats, for example, HTML, XML, Standard Generalized Markup Language (SGML) or the like. Consistent with embodiments of the present invention, the computing device 200 and the other computing devices 218 may provide a variety of error checking options, for example, page level error checking (error checking for an entire web page), error checking using a web storage system edit form, error checking HTML text within an HTML editor, or the like.


Consistent with embodiments of the present invention, error checking may be provided for a variety of text fields utilized in creating web content, for example, single line text fields, multiple line text fields, a content management server (CMS) HTML field, a CMS link field, a CMS image field, other 3rd party fields, or the like. A field can identify client-side script functions to be used when getting or setting a field value. These associated functions may allow visible and hidden fields to be read or modified in a synchronized manner. In an exemplary embodiment, HTML attributes called GetContent and SetContent, each of which contain a name of a client function such as myFieldType_Get or myFieldType_Set, may be used when getting or setting the field value. Consistent with embodiments of the present invention, an error checking module may reside in the computing device 200, a server connected to computing device 200, or both the computing device 200 and server connected to computing device 200.


Generally, consistent with embodiments of the invention, program modules may include routines, programs, components, data structures, and other types of structures that may perform particular tasks or that may implement particular abstract data types. Moreover, embodiments of the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. 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. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.


Furthermore, embodiments of the invention may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. Embodiments of the invention may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuits or systems.


Embodiments of the invention, for example, may be implemented as a computer process (method), a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process. Accordingly, the present invention may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). In other words, embodiments of the present invention may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. A computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.


The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific computer-readable medium examples (a non-exhaustive list), the computer-readable medium may include the following: an electrical connection having one or more wires, a portable computer diskette, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CD-ROM). Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.


Embodiments of the present invention, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to embodiments of the invention. The functions/acts noted in the blocks may occur out of the order as show in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.


While certain embodiments of the invention have been described, other embodiments may exist. Furthermore, although embodiments of the present invention have been described as being associated with data stored in memory and other storage mediums, data can also be stored on or read from other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks, or a CD-ROM, a carrier wave from the Internet, or other forms of RAM or ROM. Further, the disclosed methods' stages may be modified in any manner, including by reordering stages and/or inserting or deleting stages, without departing from the invention.


While the specification includes examples, the invention's scope is indicated by the following claims. Furthermore, while the specification has been described in language specific to structural features and/or methodological acts, the claims are not limited to the features or acts described above. Rather, the specific features and acts described above are disclosed as example for embodiments of the invention.

Claims
  • 1. A method for identifying text errors within a web page, the method comprising: determining text for error checking within content used in generating the web page;determining where the text is located within the web page;sending the text to an error checking module;determining if errors exist within the text; anddisplaying errors within the text to a user, wherein the user is permitted to edit the text based on the errors returned by the error checking module.
  • 2. The method of claim 1 further comprising: assigning an identifier to the text; andpackaging the text using a schema, wherein the packaged text is sent to the error checking module.
  • 3. The method of claim 2, wherein delimiters separate portions of the packaged text.
  • 4. The method of claim 1, wherein the errors are spelling errors.
  • 5. The method of claim 1, wherein the errors are grammatical errors.
  • 6. A system for identifying text errors within a web page, the system comprising: a memory storage; anda processing unit coupled to the memory storage, wherein the processing unit is operative to: determine editable text for error checking and assigning an identifier to the editable text;remove text formatting from the editable text;send the editable text to an error checking module;determine if errors exist within the editable text received by the error checking module; anddisplay errors within the editable text to a user, wherein the user is permitted to edit the text.
  • 7. The system of claim 6, wherein the error checking module is associated with a web server.
  • 8. The system of claim 6, wherein the error checking module is associated with a client-side server.
  • 9. The system of claim 6 further comprising packaging the text using a schema, wherein the packaged text is sent to the error checking module.
  • 10. The system of claim 6 further comprising saving edits made by the user, wherein the saving of edits made by the user updates a visible field and a hidden field.
  • 11. A computer-readable medium which stores a set of instructions which when executed performs a method for identifying text errors within a web page, the method executed by the set of instructions comprising: determining text for error checking within content used in generating the web page;sending the text to an error checking module;determining if errors exist within the text; anddisplaying errors within the text to a user, wherein the user is permitted to edit the text.
  • 12. The computer-readable medium of claim 11 further comprising: assigning an identifier to the text; andpackaging the text using a schema, wherein the packaged text is sent to the error checking module.
  • 13. The computer-readable medium of claim 12, wherein delimiters separate portions of the packaged text.
  • 14. The computer-readable medium of claim 13, wherein the error checking module separates the packaged text using the delimiters.
  • 15. The computer-readable medium of claim 11 further comprising saving edits made by the user in response to the displayed errors.
  • 16. The computer-readable medium of claim 15, wherein the saving of edits made by the user updates a visible field and a hidden field.
  • 17. The computer-readable medium of claim 16, wherein the visible field and the hidden field are associated using attributes.
  • 18. The computer-readable medium of claim 11, wherein the web page is formatted in at least one of the following formats: plain text, HTML, XML and SGML.
  • 19. The computer-readable medium of claim 11, wherein the user can review each error and replace the error with a correction suggested by the error checking module.
  • 20. The computer-readable medium of claim 11, wherein the user can review each error and replace the error with user-specified text.