Yulup User Manual

2007-09-18

Abstract

The user manual for Yulup.


Table of Contents

1. Introduction
2. Notational Conventions
3. System Requirements
4. Installation
4.1. Install
4.2. Update
5. Concepts
5.1. Webbrowser View and Editor View
5.2. Webpages, Documents and Document Fragments
6. Opening and Creating new Documents
6.1. Opening Documents
6.1.1. From the Webbrowser View
6.1.1.1. Open Document from CMS
6.1.1.2. Open Document As-Is
6.1.2. Inside the Editor
6.1.2.1. Open Document from CMS
6.1.2.2. Open Document from Local Filesystem
6.2. Creating Documents
6.2.1. From the Webbrowser View
6.2.2. Inside the Editor
7. Saving Documents
7.1. Save Document
7.2. Save Document As...
8. Uploading Documents/Assets
8.1. From the Webbrowser View
8.2. Inside the Editor
9. Editing Documents
9.1. Source Mode
9.1.1. Guided Tag Inserter
9.2. WYSIWYG Mode
9.2.1. XHTML Mode
9.2.1.1. Context Menu
9.2.1.2. Path Toolbar
9.2.2. XML Mode
9.2.2.1. XPath Toolbar
9.3. Key Bindings
9.3.1. Standard Key Bindings
9.3.2. Readline (Emacs) Key Bindings
9.4. Find & Replace
9.4.1. Find
9.4.2. Find & Replace
9.5. Exiting the Editor
10. Authentication
10.1. Login
10.1.1. Text Fields (Autocompleted)
10.1.2. Password Fields
10.2. Logout
11. Sidebars
11.1. Blog Entries Management
11.1.1. Selecting Workspaces and Collections
11.1.2. Feed Information
11.1.3. Feed Entries
11.1.3.1. Editing Feed Entries
11.1.3.2. Deleting Feed Entries
11.1.4. Searching a Feed
11.2. Page Management
11.2.1. Navigating the Remote Hierarchy (Sitetree)
11.2.2. Accessing the Elements of the Current Page
11.2.2.1. Opening Old Revisions
11.2.2.2. Displaying Detailed Revision Information
11.2.2.3. Performing Workflow Transitions
12. Preferences
12.1. General
12.1.1. Workspace
12.1.2. Default CMS
12.1.3. Sidebars
12.1.4. Default Character Set
12.2. Editor
12.2.1. Key Bindings
12.2.2. Layout
12.2.3. Appearance
A. Using Yulup with WebDAV

Yulup is a Neutron-enabled editing client, based on the Mozilla platform. It is available as an extension (also called add-on) for Mozilla Firefox.

With Yulup, you can edit the following document types:

  • XML.  You can edit plain XML documents in source mode.

  • XML with associated XSLT.  You can edit XML with associated XSLT documents in source as well as WYSIWYG mode. To display your XML document in the WYSIWYG mode, it is first transformed using the associated XSLT document. Any changes you make to your document in the WYSIWYG view are then propagated back to your XML source.

  • XHTML.  You can edit XHTML documents in source as well as WYSIWYG mode.

  • HTML.  You can edit HTML documents in source as well as WYSIWYG mode.

Yulup allows for seamless interaction with Neutron-enabled Content Management Systems, making editing a breeze. When visiting a certain document, you can directly check out the source from your CMS, edit it, and store it back without further interaction with the CMS.

The Yulup editor strives to bridge the gap between the Web and the desktop. Traditional editors were either stand-alone desktop applications, or in-browser tools. Stand-alone applications obviously lead to an impedance-mismatch between the user's browsing and publishing activity on the Web and the editing of documents. In-browser editors on the other hand can avoid this gap, but lack the features of a stand-alone application like access to the desktop, offline editing, import/export filters, etc. Furthermore, they often perform poorly or have scalability issues.

Yulup tries to bring together the Web and the desktop, offering the full capabilities of a conventional desktop application, but avoiding the gap between the browsing and publishing workflow by being integrated seamlessly into the browser. This enables the user to stay in the same application, no matter if she is browsing, reading, editing or publishing.

  • Keyboard Shortcuts.  Keyboard shortcut combinations may contain a component called Accel. This is a platform specific key used to start certain shortcut combinations.

    On Mac OS X, the Accel component denotes the Cmd key. On all other platforms, this denotes the Ctrl key.

Yulup requires Mozilla Firefox with a minimum version of 2.0. The Yulup editor is a platform-independent application, and can therefore be run on every machine which also runs Firefox.

For a first-time install, please refer to the Install section. If you want to update a Yulup installation to the latest version, refer to section Update.

  1. Open Firefox.

  2. Go to http://www.yulup.org/.

  3. Click the Download Yulup link.

  4. In the requester which just popped up, click Install Now.

  5. Restart Firefox.

