On 12/17/05, Thorsten Scherler <[EMAIL PROTECTED]> wrote:
> El sáb, 17-12-2005 a las 21:20 -0500, Bob Harner escribió:
> > Many thanks, Solprovider, I wouldn't have thought that one could copy
> > whole Lenya directories in that manner without causing problems.  That
> > will be very useful to me.  And I also want to thank you for
> > documenting the steps in your site.
> >
> > Unfortunately, sorry I didn't mention it, but my site also uses
> > StaticHtmlExporter to produce a live static HTML site served up by a
> > web server (not Lenya).  So just copying the authoring directory to
> > live will not be sufficient.  So I think I have two options:
> > 1) use a wget-like process to "download" the whole "live" site from
> > Lenya at once, or
> > 2) write some Lenya-based code to loop through the site tree contents
> > and invoke the publish action for each page.
> > Any further thoughts on this, anyone?
> > This is Lenya 1.2.4 under WebLogic on Solaris.
>
> Hmm, yeah there is
> 3) use apache forrest ( which is using the cocoon cli) to crawl your
> site.
> I will start soon an example pub with basic support for
> forrest.apache.org where you can do this out of the box. ...but I would
> do this in 1.4 and not before next year.
> Anyway actually you may have a look into
>  http://cocoon.apache.org/2.1/userdocs/offline/cli.html
> and related documentation.

You are welcome.

I had the same issue when we first went live.  The editor created many
documents and asked me to publish all of them by tomorrow morning.  I
am a programmer and usability expert, and I was not going to click
over 1000 times plus waiting for a response to each click.  [Clicks =
1 choose document - 2 Workflow - 3 submit - 4 confirm - 5 Workflow - 6
publish - 7 Confirm.  Repeat for every document.  Change Language. 
Repeat for every document.]  So I used the OS to "publish" them, after
testing there were no real side effects.

I suggested on one of the MLs:
- The confirmation screens are useless, and should be removed
- Menus are poor design unless there are many options and the users
are expected to be dedicated to the software.  The action buttons
should be obvious (and only one click.)
- Allow Publish without Submit if the person has the priviledge.
That would be only 2 clicks (1 change document - 2 publish) per
document per language, still too many when publishing a hundred
documents.  Other devs did not like those suggestions.

If 1.4 makes multi-document operations easy, this will be a non-issue.

==
I have not researched Forrest (yet), but Thorsten's advice is always
good.  (I am currently working with Jackrabbit.)

==
Lucene (included with Lenya) can crawl an entire publication and dump
it into a directory.  Lenya used that functionality for Search in
earlier releases.  It was replaced in Lenya1.2.4 with my configuration
of Lucene, which works from the XML in the content directory without
crawling.

There is a nice "Crawling a website" section at the top of the
instructions for using Lucene with Lenya at:
http://lenya.apache.org/1_2_x/components/search/lucene.html

Or download an older (<1.2.4) version of Lenya for the old
configuration files.  I am not certain they worked.
Or use any other program that crawls a website.

If you have any protected resources, crawlers must use credentials, or
security needs to disabled while crawling.  (That was one of the
reasons I rewrote Search.  The new system can be configured for
security.)

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to