Scott Heaberlin | 3 May 00:41
Picon

Atlassian Confluence (was Re: SnipSnap stirs)

I believe someone on this list mentioned that Atlassian Confluence was
based on SnipSnap and perhaps provides an import-from-snipsnap-xml
feature.

Has anyone on this list done that?  Any success / horror stories?

-Scott Heaberlin

On Fri, May 2, 2008 at 4:33 PM, Nick Rothwell <nick <at> cassiel.com> wrote:
> I posted a message a few weeks ago asking about the state/availability of
> the SnipSnap source code, and since there was recently a spate of postings
> about moving away from SnipSnap, I thought I'd follow up.
>
>  I've got a copy of the fork made by Paulo Abrantes
> (http://www.pabrantes.net), and it compiles cleanly apart from a handful of
> deprecation warnings. (It uses a JAR of Radeox, but I have that in source
> form as well - I've not tried building it yet.)
>
>  The build process is geared towards standalone operation using Jetty, but
> it's possible to punt the JARs and configs of an instance into Tomcat
> without too much difficulty; I now have it running in Tomcat 6. (It might
> also be possible to do the initial config from Tomcat as well - I didn't try
> that, and I'd expect the setup and copying scripts for Jetty to mess things
> up a bit - but new instance creation seems to work fine.)
>
>  Connection to MySQL works fine - after years of Mckoidb, it's nice to be
> able to run an SQL client and see what's going on - and I managed to import
> a few site XMLs happily, apart from one or two wrinkles to do with entity
> encoding.
>
(Continue reading)

Nick Rothwell | 2 May 22:33
Gravatar

SnipSnap stirs

I posted a message a few weeks ago asking about the state/availability  
of the SnipSnap source code, and since there was recently a spate of  
postings about moving away from SnipSnap, I thought I'd follow up.

I've got a copy of the fork made by Paulo Abrantes (http://www.pabrantes.net 
), and it compiles cleanly apart from a handful of deprecation  
warnings. (It uses a JAR of Radeox, but I have that in source form as  
well - I've not tried building it yet.)

The build process is geared towards standalone operation using Jetty,  
but it's possible to punt the JARs and configs of an instance into  
Tomcat without too much difficulty; I now have it running in Tomcat 6.  
(It might also be possible to do the initial config from Tomcat as  
well - I didn't try that, and I'd expect the setup and copying scripts  
for Jetty to mess things up a bit - but new instance creation seems to  
work fine.)

Connection to MySQL works fine - after years of Mckoidb, it's nice to  
be able to run an SQL client and see what's going on - and I managed  
to import a few site XMLs happily, apart from one or two wrinkles to  
do with entity encoding.

It's not 100% plain sailing - there were a few false starts and some  
EL tag whines while I moved things around - but my feeling at this  
stage is that the SnipSnap code base is pretty serviceable. I don't  
know how it *works*, but that's an issue for another day.

I think Paulo deserves the credit for keeping SnipSnap alive - I don't  
know if he's on this list, but I've dropped him a line to see what his  
plans are.
(Continue reading)

Nick Rothwell | 29 Feb 12:55
Gravatar

SnipSnap source downloads

Hello,

What is the status of source downloads of the most recent SnipSnap?  
I've been trying to follow the situation now that Leo and Stephan have  
ceased development - I seem to recall that some folks are running  
their own modified builds. The snipforge and fraunhofer SVN sites are  
both down, and the snipsnap sourceforge site isn't offering sources  
(only a pointer to the binary downloads at snipsnap.org). This means  
that at the moment I'm running several web sites on binary-only  
stiffware - not an ideal situation.

Is there a notional development trunk at the moment?

	-- N.

Nick Rothwell / Cassiel.com Limited
www.cassiel.com
Dave Levy | 8 Nov 05:39

Backing up a .war version from the command line.

Mattias wrote to me advising me to upgrade to V1.0b3.

A bit of digging around with a colleague showed that there were bugs in 
the xmlrpc jar in V1.0b2. I have upgraded and have different 
diagnostics, although they look better. Any ideas how to progress?

 Problem Statement

I have installed snipsnap 1.03b uttoexeter .war running under tomcat 
V4.13 on a Cobalt Qube Linux 2.2.16C37_III. I have redirection working 
on my apache 1.3 web server.  I am looking to use the utilities to 
automate the backup of the database which is mounted on files. The 
utilities .jar  is still missing from the .war. I have copied it and 
mkoidb.jar to the tomcat ./lib directory.

The error message is now

./backupSnipsnap.sh 1.0 ... starts
./backupSnipsnap.sh 1.0 /usr/local/tomcat/webapps/lennon/WEB-INF
./backupSnipsnap.sh 1.0 snipsnap host is http://192.168.1.99:8080/lennon
./backupSnipsnap.sh 1.0 backup file is mysnipsnapdump.xml
SnipSnap AdminClient ($Revision: 1731 $)
Copyright (c) 2000-2006 Fraunhofer Gesellschaft
Fraunhofer Institute for Computer Architecture and Software Technology
All Rights Reserved. See License Agreement for terms and conditions of use.
Responsible Authors: Stephan J. Schmidt, Matthias L. Jugel.
Contacting Remote Server ...
AdminClient: error executing command: http://192.168.1.99:8080/RPC2

The script is
(Continue reading)

Dave Levy | 27 Oct 16:54

Backing up a .war version from the command line.

I have installed snipsnap 1.02b uttoexeter .war running under tomcat 
V4.13 on a Cobalt Qube Linux 2.2.16C37_III. I have redirection working 
on my apache 1.3 web server.

I am looking to use the utilities to automate the backup of the database 
which is mounted on files.

My first problem is that snipsnap-utils.jar is missing. I have 
downloaded snipsnap-utils.jar from the non .war version of 1.02b. When I 
try to run it I get the following errors. I have copied the other apache 
.jars to the tomcat lib directory from the 1.02b lib directory.

SnipSnap AdminClient ($Revision: 1731 $)
Copyright (c) 2000-2005 Fraunhofer Gesellschaft
Fraunhofer Institute for Computer Architecture and Software Technology
All Rights Reserved. See License Agreement for terms and conditions of use.
Responsible Authors: Stephan J. Schmidt, Matthias L. Jugel.
Contacting Remote Server ...
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/commons/codec/EncoderException
    at 
org.apache.xmlrpc.DefaultXmlRpcTransport.setBasicAuthentication(Unknown 
Source)
    at 
org.snipsnap.server.AdminXmlRpcClient.<init>(AdminXmlRpcClient.java:52)
    at 
org.snipsnap.server.AdminXmlRpcClient.<init>(AdminXmlRpcClient.java:45)
    at org.snipsnap.server.AdminClient.execute(AdminClient.java:146)
    at org.snipsnap.server.AdminClient.main(AdminClient.java:59)

(Continue reading)

Sam Deane | 6 Oct 17:20

rss/email change notification for all snips

Hi folks,

I've been using Confluence a lot recently, but have just changed jobs 
and now am in an environment where we don't have a budget for a 
Confluence license.

Since I run SnipSnap at home (and really like it), I thought I'd try to 
set it up here. However, one thing that I really miss from Confluence is 
the option to have email notification and/or an RSS feed for all changes 
in a space.

It seems (unless I'm missing something), that the SnipSnap RSS feed is 
only for blog posts. Is that correct? If so, are there any third-party 
solutions out there?

Cheers,

- Sam -

-------------------------------------------------------------
This mail was scanned by BitDefender
For more informations please visit http://www.bitdefender.com

-------------------------------------------------------------
Ryan Barrett | 6 Oct 11:55
Picon

snipsnap2svn.xslt - convert SnipSnap XML exports to Subversion dumpfiles

hi all. i've just posted snipsnap2svn.xslt, an XSLT script that converts
snipsnap XML database exports into subversion dumpfiles, with change history,
so they can be imported into a subversion repository.

http://snarfed.org/space/snipsnap2svn

you can use this to examine your snips' change history in subversion (or one
of the many nifty compatible tools), experiment with alternative snipsnap
storage backends, or migrate from snipsnap to another CMS.

feedback is welcome!

-Ryan

--
http://snarfed.org/
Gary S. Thompson | 3 Oct 17:41
Picon

save problems, errors and exceptions

I am having a problem. Each time I post an edit to a page I get

-- 

    HTTP ERROR: 403 Forbidden

RequestURI=/error.jsp

/Powered by Jetty:// <http://jetty.mortbay.org>

/

However the page still saves. In the server log I get

java.lang.ArrayIndexOutOfBoundsException: 10 >= 9
at java.util.Vector.elementAt(Vector.java:432)
at org.apache.lucene.index.FieldInfos.fieldInfo(Unknown Source)
at org.apache.lucene.index.FieldsReader.doc(Unknown Source)
at org.apache.lucene.index.SegmentReader.document(Unknown Source)
at org.apache.lucene.index.SegmentMerger.mergeFields(Unknown Source)
at org.apache.lucene.index.SegmentMerger.merge(Unknown Source)
at org.apache.lucene.index.IndexWriter.mergeSegments(Unknown Source)
at org.apache.lucene.index.IndexWriter.optimize(Unknown Source)
at org.snipsnap.snip.SnipIndexer.index(SnipIndexer.java:144)
at org.snipsnap.snip.SnipIndexer.reIndex(SnipIndexer.java:115)
at org.snipsnap.snip.SnipSpaceImpl.systemStore(SnipSpaceImpl.java:327)
at org.snipsnap.snip.SnipSpaceImpl.store(SnipSpaceImpl.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
(Continue reading)

Ryan Barrett | 19 Sep 00:22
Picon

Re: update document

On Mon, 18 Sep 2006, John Daues wrote:

>>> nah, the new doc1.odt will overwrite the old one.
> Simply because it is the same filename?

yup.

>>> just make sure you don't mind losing the previous version!
> Not in this case, but what if I do ?

snipsnap does provide change history, but only for the text of snips. it's not
a general-purpose SCM.

if you want access to the previous version, you can either copy the text of
the file into a snip and edit it there going forward, put the file in CVS or
Subversion or another SCM, or just rename it something like doc1_v1.1.odt.

renaming it is, obviously, the least work. :P

-Ryan

--
http://snarfed.org/
Rainer Backes | 1 Sep 12:41
Picon

Umlauts and the filesystem

Hi,

I'm using SnipSnap 1.0b3-uttoxeter on my site www.falkenauge.info. The system is running SuSE 10.1,
SnipSnap is running standalone with apache as proxy. Storage for Snips is the filesystem.

Now my problem: I'm trying to backup the filesystem to another machine (acutally a NetWare server) with
rsync. Everything works fine, except for Snips with an umlaut or an 'ß' in the title. On the place of the
umlaut or the 'ß' a '?' appears in the linux filename. The rsync daemon on the other side cannot create
directories with a '?' in the name, because '?' is not allowed in filenames.

Is there a way to work around that ?

Thanks a lot 

Rainer Backes
Gregor & Stefan | 20 Aug 19:46
Picon
Favicon

add a type

hi list,

i was trying to add a new type to snipsnap. is there an easy way i
missed in the how-to? or do i have do put my hands on the code - and in
this case where is the point to start?

i would like to add a type like person, or process to several snips -
that means choosing from the add label -> TypeLabel list.

i tried some constructs with adding snips named: Type:NewType but
without sucess.

thanks in advance,
gregor

Gmane