The easy Weblog and Wiki Software
[ start | index | login ]
start > Contributed

Contributed

Created by funzel. Last edited by pabrantes, 2 years and 56 days ago. Viewed 13,279 times. #28
[diff] [history] [edit] [rdf]
labels
attachments

Credits

Contributions to SnipSnap from other developers

Extensions can be downloaded from >>ftp://snipsnap.org/snipsnap/contributed/

NameDevelopersHomepageVersionDescriptionSnipSnap Version
dbviewstefanruferdbview1.0Queries a database and renders tabular result.1.0b1
HTMLMacromfrankenHTMLMacro1.0Displays HTML directly1.0b1
ButtonMacromfrankenButtonMacro1.0Displays a form with a single button1.0b1
LDAP Authentication ServicemvholsteLDAP Authentication Service1.0Provides LDAP an authentication service for snipsnap1.0b1
SnipScalekoert>>Snipscale home2.0.1Macros to automatically scale one or more attached images and to display a caption. This makes it easy to create an album with thumbnails linked to larger images1.0b2
Mr. Chocoolli>>Mr. Choco Homepage0.5a-20031227-xmasincludes several new macros like color and weather and fortune cookies0.5a
Snippetszohar 1.2Various Macros for SnipSnap0.3.3
SnipSnap WARmpersonick  "You must have MySQL running, and you need to create a database for SnipSnap to use. If MySQL is running locally and the database is named “snipsnap”, then you should be all set. Otherwise you need to go into the WAR file and edit the JDBC URL in application.conf to reflect the location of your database. It assumes Tomcat is on port 8080, but this is also configurable through application.conf. The default administrator is admin, and the password is password. I’ve tested it on my machine under Tomcat 4.1, and I think I captured everything in the WAR file that needs to be there, so if you try it out please let me know whether it works for you or not."0.4.2
VCalendar Snipletvguhesan 1.0Different Calendar Sniplet (might help a new developer who wants to write his own sniplet.). You can see the screen-shot of the image >>here0.5.1a
Run SnipSnap as WIN Servicevguhesan 1.0cmd files that allow you to run SnipSnap as a Service. (Includes Open Source - JavaService.exe from >>JavaService to add the services.0.5.1a
bookserviceVictor Vollebookservice-macro0.3Render a link. The link is configurable by the bookservices snip (Replacement for the isbn macro that is not configurable via Snips).1.0B1
includeVictor Volleinclude-macro0.3includes the content of the snip that is given as parameter (enhanced version of the {!...} macro that supports Snips with ":" in its name)1.0B1
relationship-searchVictor Vollerelationship-macro0.3Show all snips that are related to the current one. the basic relationship (from which all others are derived) is the "parent" relationship which is defined by labels on the children with the name "parent" and as value the name of the parent snip.1.0B1
fortuneVictor Vollefortune-macro0.4displays a quote, randomly selected from a Snip in the "fortune" format (quotes separated by lines starting with "%")1.0B1
timeLineebelTimeLine1.3listed weblog and other space entries in chronological order1.0B1
Attachment GalleryebelAttachment Gallery Macro1.0Attachment Gallery for a snip with icon view and image preview1.0B1 
Adsense Macro>>Paulo Abrantes (pabrantes)>> AdSence Macro0.2Support for Google's Adsense. Macro is fully configurable and supports Link Units also.1.0b2 

Icon-Comment Rish M, 5 years and 180 days ago. Icon-Permalink

Zohar - Thank you

I was about to write a macro to do RSS aggregation just like what you did. I had even made a request for it infeature requests

The only hitch I am running into is that I am getting a MalformedURLException when I use the macro. Here's a stacktrace if it'll help. I am running 0.3.2a It sounds like that the URL should be escaped somehow. Can you throw some light on this ?

Thanks.

java.net.MalformedURLException: no protocol: "http://moveabletype.org/index.xml"
	at java.net.URL.<init>(URL.java:579)
	at java.net.URL.<init>(URL.java:476)
	at java.net.URL.<init>(URL.java:425)
	at org.snipsnap.snipx.WeblogAggregateMacro.execute(WeblogAggregateMacro.java:74)
	at org.snipsnap.snip.filter.MacroFilter.handleMatch(MacroFilter.java:137)
	at org.snipsnap.snip.filter.regex.ActionSubstitution.appendSubstitution(ActionSubstitution.java:52)
	at org.apache.oro.text.regex.Util.substitute(Util.java:461)
	at org.apache.oro.text.regex.Util.substitute(Util.java:356)
	at org.snipsnap.snip.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:66)
	at org.snipsnap.snip.filter.FilterPipe.filter(FilterPipe.java:82)
	at org.snipsnap.snip.filter.SnipFormatter.toXML(SnipFormatter.java:65)
	at org.snipsnap.snip.SnipImpl.toXML(SnipImpl.java:339)
	at org.snipsnap.snip.SnipImpl.getXMLContent(SnipImpl.java:347)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:317)
	at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:146)
	at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:242)
	at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:201)
	at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:138)
	at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:165)
	at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
	at org.apache.taglibs.standard.tag.el.core.ExpressionUtil.evalNotNull(ExpressionUtil.java:85)
	at org.apache.taglibs.standard.tag.el.core.OutTag.evaluateExpressions(OutTag.java:137)
	at org.apache.taglibs.standard.tag.el.core.OutTag.doStartTag(OutTag.java:95)
	at org.apache.jsp.snip_0002dbase$jsp._jspService(snip_0002dbase$jsp.java:285)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:272)
	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:194)
	at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:121)
	at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:314)
	at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:179)
	at org.apache.jsp.snip$jsp._jspService(snip$jsp.java:79)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:272)
	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:194)
	at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:121)
	at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:314)
	at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:179)
	at org.apache.jsp.main$jsp._jspService(main$jsp.java:607)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:272)
	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:194)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:129)
	at org.snipsnap.net.Layouter.doGet(Layouter.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at org.snipsnap.net.SnipSnapServlet.service(SnipSnapServlet.java:61)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:272)
	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:194)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:129)
	at org.snipsnap.net.SnipViewServlet.doGet(SnipViewServlet.java:73)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at org.snipsnap.net.SnipSnapServlet.service(SnipSnapServlet.java:61)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
	at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:320)
	at org.snipsnap.net.filter.MultipartFilter.doFilter(MultipartFilter.java:77)
	at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:312)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:264)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:550)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1655)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:542)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1605)
	at org.mortbay.http.HttpServer.service(HttpServer.java:862)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:752)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:769)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:202)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

