/Articles

Tips for Exhibitions

As we have done a couple of pretty good exhibitions recently, namely the Internet World and Marketing Week Live, I wanted to share a couple of learnings we gained from how to best exhit at these events. Firstly we got these great Roller Banners that are available now, we got ours from http://www.discountdisplays.co.uk/html/budget-rolla.html and were happy [...]

By |2018-06-20T15:21:19+00:00July 16th, 2009|Articles, Business Development|0 Comments

Read a Single XML File in Java

The following should complement the supplied article for reading XML files (DCRs) based on a directory.  This will read the contents of a singe file package com.littleforest.examples; import com.interwoven.livesite.dom4j.Dom4jUtils; import com.interwoven.livesite.external.ParameterHash; import com.interwoven.livesite.runtime.RequestContext; import com.interwoven.livesite.external.*; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.*; import org.dom4j.*; import java.util.Properties; /* Added for proxy use */ [...]

By |2017-11-30T10:42:09+00:00March 2nd, 2009|Articles, Java|0 Comments

Read List of XML Files from Directory Tree in Java

This is a TeamSite 6.7.2/LiveSite 3.1 compliant mechanism that can be used to read all DCR files into a single XML files for further processing: package com.littleforest.examples; import com.interwoven.livesite.dom4j.Dom4jUtils; import com.interwoven.livesite.external.ParameterHash; import com.interwoven.livesite.runtime.RequestContext; import com.interwoven.livesite.file.FileDALIfc; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.*; import org.dom4j.*; import java.util.Properties; /* Added for proxy use [...]

By |2017-10-05T16:08:19+00:00March 2nd, 2009|Articles, Java|0 Comments

XSL:Sort by Date, Organise by Type

In this example, we have a collection of material which we want to make available to users: whitepapers, articles, tips etc.  We want to group these by material and show the relevant subheading when this changes, but avoid redisplaying the heading if it remains the same, say: Whitepaper ... ... Article ... ... As per [...]

By |2009-03-02T13:29:07+00:00March 2nd, 2009|Articles, LiveSite, XSL|0 Comments

XSL:Sort By Date, Limit Returned Results

In an accompanying article, a simple method to sort by date was introduced. Normally it is desirable to limit the number of results shown. There are various complex ways of doing this posted on other sites, the fundamental problem being that <xsl:variable> works as a constant in practice, i.e set only once. Trying to implement [...]

By |2009-03-02T12:27:04+00:00March 2nd, 2009|Articles, XSL|0 Comments

XSL:Sort By Date

The following  should do the work This assumes the date is in the form dd/mm/yyyy: the seperators could be different as they are ignored anyway based on the substring. The important thing to realise here is that the <xsl:sort> functions do not do anything APART from sort, so there is nothing to see at this [...]

By |2009-03-02T12:06:03+00:00March 2nd, 2009|Articles, LiveSite, XSL|0 Comments

Add Local users on Windows Command Line

I was recently involved in a project where the requirement was to migrate from one server to another.  Part of the requirement was to create all the local users from the previous server to the new server, and later add them to TeamSite.  Initially I thought this may not take long.  However, this was not [...]

By |2008-11-28T13:34:39+00:00November 28th, 2008|Articles|0 Comments

Command Line SWF Tools for Windows

An excellent set of command line tools for manipulating and generating Flash content, SwfTools, is available at http://www.swftools.org/ Tools include : swfc font2swf swfcombine swfextract pdf2swf gif2swf jpeg2swf png2swf avi2swf wav2swf swfdump (will dump out compressed SWF) swfstrings swfbbox We can also help with CMS Governance Workflow [...]

By |2017-10-05T16:16:32+00:00September 10th, 2008|Articles|0 Comments

Building in LiveSite – Revisited

Instead of :- <a> <xsl:attribute name="href"> <xsl:value-of select="Properties/Datum[@ID='FFactPerformance']"/> <xsl:text>?idtype=</xsl:text> <xsl:value-of select="//Datum[@ID='idtype']"/> <xsl:text>&fundid=</xsl:text> <xsl:value-of select="//Datum[@ID='fundid']"/> </xsl:attribute> <xsl:attribute name="id">tab2</xsl:attribute> <xsl:attribute name="name">tab2</xsl:attribute> Performance & Risk </a>   Use this notation :- <a href="{Properties/Datum[@ID='FFactPerformance']}? idtype={//Datum[@ID='idtype']}& fundid={//Datum[@ID='fundid']}" id="tab2" name="tab2"> Performance & Risk</a> Much shorter to type, and easier to remember.

By |2008-08-14T13:51:51+00:00August 14th, 2008|Articles|0 Comments