You are done. You can verify that the installation was successful by opening Firefox's extension manager (Tools >> Add-ons). There, an entry for Yulup should appear.

It is important to realise that a webpage, as you may see when browsing a CMS, is not actually what is stored on the server as the source, and not necessarily every portion in a webpage can be edited. For example, a typical webpage may consists of a navigational part, a main content part, and a news section. The navigational part may not be editable, because it is generated dynamically by the webserver, and not stored in any document source file. Furthermore, the main content and the news section themselves may not live inside the same document. In fact, your webserver may dynamically aggregate these two parts (called document fragments) from two different source files, and then add the navigational part.

But there is more to that. After having constructed such a document, it may not be displayable by a webbrowser, because its format lacks the representational aspects of a webpage, i.e. the formatting. These formatting instructions may come from another different document, and the webserver first has to process the content, applying this representational information.

This makes it clear that it is not straight forward to edit a webpage as you can see it rendered by your webbrowser. Although this is perfectly possible, it may not have the effect you would like to see, namely the changes you made in that webpage to be incorporated back into the various source documents which make up this webpage.

What you would like to do is therefore having a way of making the changes you want directly in the various document fragments a webpage is made up from, but nevertheless having the document rendered like it would be by a webbrowser if you would not be editing it.

You can open and create documents starting from two different points: either from your normal webbrowser view or from within the editor itself.

Once a document was modified in the editor, there are several possibilities to store the document.

There are two fundamentally different editing modes in Yulup: the Source and WYSIWYG mode. In the Source mode you can edit documents on the source level, i.e. you can directly modify the document markup. In the WYSIWYG mode view, you modify the graphical representation of a document. With other words: whatever you do, the document looks exactly like it is served by your web server and later rendered by the browser.

Despite these two different modes, they share a common toolbar.

This toolbar provides you the ability to save, upload, open or create new documents, undo/redo operations, cut, copy and paste from and to the system clipboard, as well as modify the document currently edited by e.g. inserting new elements.

Editing in the source mode allows you to edit the source of the document, e.g. the XML tags, directly. The source mode can be used if the abstraction level of the XHTML mode or the XML mode is too high, or you are an expert user and want to work with the source itself.

The WYSIWYG mode enables you to work with the document as it would look like if you were viewing the final result. This means that the document looks the same as if you would be looking at the document with your webbrowser or other viewer.

The XHTML mode allows you to work with an XHTML document. Most of the usual elements of XHTML are available from the toolbar.

The CMS serving the documents to edit may decide to protect individual documents. In order to access such documents, you might have to authenticate yourself to the system by entering a set of credentials.

Sidebars are UI elements which are usually opened on the left hand side of the web browser. There are several standard sidebars delivered with Firefox, and Yulup adds two new ones, an Blog Entries Management sidebar and a Page Management sidebar.

Sidebars can generally be accessed either via the View >> Sidebar menu, or via a keyboard shortcut specific to each sidebar.

The Blog Entries Management sidebar can be accessed either via the View >> Sidebar >> Blog Entries Management menu item, via the Blog Entries Management menu item in the Yulup menu, or via the Accel+Shift+B keyboard shortcut.

Once the Blog Entries Management sidebar is open, you can close it by unchecking it in one of the above mentioned menus, by hitting the Accel+Shift+B keyboard shortcut again, or by clicking the close button in the upper right corner of the sidebar.

Note that the Blog Entries Management sidebar cannot be opened if the currently shown document does not contain a link to an APP Service Document.

The Page Management sidebar can be accessed either via the View >> Sidebar >> Page Management menu item, via the Page Management menu item in the Yulup menu, or via the Accel+Shift+P keyboard shortcut.

Once the Page Management sidebar is open, you can close it by unchecking it in one of the above mentioned menus, by hitting the Accel+Shift+P keyboard shortcut again, or by clicking the close button in the upper right corner of the sidebar.

You can open the preferences dialog by either choosing Preferences in the Yulup menu, or by opening the extension manager, selecting the Yulup entry, and then clicking on the Preferences button.

The preferences dialog is divided into two sections: General, and Editor.

In the General section, you can edit settings related to the overall usage of Yulup.

Enter the URI of the CMS you use most. This URI is evaluated e.g. when using the Page Management, or when you try to upload a new document to your CMS, but no CMS URI can be found via Neutron.

A. Using Yulup with WebDAV

You can use Yulup together with a WebDAV-enabled backend for browsing and storing documents. In order to use WebDAV, simply point your default CMS (see Default CMS) to your WebDAV server.

Then, you can use the Page Management to browse the WebDAV repository, and you can use the various upload functionalities to store documents on your WebDAV server.