Integration

Line Separator

Notice: The product development lifecycle of edit-on Pro has ended, but it is still commercially available through a variety of sources. RealObjects also continues support for edit-on Pro and the VersioTrack Add-on, including the supply of bugfixes. Existing customers of course can further use edit-on Pro.

However, we recommend to upgrade to our next generation HTML online editor.

edit-on NG

Integration

Compatibility with Prototype JavaScript Library for seamless integration with AJAX technology

According to Prototype (see also www.prototypejs.org) "Prototype is a JavaScript Framework that aims to ease development of dynamic web applications. Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere."

RealObjects edit-on Pro supports Prototype, which allows a seamless integration with the very popular AJAX technology. In combination with the Dynamic hiding and resizing of the editor using the JavaScript API special effects as shown in the CMS VersioTrack Demo can be achieved.

Powerful JavaScript API

One of edit-on Pro's strengths is the powerful JavaScript developer API, which lets you determine how edit-on Pro manages content and the user experience. It gives you the ability to adopt the editor to your unique environment. A main advantage of edit-on Pro's JavaScript API is the common integration method working on all officially supported browsers and client operating systems, thus reducing integration work and costs to a minimum

Here are some of the things that you can control using the API:


Editor's
preferences for an individual editing

  • Enable/disable the applet's caching mechanism.
  • The applet can be loaded using one of four default user interface languages.
  • Load additional Java archives used to add custom Java dialogs to the applet.
  • Preset a special "New Document" dialog preventing the user from loosing temporary editor contents.
  • Set the background color of the editor's startup screen.
  • Set the image base, the URL from which all images will be referenced using relative paths.
  • Set a custom look and feel for the editor's UI to adapt the style of common operating. systems, such as Windows, Mac etc.
  • Enable/disable the applet's XHTML source view tab, e.g. to prevent modifying default templates.
  • Customize all lingual expressions for the complete user interface.

Importing options

  • Import HTML documents into the editor.
  • Import HTML content fragments into a previously loaded document.
  • Import HTML documents from an external URL.
  • Import CSS style sheet definitions.
  • Import a CSS style sheet (from an URL), which will be applied in the WYSIWYG view.
  • Preset a default XHTML string (template), which will be loaded whenever the user creates a "New Document".
  • Set the default template by loading it from a URL.
  • Display the editor's WYSIWYG area only, e.g. for replacing a HTML  that enables rich text editing comfort instead of plain.

Actions available during run-time

  • Import HTML documents into the editor.
  • Import documents from an external URL.
  • Load CSS fragments during run-time.
  • Clean all CSS styles defined by the user, e.g. to prevent CSS changes for steady company style sheets.
  • Insert a custom XML tag as predefined within a custom DTD during run-time.
  • Insert an image via JavaScript.
  • Insert HTML content at the current cursor position.
  • Insert external content from another URL at the current cursor position.
  • Change the content of the XHTML element wherein the cursor is currently located.
  • Return an XHTML element (or its content) that surrounds the current cursor position.
  • Preset the focus on the editor as it is part of e.g. a HTML form.
  • Retrieve the HTML value of current content selection in the editor.

Check editor's settings during run-time

  • Retrieve the property which decides whether the source view mode is activated.
  • Return a Boolean value on whether there have been changes on the document since it was loaded.
  • Return the value of current user interface language.
  • Set or retrieve the content of the editing document's element (including CSS/JavaScript/Meta Data/Document Title).
  • Retrieve the value of the applet's encoding settings.
  • Request the URL of pages which should be loaded in case a document wasn't found (404).
  • Open the "Insert Image Dialog" using JavaScript in order to retrieve a Boolean value if the insertion was successful. This value can be passed to an external JavaScript function for e.g. activate an automatic image upload to the servers repository.

Options for exporting contents

  • Retrieve the editors content as plain text without any formatting.
  • Automatically post the XHTML content using HTTP direct connection. Optionally an additional custom field could be posted together with the editor's content.
  • Encode/decode text contents to common encodings (UTF8, USASCII etc.) or HTML.
  • Pre-define the encoding the editor's content should have (also when exporting).
  • Export special characters as numerical HTML entities.
Dynamic hiding and resizing of editor using the JavaScript API, e.g. hide editor during loading, special effects using AJAX technology

The Compatibility with Prototype JavaScript Library together with the dynamic hiding, fading and resizing of the editor using the JavaScript API allows you to achieve special effects as shown in the CMS VersioTrack Demo.

Alternative HTTP direct connection API

Due to security considerations some customers might prefer not to use JavaScript within their application or IT infrastructure. Therefore edit-on Pro offers a direct HTTP connection API to be used to interface with the editor instead of the JavaScript API.

Enhanced WebDAV protocol support

WebDAV stands for "Web-based Distributed Authoring and Versioning". It is a set of extensions to the HTTP protocol allowing users to interact with content repositories on remote web servers. edit-on Pro supports WebDAV to streamline the process of users for browsing images and uploading them to an image repository on a web server running the application edit-on Pro is embedded in.

For example users can "copy and paste" or "drag and drop" images from any source (also local hard drives) to the editor. They can even draw graphics (e.g. using MS Word) and paste or drop them into the editor.

When saving the document, users will have the possibility to rename each image file, multimedia object or even the document itself and sort them into the determined WebDAV server directories while the file path will automatically be converted from the original source to the WebDAV server during the upload process, see e.g automatic image upload. The user can also browse and insert links from a WebDAV repository.

Support of all server-side scripting languages like PHP, JSP, ASP, ASP.NET, Perl, Python etc.

To make the integration into your Content Management, Knowledge Management, e-Learning or other web-based system as easy and as flexible as possible, edit-on Pro supports all server-side scripting languages like PHP, JSP, ASP, ASP.NET, Perl, Python etc. This significantly reduces integration costs and time.

Samples illustrate various integration scenarios

The edit-on Pro installation/trial package comes with various samples demonstrating the functionality and integration.

Comprehensive integration manual

RealObjects edit-on Pro comes with a comprehensive integration Manual in PDF format and HTML format.

Download

The Java Applet Rich Text Client adds comprehensive WYSIWYG XHTML/XML editing functionality to a wide range of Content Management... more

Request Trial

Request a free trial and integrate the RealObjects electronic publishing and content authoring tools. more

Buy / Upgrade

Already convinced? Buy edit-on Pro or upgrade to the latest edit-on Pro version. more

Case Studies

We invite you to review our customer case studies to find out how our solutions have helped others optimize user productivity. more

Copyright © 2000-2012 RealObjects GmbH
Bookmark this on Delicious Slashdot it