For When You Can't Have The Real Thing
[ start | index | login ]
start > Inserting Literal HTML

Inserting Literal HTML

Created by dave. Last edited by dave, 9 years and 6 days ago. Viewed 2,234 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Inserting Literal HTML Into SnipSnap

...for example, if you want to add Google Analytics code.

You need the >>HTMLmacro from the original SnipSnap site.

I am running version 1.0b1-uttoxeter. This means I installed the .jar file in the directory ./applications/_8668_/webapp/WEB-INF/lib/, NOT in 1.0b1-uttoxeter-20040914/lib.

Restart snipsnap, and you can now use the macro as advertised:

{html}
Your <b>code</b> here.
{html}

..becomes:

Your code here.

I've inserted my Analytics code into the snipsnap-portlet-1 which gets displayed along side every user-facing page on the wiki.

...it's only taken me, what, four years to figure this out?

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt