Re: Data Persistence and File Generators

Markus Vaterlaus <[email protected]> Sat, 14 Dec 2002 00:35:08 +0100
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Hi Julian, hi list,

you'll find some short answers below. Hope they might help you.

Am Freitag, 11.10.02 um 17:04 Uhr schrieb Julian Klein:

> Hi all,
>
>    I have been looking at WYONA for about a week now
> and I have a decent grasp of cocoon.  The problem I am
> facing now involves the location of some data.  I
> installed wyona in the normal fashion and have been
> trying out the forum publication.  The only problem is
> when I make a change to an article in the forum, I
> can't find where the change occured.  If I go to the
> "article".xml file in the atricle sub-direcotry of
> authoring, the original data is still there.  I looked
> in the src, build, and usr/local/tomcat/webapps/...
> locations of the wyona-cms install, but still was
> unable to locate the information I entered in via
> Xopus (eventhough the changes are visible when
> browsing the forum).  Can anyone point me to the
> location of this data?
>

Please have a look at

wyona-cms/wyona/cms/pubs/forum/docs/publication/authoring/articles/

each article resides inside it's own folder


> Problem 2:
> The next problem is similar to the one above.  In the
> authoring view of the forum, I have about four
> @sample@ listings, but have no idea why they are being
> rendered since they are not in the articles directory
> under the authoring directory of the forum pub?
>

the seven articles that come with the distribution also reside in 
subfolders of the folder mentioned above, named 2000 trough 2006.

> Problem 3:
> When cocoon is using a generator to write an xml file
> to be passed to a serializer (e.g. article.xml), is
> that file stored on disk?  I looked through the
> various sitemaps and was unable to determine this.  I
> also wondered how cocoon knew what the source/input
> for this file being generated was?
>

Did you look at live-sitemap.xmap and authoring-sitemap-xmap in the 
forums directory?

Apart from that, a generator output used in a cocoon-pipeline doen't 
have to be a physical file. Look at the following snippet from a 
pipeline.

<map:pipeline>
      <map:match pattern="suck_page">
	<map:generate src="http://www.wyona.org/" type="html"/>
	<map:transform src="transform/html_wyona2xml.xsl"/>
	<map:serialize type="xml"/>
</map::match>
</map:pipeline>


Cheers!

Markus


>
> Thanks for all and any help.  I sincerely hope to get
> going with Wyona b/c it seems to be a great cms!
>
> -Julian
>
> =====
> Live simply so others may simply live.
> †
> -Ghandi
> †
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily"
> †
> -William of Occam
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
> _______________________________________________
> WyonaCMS-users mailing list
> [email protected]
> http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
>