Icon-Comment zohar, 5 years and 167 days ago. Icon-Permalink

Just tried the following :
public static void main(String[] args) {
        try {
            URL url = new URL("http://moveabletype.org/index.xml");
        } catch (MalformedURLException e) {
            System.out.println(e.getMessage());
            e.printStackTrace();
        }
    }

works fine.... So as this is precisly what the macro is doing I'm not sure what the problem is ?

Icon-Comment fredguth, 5 years and 167 days ago. Icon-Permalink

How do you deploy Snippets?

Icon-Comment zohar, 5 years and 166 days ago. Icon-Permalink

There is a README file in the zip, as well as source.

Basicallly unzip in to the application lib dir under snipsnp/applications/yourApp/WEB-INF/lib

Let me know how you get on.

Icon-Comment dembaca, 5 years and 123 days ago. Icon-Permalink

"...Basicallly unzip in to the application lib dir under snipsnp/applications/yourApp/WEB-INF/lib..."

Is this still true for version 0.4a? The macros won't be rendered after restarting and do not appear in the list-of-macros.

Icon-Comment funzel, 5 years and 123 days ago. Icon-Permalink

The contributed stuff only works for 0.3.3 The author has to rewrite his code because we made the rendering (macros) a sub project (radeox) with interface changes.

Icon-Comment nfrank, 5 years and 86 days ago. Icon-Permalink

I have just created my first (I hope usefull) macro. It allows to insert a summary of all major sections. see my page for more details : nfrank

Icon-Comment theosophe74, 4 years and 285 days ago. Icon-Permalink

Does anyone have plans to make a 0.5a version of the SnipSnap WAR available?

If not, could someone tell me what was required to create the 0.4.2a WAR so that I can replicate it for 0.5a?

If the code for 0.5a that's on the >>download site isn't even considered stable yet, just let me know. I just wanted to apply the patch to issue >>SNIPSNAP-35, as users are getting the following exception when they try to create/edit content when they are not logged in:

