Hi,
yes, I have implemented a blog system, but it still has performance
issues that makes it less... nice... at the moment. It is implemented
in Cocoon/eXist.
I have described my approach in a paper, that you can read here:
http://www.ida.liu.se/~jonlu/publications/permalink-207.htm
(My home
A good method of reading RSS in Cocoon... From what you wrote in that
thread, I thought it can't be done yet but It would be very
useful. Do you have an example of how to do it?
Regards
Hans
On 12/4/06, Ard Schrijvers [EMAIL PROTECTED] wrote:
See this thread how to correctly handle RSS:
It can happen that the web browser either does not support UTF-8 for
Ajax calls, or that you have not set the Ajax call to accept UTF-8 (In
Firefox, for instance, I have not been able to set the actual encoding
for Ajax calls, although it might be possible) (Note that setting the
actual encoding
I recommend the Listamatic page by Russ Weakley at Max Design
http://css.maxdesign.com.au/listamatic/
I also recommend his book, CSS in 10 minutes. You can listen to an
interview with him here:
http://www.ida.liu.se/~HDISX4/podradio/openradio_en.htm
Regards Hans
On 8/11/06, Derek Hohls [EMAIL
:-)
Thanks
Hugh
On 7 Aug 2006, at 14:29, Jonas Lundberg wrote:
Yes, exactly. I want to tidy the word html file before doing other
transformations. That would be very useful. I expect that it will then
be easy to create a small CMS, with limited functionality, based on
that.
Regards
Hans
Would it be possible / easy (?) to include a html tidy generator in
paloose, do you think?
Something like: http://www.coggeshall.org/oss/tidy/
(I am not an expert on PHP, so this might be a very basic question...
maybe even a stupid one...)
I'd like to use Tidy, because then Word (saved as html)
to generate tidied code from existing XML
transformed into HTML then tidy is not really needed as the results from the
serialize component in the pipeline already effectively does a tidy
function: well formed HTML etc.
Is this what you want to do ?
Regards
Hugh
On 7 Aug 2006, at 10:14, Jonas Lundberg
Shape CMS has forums, looking like this:
http://shapecms.sourceforge.net/forum/index.html
It uses the eXist database. Is it something like that which you need?
Regards
Hans
On 6/14/06, Abbas Mousavi [EMAIL PROTECTED] wrote:
Hi All
Does anyone knows anything about a cocoon based forum
I am working on a content management system, where I would like to
import images for image galleries, audio for podcasting, and video for
video galleries. When doing this, it would be very useful to be able
to figure out the dimensions of images, the length of podcasts, and
the dimensions and
- 21
fax: 0 61 51 / 66 717 - 29
email: [EMAIL PROTECTED]
http://www.univativ.de
Darmstadt, Stuttgart, Karlsruhe, Düsseldorf
-Ursprüngliche Nachricht-
Von: Jonas Lundberg [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. Juni 2006 14:19
An: users@cocoon.apache.org
Betreff: How to extract image
, Karlsruhe, Düsseldorf
-Ursprüngliche Nachricht-
Von: Jonas Lundberg [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. Juni 2006 14:47
An: users@cocoon.apache.org
Betreff: Re: How to extract image, audio and video metadata from media files
in Cocoon?
Thanks Christofer. That only solves part
Does no one have advice on how to get Cocoon to run faster / use less resources?
Regards
Hans
On 5/31/06, Jonas Lundberg [EMAIL PROTECTED] wrote:
I have some performance problems running Cocoon 2.1.8, with the
default build, and eXist added to that. The system is quite fast in my
development
I have some performance problems running Cocoon 2.1.8, with the
default build, and eXist added to that. The system is quite fast in my
development environment, but the server I try to deploy it on gets
problems.
That system runs debian sarge, Tomcat 4.1.31-3. Sun java 5, with Heap
555M. We also
Are you sure that the data you read is actually encoded in UTF-8?
Regards
Hans
On 5/20/06, Abbas Mousavi [EMAIL PROTECTED] wrote:
Hi,
I have some problem concerning JTidy. I read some UTF-8 data from a WYSIWIG
javascript editor through the request generator to my pipeline.
then I want to
it.
If properly configured in the sitemap, you can have cocoon cache the
result for you, so that soffice.exe isn't called too often.
It's not the easier task, but I hope this helps.
Simone
Jonas Lundberg wrote:
I have been looking around for word .doc - xml converters for a while.
The docvert
I have been looking around for word .doc - xml converters for a while.
The docvert approach seems promising (
http://holloway.co.nz/docvert/index.html ).
It uses openOffice batch conversion to achieve the transformation. It
does so by invoking:
C:\Program Files\OpenOffice.org
It seems that no one works on Xindice anymore. At least, I have found
no new versions since 2004.
I would recommend that you use eXist instead of Xindice, if you want
an XML database.
http://exist.sourceforge.net/
Regards
Hans
On 1/31/06, Mike Casey [EMAIL PROTECTED] wrote:
Hi All,
I am
I see. I was looking at the downloads page...
Regards
Hans
On 1/31/06, Andre Juffer [EMAIL PROTECTED] wrote:
Jonas Lundberg wrote:
It seems that no one works on Xindice anymore. At least, I have found
no new versions since 2004.
The last version is 1.1b5-dev (May 25 2005)
See http
If you just want to get rid of the cache for now, then you could try
to delete the contents of the work and temp folders. (For instance
Tomcat 5.5/Work, Tomcat 5.5/temp).
Regards
Hans
On 1/25/06, Christian Barth [EMAIL PROTECTED] wrote:
Hi!
I havn't changed the data. I changed the way the
Maybe we have a misunderstanding here...
I only changed the the methods getKey() and getValidity() in the
xQuery generator in the previous eXist distribution. I simply replaced
these methods with the corresponding methods from the Event Aware
block samples (as described in the block description).
I might be wrong, but I think that authentication data is only
available inside map:act type=auth-protect/map:act
Regards
Hans
On 1/24/06, Derek Hohls [EMAIL PROTECTED] wrote:
I am trying to obtain authentication data inside and outside of protected
pipeline.
INSIDE the pipeline I have :
and replaced with the cached
contents).
Hans
On 1/23/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Jonas Lundberg:
Nevermind... I solved it by implementing Event Caching in the
Xquery Generator, as described in the Event Caching block.
You have to use sitemap parameter «cache
I just noticed that FOP pdf generation with GIF images does not work
with my Cocoon 2.1.8 installation unless the following is added to
web.xml:
mime-mapping
extensiongif/extension
mime-typeimage/gif/mime-type
/mime-mapping
In the site map I use:
map:match
:
Web.xml mime mappings sounds like a Tomcat issue rather than Cocoon one. I
think you can also supply mime headers via Cocoon during your match but if
it works...
Does the FOP (PDF) still work as planned when a image is not used?
Rob
-Original Message-
From: Jonas Lundberg [mailto:[EMAIL
... anyway, the reason I thought it was Cocoon, is that version 2.1.7
did not have this problem ...
Hans
On 1/23/06, Jonas Lundberg [EMAIL PROTECTED] wrote:
Yes, and jpeg images also work fine. It could be a Tomcat issue... Do
you have the same issue on your system? It works, so I am
I have a strange problem with event-aware caching using Cocoon 2.1.8.
It works, in the sense that I get cached data. It does not work, in
the sense that each request takes several seconds to compute.
I put pages together by using xinclude, which calls stream.xq, to
compute the contents. As a
As I have not been trying to develop Cocoon components before, this is
a very basic question
I would like to find the following package:
package org.apache.cocoon.components.jms
How can I find it? And how can I find other packages in the future?
Regards
Hans
Nevermind... I solved it by implementing Event Caching in the Xquery
Generator, as described in the Event Caching block.
Thanks anyway for the explanation!
Regards
Hans
On 1/14/06, Jonas Lundberg [EMAIL PROTECTED] wrote:
Yes, I would completely understand this, if the contents were not cached
Maybe it would be easier to help you, if you could more about how you
are trying to retrieve the request parameters in Cocoon?
For instance, in xquery, the syntax for multi-part requests is
different from other requests:
to get multi-part requests, whereas you write:
Right. It is not possible to pass the XML to an qxuery pipeline
(starting with an xquery generator), then (unless it is passed as an
escaped string). Thanks for the explanations.
That leaves two options, since the xquery generator does not support
the Cocoon protocol.
a) store from flowscript.
b)
$request is not bound to
a Request object.);
}
}
I think it should be possible to use such a temporary document as
context for the XQuery using XQueryService.query(XMLResource, String).
Jean-Baptiste Quenot wrote:
* Jonas Lundberg:
That might work, but it is not a good solution
I am quite new to flowscript, so this is a basic quesiton...
However, I have not been able to get any of the examples I found on
Google to work.
I have the following flowscript:
function cleanWordHtml() {
var base = Packages.java.lang.String(cocoon.parameters[base]);
var page =
Thanks for the replies.
The problem is that I then have use the xml in a pipeline that starts
with an xquery generator (this is the pipeline I call from the
flowscript):
map:generate src=xq/discuss.xq type=xquery
map:parameter name=cleanedxml value={flow-attribute:cleanxml}/
Therefore,
Peter, I think you might want to integrate eXist with your existing
Cocoon installation:
http://wiki.exist-db.org/comments/CocoonInstall
Regards
Hans
On 1/5/06, Peter Flynn [EMAIL PROTECTED] wrote:
[My apologies for crossposting, but I don't know which community is best
placed to answer this
The xquery stores the XML file in eXist.
Thus, if I try to insert the xml file using an Xinclude in discuss.xq,
and then use an xinclude transformer after generation,
then it will be put there *after* the query is executed. Which is not
useful in this case, since the XML is needed during
=cocoon:/insert-whtm-in-query/discuss.xq/path-to-whtm
And create an new pipeline that includes the cleaned whtm into your xquery
instruction.
:-)
Jonas Lundberg wrote:
The xquery stores the XML file in eXist.
Thus, if I try to insert the xml file using an Xinclude in discuss.xq
the problem remains
Regards
Hans
On 1/5/06, Huib Verweij [EMAIL PROTECTED] wrote:
Jonas Lundberg wrote:
The xquery stores the XML file in eXist.
Thus, if I try to insert the xml file using an Xinclude in discuss.xq,
and then use an xinclude transformer after generation,
then it will be put
] wrote:
Err, perhaps switch to the XML syntax of the XQuery language? That should be
available and I would
be surprised if it is not supported.
I believe there are converters that can translate one to the other..
Regards,
Geert
Jonas Lundberg wrote:
That would work, if I could do
,
Geert
Jonas Lundberg wrote:
That might work, but it is not a good solution for me, although it
might work in other cases. My xqueries are very complex.
But this can't end here, can it? Is there really no way of returning
XML in a parameter from a flowscript in Cocoon?
Regards,
Hans
not seem optimal. I would like to avoid that.
Regards
Hans
http://shapecms.sourceforge.net/
On 1/5/06, Zbigniew Bomert OP [EMAIL PROTECTED] wrote:
Jonas Lundberg wrote:
The xquery stores the XML file in eXist. (...)
You can store xml in eXist from flowscript, without using xquery
This is an example of a flowscript calling a cocoon (2.1.7) pipeline:
function getResource() {
var input = Packages.java.lang.String(cocoon.parameters[input]);
var page = Packages.java.lang.String(cocoon.parameters[page]);
var site = Packages.java.lang.String(cocoon.parameters[site]);
var output
I would like to add a database driver to the Ant page generation task.
I have a web site using Cocoon 2.1.7 with eXist, so I need eXist
during the Ant task. Is this possible?
I tried adding:
load-classorg.exist.xmldb.DatabaseImpl/load-class
to the build.xml file. But then I got the following
On 10/21/05, Christofer Dutz [EMAIL PROTECTED] wrote:
And how can you initially set the auth-data to this guest-user?
That's very easy, fortunately!
Put this in a pipeline: (from the portal block sitemap.xmap)
!-- Do an auto login as anonymous --
map:act type=auth-loggedIn
ShapeCMS is an experimental blog / forum / web site script package
that uses Cocoon with eXist as the XML database. It also integrates
some popular javascript libraries for drag-and drop operations and
content editing.
A description is available at http://shapecms.sourceforge.net/
You can get the
Hi,
you get that problem with XHTML. The browsers cannot render a textarea/.
But maybe you use HTML4? Then it should be no problem to render a textarea/textarea.
HansOn 10/17/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi, We are using cocoon-2.1.7 +
jboss-3.2.7 + windows2000
You can find the blog/forum web site script package at:
http://sourceforge.net/projects/shapecms/
It is an early release. I hope you can get it running.
Hans
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 10/14/05, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Jonas Lundberg:
I have a blog/forum/website script package for Cocoon (using
eXist/xQuery). But I thought that there were many of these
around already. Is there any interest in that?
Yes, I am interested. Is the code
I have a blog/forum/website script package for Cocoon (using
eXist/xQuery). But I thought that there were many of these around
already. Is there any interest in that?
Hans
On 10/12/05, Derek Hohls [EMAIL PROTECTED] wrote:
OK - what you are calling components I would call sub-systems or
For blog, forum, normal web pages, and very basic content management,
I mainly use Coccon/eXist/xQuery. I also have some additional XSLT,
one XSP page and one Flow Script.
If I would add some technology, then it would be cforms with ajax. But
that would not replace my use of eXist/xQuery.
A blog
, so you get my
penny instead ;)
Good to see another person using eXist...
Chris Marasti-Georg
-Original Message-
From: Jonas Lundberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 11:54 AM
To: users@cocoon.apache.org
Subject: Re: Using the output of a pipeline
Thanks! The flowscript now works perfectly!
(I still have to check the Action.)
The final flowscript code was as follows (Just in case anyone else
wants to read this later...)
function getResource() {
var input = Packages.java.lang.String(cocoon.parameters[input]);
var output = new
Thanks for the replies, I'll explain in more detail then.
The images are referenced in an HTML page, which means that the
browser will request them separately after the page is sent. Do you
propose that I somehow embed the image data in the page?
All paths in the system are virtual. I use XML
I have a similar situation, with a discussion forum. It uses different
pipelines depending on the user ID, and also has a pipeline for users
who are not logged in. I show it below. Maybe, it can be useful for you
to look at.
Hans
map:match pattern=*.diskutera
map:act type=auth-loggedIn
Maybe I did not understand your problem... but if you want to do
something after map:serialize, then you can do that in a
different pipeline. Like this:
Use a wrapper, to call the pipeline with your primary generator.
map:match pattern={1}.whatever
map:generate src="">
map:act type=foo /
That sounds like what I need as well. Is there documentation on how to configure it? I find nothing useful on Google.
HansOn 9/15/05, Oliver Powell [EMAIL PROTECTED] wrote:
We use the
org.apache.cocoon.transformation.IncludeTransformer class from the scratchpad
blockin Cocoon 2.1.6. We've
Regards Johnson - Original Message - *From:* Jonas Lundberg mailto:[EMAIL PROTECTED]
*To:* users@cocoon.apache.org mailto:users@cocoon.apache.org *Sent:* Sunday, September 11, 2005 9:30 PM
*Subject:* Re: Welcome to our cocoon site Since it is in Chinese, I can only comment on the HTML code
Since it is in Chinese, I can only comment on the HTML code.
It seems you use tables for layout, which is impractical when you wish
to change the layout. I would recommend using CSS for layout.
Also, the site does not work witouht _javascript_. I would recommend that you avoid _javascript_ for
WordprocessorML documents save images as Base64 blobs in the XML code.
Is there any way of extracting and displaying these images?
(I would not want to write a serializer for this, if there is one already)
Hans
-
To unsubscribe,
for me... Did I get that wrong?
Hans
On 8/18/05, Jorg Heymans [EMAIL PROTECTED] wrote:
Jonas Lundberg wrote:
Am I doing something wrong, or does the directory generator not
support network drives?
In normal java you'ld be able to access the network drive using
(tested from windows
Hi,
I am trying to use the directory generator with a network drive.
Network drive paths works with for instance the html generator, but
not with the directory generator (Cocoon 1.7.1).
I try the following:
map:generate type=directory src=\\Bambi\store\xml\
(the generator works with other
I also get that null pointer exception with the xmldb transformer and eXist.
Hans
On 8/9/05, Christoph Hermann [EMAIL PROTECTED] wrote:
Christoph Hermann schrieb:
Hello,
did anyone get the xmldb transformer working?
I always get a NullPointerException when using it, no matter what i
By the way, where are you using xupdate? in xquery? in xsp?
Hans
On 8/9/05, Jonas Lundberg [EMAIL PROTECTED] wrote:
I also get that null pointer exception with the xmldb transformer and eXist.
Hans
On 8/9/05, Christoph Hermann [EMAIL PROTECTED] wrote:
Christoph Hermann schrieb
Hi,
that is the easy part!
For instance, with eXist, you could use:
xi:include href=xmldb:exist:///db/discuss/cars.xml parse=xml
The xmldb:exist part is the pseudoprotocol. exist should be replaced
with the database you use.
/H
On 8/3/05, Philipp Bolle [EMAIL PROTECTED] wrote:
Hi community,
Hi,
I think this ( http://wiki.exist-db.org/space/HowTos/Load+Document+Within+Cocoon
) is a very nice solution (in XSP) , which I use myself. It allows you
to upload documents, using a cocoon pipeline as input. Did anyone get
the same thing to work in xquery, by the way?
/H
On 8/2/05, xiao
64 matches
Mail list logo