<?xml version="1.0"  encoding="iso-8859-1" ?>
<!-- RSS generated by TYPO3 v4 CMS on Thu, 29 Jul 2010 03:20:11 CEST -->
<rss  version="2.0" xml:base="http://www.contentdokter.nl/">
	<channel>
		<title>CMS Blog</title>
		<link>http://www.contentdokter.nl/</link>
		<language>en-US</language>
		<copyright>&#x2117; &amp; &#xA9; Contentdokter</copyright>
		<pubDate>Mon, 22 Feb 2010 12:51:49 +0100</pubDate>
		<generator>TYPO3 v4 CMS</generator>
		<item>
			<title>Custom Page Layouts with LiveSite</title>
			<link>http://www.contentdokter.nl/cms-blog/view/custom-page-layouts-with-livesite/</link>
			<description>&lt;p&gt;LiveSite and Sitepublisher 3.1 have 2 interesting features that greatly enhance the powers of it. Let's have a close look at these.&lt;br /&gt;&lt;h3&gt;Custom Page Types&lt;/h3&gt;&lt;br /&gt;First feature to mention is the 'Custom Page Types' (dubbed 'Doctype Support' in the manual, such a stupid name because it clashes with the well-known &lt;a href=&quot;http://en.wikipedia.org/wiki/Document_Type_Declaration&quot;&gt;html-doctype&lt;/a&gt;. Using this mechanism one can define a xsl-stylesheet to use for the master page-html. This is important because I believe that the html that the default page-xsl produces is not very good. It is not accessible, not standard-compliant, fuzzy code is inserted and it uses a css-stylesheet which I don't like. In fact, I think code like this should always be custom-created.&lt;br /&gt;&lt;br /&gt;Adding your own custom page type is very easy. Add something like below to livesite_customer_src/etc/conf/livesite_customer/pagetype-config.xml and rebuild the livesite-toolkit:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt; &lt;br /&gt;  &amp;lt;page-types&amp;gt; &lt;br /&gt;    &amp;lt;page-type id=&amp;quot;yourid&amp;quot; default=&amp;quot;false&amp;quot;&amp;gt; &lt;br /&gt;      &amp;lt;name&amp;gt;Any name&amp;lt;/name&amp;gt; &lt;br /&gt;      &amp;lt;output&amp;gt; &lt;br /&gt;        &amp;lt;doctype/&amp;gt; &lt;br /&gt;        &amp;lt;method&amp;gt;html&amp;lt;/method&amp;gt; &lt;br /&gt;        &amp;lt;content-type&amp;gt;text/html&amp;lt;/content-type&amp;gt; &lt;br /&gt;        &amp;lt;omit-xml-declaration&amp;gt;true&amp;lt;/omit-xml-declaration&amp;gt; &lt;br /&gt;      &amp;lt;/output&amp;gt; &lt;br /&gt;      &amp;lt;allowed-layouts&amp;gt; &lt;br /&gt;        &amp;lt;layout refid=&amp;quot;yourlayout&amp;quot;/&amp;gt; &lt;br /&gt;      &amp;lt;/allowed-layouts&amp;gt; &lt;br /&gt;    &amp;lt;/page-type&amp;gt; &lt;br /&gt;  &amp;lt;/page-types&amp;gt; &lt;br /&gt;  &amp;lt;layouts&amp;gt; &lt;br /&gt;   &amp;lt;layout id=&amp;quot;yourlayout&amp;quot;&amp;gt; &lt;br /&gt;      &amp;lt;name&amp;gt;Your Layout&amp;lt;/name&amp;gt; &lt;br /&gt;      &amp;lt;stylesheet&amp;gt;nl/contentdokter/xsl/runtime/yourstyle.xsl&amp;lt;/stylesheet&amp;gt; &lt;br /&gt;      &amp;lt;class&amp;gt;com.interwoven.livesite.layout.impl.DivLayout&amp;lt;/class&amp;gt; &lt;br /&gt;    &amp;lt;/layout&amp;gt; &lt;br /&gt;  &amp;lt;/layouts&amp;gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now all you need to do is create your own xsl-stylesheet (under livesite_customer_src/etc/classes/nl/contentdokter/xsl/runtime/yourstyle.xsl). Two short tips on this:&lt;br /&gt;&lt;br /&gt;1. use one of the xsl-files under httpdwebappscontent_centerWEB-INFclassescominterwovenxslruntime as a reference example&lt;br /&gt;&lt;br /&gt;2. if your want to know how the source xml looks use this xsl-template: &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;        &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt; &lt;br /&gt;                &amp;lt;xsl:copy-of select=&amp;quot;.&amp;quot;/&amp;gt; &lt;br /&gt;        &amp;lt;/xsl:template&amp;gt; &lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;&lt;br /&gt;Note that you could even, if you really have the courage, to write your own Layout-class in java. That is, however, not easy and I don't really see a good use for it.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Custom Fixed Layouts&lt;/h3&gt;&lt;br /&gt;The second feature to mention is the 'Custom Fixed Layouts'. Using this, you stop using the original free-flow layout of SitePublisher and instead divide your page into fixed areas in which your end-users can drop the components. A crucial feature, really, because I don't think I will ever meet a content-editor that can be bothered with placing a component on a pixel-exact detail. Too time-consuming and error-prone. &lt;br /&gt;&lt;br /&gt;If you want to try it out yourself, follow the chapter on this in the manual but, important, the given example has 1 or 2 annoying errors that will break it!&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;A perfect world&lt;/h3&gt;&lt;br /&gt;Now, in a perfect world one would be able to combine these two features: &lt;br /&gt;&lt;br /&gt;1. create a fixed layout matching your sites styleguide &lt;br /&gt;&lt;br /&gt;2. create a custom page-stylesheet with clean html and all custom css/js included &lt;br /&gt;&lt;br /&gt;Well, that will work but it won't! So yes, you can overwrite the default 'fixed-layout' with your own, and thus define which page-xsl to use. But you can NOT create a second (or third) layout-entry in pagetype-config for a fixed layout. &lt;br /&gt;&lt;br /&gt;Thus is due to the fact that the (internal) java-code does a string-match in the layout-id for 'fixed-layout'. It would have been so much better would they have added a boolean attribute to the layout-element like 'is-fixed-layout'. But they haven't. &lt;br /&gt;&lt;br /&gt;Typical. :-(&lt;/p&gt;</description>
			<category>Livesite</category>
			<pubDate>Mon, 22 Feb 2010 12:51:49 +0100</pubDate>
			<guid isPermaLink="true">http://www.contentdokter.nl/cms-blog/view/custom-page-layouts-with-livesite/</guid>
			<source url="http://www.contentdokter.nl/">Custom Page Layouts with LiveSite</source>
		</item>
		<item>
			<title>Ektrons Visual Format Editor version 5.1</title>
			<link>http://www.contentdokter.nl/cms-blog/view/ektrons-visual-format-editor-version-51/</link>
			<description>&lt;p&gt;Teamsite 6.7.1 Sp1 comes with a new version of Ektrons Visual Format Editor (version 5.1 build 41). This new editor is now also supported on Windows Vista. This update can have a serious impact on your existing content. The problem is that all relative links (in the html of a vf-textbox) are, by default, prefixed with '/iw-cc'. And that will result in a broken link on your website. Catastrophe!&lt;br /&gt;&lt;br /&gt;A workaround is presented in the knowledge base (Article  60388 [https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=60388]) [sick, what a url!] but it is a complex one and one that can be overwritten in any patch or service-pack!&lt;/p&gt;</description>
			<category>Teamsite</category>
			<pubDate>Thu, 21 Jan 2010 11:07:47 +0100</pubDate>
			<guid isPermaLink="true">http://www.contentdokter.nl/cms-blog/view/ektrons-visual-format-editor-version-51/</guid>
			<source url="http://www.contentdokter.nl/">Ektrons Visual Format Editor version 5.1</source>
		</item>
		<item>
			<title>Livesite, additional documentation and example code</title>
			<link>http://www.contentdokter.nl/cms-blog/view/livesite-additional-documentation-and-example-code/</link>
			<description>&lt;p&gt;To kick off the new year here is Tip #1 on Livesite. Here is come additional documentation and source code that can help you tackle Livesite:&lt;br /&gt;&lt;/p&gt;&lt;ol style=&quot;margin-left:15px;&quot;&gt;&lt;br /&gt;&lt;li&gt; The livesite java api-docs are hidden from plain view in a zip file under [iw-home]/install/livesite/docs. Not the most obvious place to look and further, not mentioned anywhere in the dev-manual.&lt;/li&gt;&lt;br /&gt;&lt;li&gt; The java source of the pre-installed livesite-components can be found here (thank you Karel for pointing this out to me) /iwmnt/iwadmin/main/spars/STAGING/foundation/toolkit_src/ls_runtime_src. They are a good source for example code if you need to write your own java-extension for a component.&lt;/li&gt;&lt;br /&gt;&lt;li&gt; The branch /default/main/component-guide contains a demo-website that shows all pre-installed live-components. This can come in handy if you are looking for more example code.&lt;/li&gt;&lt;br /&gt;&lt;li&gt; And if you still haven't got enough you could install a java-decompiler (f.i &lt;a href=&quot;http://java.decompiler.free.fr/&quot; target=&quot;_blank&quot; &gt;java.decompiler.free.fr&lt;/a&gt; works very well for me) and decompile the livesite-runtime.jar located under [iw-home]/httpd/webapps/content_center/WEB-INF/lib. This will be of use in one of my next tips.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;Happy newyear!&lt;/p&gt;</description>
			<category>Livesite</category>
			<pubDate>Fri, 01 Jan 2010 12:30:38 +0100</pubDate>
			<guid isPermaLink="true">http://www.contentdokter.nl/cms-blog/view/livesite-additional-documentation-and-example-code/</guid>
			<source url="http://www.contentdokter.nl/">Livesite, additional documentation and example code</source>
		</item>
		<item>
			<title>Not a fan of Livesite</title>
			<link>http://www.contentdokter.nl/cms-blog/view/not-a-fan-of-livesite/</link>
			<description>&lt;p&gt;I have never been a big fan of Livesite. Though the basic idea of combining open standards like Java en Xsl with a good looking GUI to render your content is charming, the Interwoven implementation of this idea has many issues. Well, let me call them &amp;quot;items to improve&amp;quot;:&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;margin-left: 15px;&quot;&gt;&lt;br /&gt;&lt;li&gt;the manual for developers is unreadable and almost useless;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;the installation and upgrade process is unnecessary complex. And apart from that, it messes up your existing installation with unwanted templates and workflows;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;the resulting (front-end) html is very messy and far from w3c-compliant or wai-accessible;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;all custom-configuration like components, layouts, etc. have a server-global-scope. It is impossible to limit the use of a specific component/layout to 1 branch only. Yes, your intranet news-component can be placed on a public-facing webpage!&lt;/li&gt;&lt;br /&gt;&lt;li&gt;It is almost impossible to enforce a corporate webstyle. Editors are free to chose any available page-template for your public homepage.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;the preview, workflow &amp;amp; deploy mechanism does not follow the teamsite standards and good-practices. F.i. preview is not routed via the (flexible) iwproxy and uses the built-in tomcat. This has the side-effect that in order to install new java-code your must restart the servlet resulting in Teamsite downtime for other developers.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;an url-management-mechanism is missing. Search-engine-optimised-urls are out of your league.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;The good news is that in the coming weeks I plan to post some tips on using and customising Livesite to your needs. I hope this will make your life with Livesite a little easier. Stay tuned.&lt;br /&gt;&lt;/p&gt;</description>
			<category>Livesite</category>
			<pubDate>Sun, 27 Dec 2009 11:30:24 +0100</pubDate>
			<guid isPermaLink="true">http://www.contentdokter.nl/cms-blog/view/not-a-fan-of-livesite/</guid>
			<source url="http://www.contentdokter.nl/">Not a fan of Livesite</source>
		</item>
		<item>
			<title>The current state of web-cms</title>
			<link>http://www.contentdokter.nl/cms-blog/view/the-current-state-of-web-cms/</link>
			<description>&lt;p&gt;&lt;a href=&quot;http://www.darren-ferguson.com&quot;&gt;Darren Ferguson&lt;/a&gt; posted a message on his blog about the current state of web-cms and just because I couldn't agree more with what he says here, I wanted to share the link with you:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.darren-ferguson.com/2009/8/2/the-future-of-web-cms-is-(not).aspx&quot;&gt;the-future-of-web-cms-is-(not)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope this might trigger some of the cms-vendors to focus more on fixing know problems in stead of adding/buying new functionality.&lt;/p&gt;</description>
			<category>WCM</category>
			<pubDate>Mon, 10 Aug 2009 19:44:13 +0200</pubDate>
			<guid isPermaLink="true">http://www.contentdokter.nl/cms-blog/view/the-current-state-of-web-cms/</guid>
			<source url="http://www.contentdokter.nl/">The current state of web-cms</source>
		</item>
	</channel>
</rss>
