The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various embodiments of the present invention. In the drawings:
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.
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.
With reference to
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
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.
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
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.