[daisy] Getting at older content after new version created

Bruno Dumon bruno at outerthought.org
Tue Apr 8 22:20:47 CEST 2008


It is also possible to retrieve the content of each part directly.

Here's an example:
http://cocoondev.org/daisydocs-2_2/154-cd/version/1/part/SimpleDocumentContent/data

In general, when viewing any document, drop the '.html' extension from
the URL, and add:
/version/1/part/SimpleDocumentContent/data

in which the '1' is the version number.

On Tue, 2008-04-08 at 12:12 -0700, Lou Parisi wrote:
> To get at the raw HTML you can follow the procedure I outlined to bring the
> old version up in the editor.  Then click the editor icon <> to switch to
> html view.
> You can "get to the raw HTML" from here.  Once you are done simply click
> cancel in the editor and the document will not be saved and the original
> live document will remain the current live document.
> 
> Lou
> 
> 
> 
> Shon Schetnan-2 wrote:
> > 
> > 
> > We want to get at the content as you are referring to in #3, and #4 below. 
> > However, we don't want to revert the document to the old version, we just
> > want to get at the html.  
> > 
> > 
> 
> On 4/7/08 10:55 AM, "Parisi, Lou" <Lou.Parisi at photomask.com> wrote:
> 
> Your question is a little confusing because you mention "get at the raw
> HTML" so I am not sure what you want to do exactly.
> 
> To create a new version of a document based on a previous version do the
> following:
> 1. Go to the current live document in the browser
> 2. Under the actions menu select versions
> 3. For the version you want to use as the basis for the new document click
> "Revert to this"
> 4. This will open up the selected version in the document editor.  You can
> edit and save the document from here.
> 
> If you only wish to view the older version, in number 3 above click on the
> version number instead of the revert to this link and you browse to the
> selected version of the document.
> 
> Lou
> 
> 
-- 
Bruno Dumon                             http://outerthought.org/
Outerthought                            http://www.daisycms.org/
bruno at outerthought.org              http://www.kauriproject.org/



More information about the daisy mailing list