2003-10-09 10:12:38 StandardWrapperValve[org.snipsnap.net.SnipStoreServlet]: Ser
vlet.service() for servlet org.snipsnap.net.SnipStoreServlet threw exception
java.lang.IllegalStateException
        at org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect(CoyoteRes
ponseFacade.java:340)
        at org.snipsnap.net.SnipStoreServlet.doPost(SnipStoreServlet.java:93)

Icon-Comment brent, 4 years and 208 days ago. Icon-Permalink

When will snipscale support snipsnap 0.5a ?
I can't upgrade to 0.5a since I use alot snipscale…

Icon-Comment funzel, 4 years and 208 days ago. Icon-Permalink

I don't know, but we plan something like snipscale for the core.

Icon-Comment phobia, 4 years and 207 days ago. Icon-Permalink

Does that really belong in the SnipSnap core? ;-)

Icon-Comment funzel, 4 years and 207 days ago. Icon-Permalink

No, not in THE core :-) We have to define words like, Core, Plugins and Contributions. Core and Plugins are maintained by us, Contributions by others. Plugins is not the best word, as contributions can be plugins too. Other ideas?

Icon-Comment phobia, 4 years and 206 days ago. Icon-Permalink

Icon-Comment funzel, 4 years and 206 days ago. Icon-Permalink

Yes, hmm. But I would like to distinguish for the user what we maintain and support and what is 3rd party stuff.

Icon-Comment phobia, 4 years and 204 days ago. Icon-Permalink

The SnipSnap gremlins created this comment snip without my blessing.

Icon-Comment phobia, 4 years and 205 days ago. Icon-Permalink

Icon-Comment funzel, 4 years and 205 days ago. Icon-Permalink

:-)

Icon-Comment garypen, 4 years and 126 days ago. Icon-Permalink

I've created a macro which allows you to link to Snip attachments from the attachment text.

You use it like:

{attachment:<attachment name>}

I'm not sure where I should submit details of this thing to get it onto the list of contributions. In the meantime, you can download it from >>here.

The download is a gzipped tarball containing source code and a prebuilt jar file. Install it as you would any other Macro (i.e. copy it into the applications lib directory). In case it isn't obvious, when you unpack the tar file, the Macro is in the following location:

Attachment/dist/AttachmentMacro.jar

The source is included so you can modify it and make it better if you like. :-)

Icon-Comment vidakovic, 4 years and 120 days ago. Icon-Permalink

Is there any possibility to export snipsnap's content to docbook? Or is there an existing XSL stylesheet to transform it into docbook? Would like to integrate the docs later into a maven (>>http://maven.apache.org) based project.

Icon-Comment umlauf, 4 years and 70 days ago. Icon-Permalink

Hi everyone. I've developed a macro for reading RSS feeds. How do I add it here?

Icon-Comment phobia, 4 years and 63 days ago. Icon-Permalink

FeedReader isn't actually on the server yet. Where can I grab a copy?

Also… it might be time to remove that old .war, eh? Not to belittle mpersonick's contribution, but the current build has long since caught up ;-)

Icon-Comment umlauf, 4 years and 52 days ago. Icon-Permalink

I've sent the jars to Stephan. They'll be on the server soon. :¬)

Icon-Comment phobia, 4 years and 9 days ago. Icon-Permalink

No FeedReader, no VCalendar, old versions of the WAR and SnipScale… is there a replacement for the FTP server I just don't know about?

Icon-Comment mfranken, 3 years and 224 days ago. Icon-Permalink

Is SnipSnap dead or what? No comments for 150 days, while there's been a number of interesting contributions…
Please login to post a comment.

What is SnipSnap?
SnipSnap is a free and easy to install weblog and wiki tool written in Java.

SnipSnap download
Current version: 1.0b3-uttoxeter
Try our >>Web Start Demo!

Resources

5567 Users and 13712 Snips. Installed 6 years and 9 days ago

Logged in Users: (1)
… and 10 Guests.

snipsnap-changed for older changes.

< July 2008 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

snipsnap
Listed on BlogShares
XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

pico-powered

Powered by SnipSnap 1.0b3-uttoxeter
YourKit >>Java Profiler

Fraunhofer FIRST

snipsnap.org | Copyright 2000-2006 Fraunhofer FIRST