<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "Forward Slash in a View's Key"</title>
<description>Replies to blog "Forward Slash in a View's Key" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Thu, 28 Oct 2004 13:06:00 +0100</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20041025" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from Patrick Niland</title>
	<pubDate>Thu, 28 Oct 2004 13:06:00 +0100</pubDate>
	<author>Patrick Niland</author>
	<description><![CDATA[ 
		<p>Hey Jake....</p>
		<p>Why do you need to use the "/"...? Why can't you just use an underscore, "_".</p>
		<p>Example:</p>
		<p>database.nsf/pages/en_about?opendocument</p>
		<p>database.nsf/pages/de_about?opendocument</p>
		<p>This way you don't have to use the "?opendocument". Could use ".html".</p>
		<p>Example:</p>
		<p>database.nsf/pages/en_about.html</p>
		<p>database.nsf/pages/de_about.html</p>
		<p>Another thing that you can do is to use a multi-value field for the index. This field will store the language names for the document. (e.g. en_about.html; de_about.html). All you need to do is to get the view to display it as seperate entries!</p>
		<p>You can then:</p>
		<p>1) Use 1 document to store all the languages. Then use 1 form to display the different language in the document (i.e. The URL path will hold the language!)</p>
		<p>OR</p>
		<p>2) Use your seperate documents in the view. Then use 1 form to display the document.</p>
		<p>Hope that helps</p>
		<p>Patrick Niland</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=4055AD5DFC4D74D186256F3B0063761A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_4055AD5D</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Thu, 28 Oct 2004 10:17:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>No Mark. Should I?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=2B481D7E311462D286256F3B005409FC"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_2B481D7E</link>
</item><item>
	<title>Reply from Mark Barton</title>
	<pubDate>Thu, 28 Oct 2004 10:15:00 +0100</pubDate>
	<author>Mark Barton</author>
	<description><![CDATA[ 
		<p>Jake,</p>
		<p>Considered folders ?</p>
		<p>Mark</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5BDF593692265ECC86256F3B0053CECA"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_5BDF5936</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Thu, 28 Oct 2004 08:23:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>Thanks guys. </p>
		<p>There's a reason I don't want to use the query string. It's essential for this site that Google indexes it properly. For this reason I want avoid anything after the ? as much as I can. It's generally thought that Google doesn't like pages with Query strings as it thinks they are dynamic and not worth indexing. </p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=4E7B095CE4C2741186256F3B00498C8A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_4E7B095C</link>
</item><item>
	<title>Reply from Erwin</title>
	<pubDate>Wed, 27 Oct 2004 18:27:00 +0100</pubDate>
	<author>Erwin</author>
	<description><![CDATA[ 
		<p>Considered this?</p>
		<p>{<a href="http://www.codestore.net/store.nsf/unid/DOMT-5SMH4Y?OpenDocument">Link</a>}</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=9C102EF44DD5F92B86256F3A0080E7CE"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_9C102EF4</link>
</item><item>
	<title>Reply from Patrick Niland</title>
	<pubDate>Wed, 27 Oct 2004 17:04:00 +0100</pubDate>
	<author>Patrick Niland</author>
	<description><![CDATA[ 
		<p>Hey....</p>
		<p>Why not just use the query string?</p>
		<p>(e.g. ?opendocument&lang=en )</p>
		<p>Works perfect!</p>
		<p>You have to use one document to store all languages. This is useful to manage content for your site, as you can require the user to enter all languages for the document.</p>
		<p>Also, you can put error recovery in the documents if you want. (i.e. If a document only has an English version and the user is navigating in French, then you can display the English version).</p>
		<p>Ok, so the form to display this will have to do a bit of computation, but your website will always have the correct amount of webpages, although not all languages! (i.e. What if your site navigation links to a language document that the user has not created???)</p>
		<p>You should try these links (NOTE: Built this website about 3 years ago... Uses the same mechanism above).</p>
		<p>{<a href="http://www.environ.ie/DOEI/DOEIPub.nsf/wvNavView/PublicationsList?OpenDocument&Lang=en">Link</a>}</p>
		<p>{<a href="http://www.environ.ie/DOEI/DOEIPub.nsf/wvNavView/PublicationsList?OpenDocument&Lang=et">Link</a>}</p>
		<p>{<a href="http://www.environ.ie/DOEI/DOEIPub.nsf/wvNavView/PublicationsList?OpenDocument&Lang=ga">Link</a>}</p>
		<p>{<a href="http://www.environ.ie/DOEI/DOEIPub.nsf/wvNavView/PublicationsList?OpenDocument&Lang=gt">Link</a>}</p>
		<p>Later</p>
		<p>Patrick</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=41F26222C545D0C686256F3A00793DD0"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_41F26222</link>
</item><item>
	<title>Reply from Jim Jennett</title>
	<pubDate>Wed, 27 Oct 2004 05:26:00 +0100</pubDate>
	<author>Jim Jennett</author>
	<description><![CDATA[ 
		<p>What Carl said.  Encode the slash and use the reference as a component of a string.  Should work.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=6A6D39D90739D5F486256F3A003963D2"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_6A6D39D9</link>
</item><item>
	<title>Reply from zomek</title>
	<pubDate>Wed, 27 Oct 2004 03:20:00 +0100</pubDate>
	<author>zomek</author>
	<description><![CDATA[ 
		<p>Why stick to /language-code/ form? In Domino that form is only a "look-like-directories" feature... So maybe swith to /path/title.language_code form? For example:</p>
		<p>database.nsf/pages/about.en</p>
		<p>database.nsf/pages/about.de</p>
		<p>No slash - no stress ;)</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=70A28C678FE4093A86256F3A002DD302"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_70A28C67</link>
</item><item>
	<title>Reply from Richard</title>
	<pubDate>Tue, 26 Oct 2004 11:41:00 +0100</pubDate>
	<author>Richard</author>
	<description><![CDATA[ 
		<p>Have one view to handle all languages ...</p>
		<p>Create two columns:</p>
		<p>Column 1: Categorised by language.</p>
		<p>Column 2: Sorted by Title.</p>
		<p>You might need to make sure the view's "Collapse all .. " setting isn't enabled - it depends on the situation. </p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D8EFFD0AEED613B686256F39005BB726"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_D8EFFD0A</link>
</item><item>
	<title>Reply from Carl</title>
	<pubDate>Tue, 26 Oct 2004 03:00:00 +0100</pubDate>
	<author>Carl</author>
	<description><![CDATA[ 
		<p>Can you use the encoded version of the forward slash / = %2F  ??</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5FD23751C4D1278286256F39002BF89A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_5FD23751</link>
</item><item>
	<title>Reply from William Beh</title>
	<pubDate>Mon, 25 Oct 2004 20:41:00 +0100</pubDate>
	<author>William Beh</author>
	<description><![CDATA[ 
		<p>Do you cater for different character set for example english, chinese, thai, japanese?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=19D01D439EF119B186256F39000954A5"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_19D01D43</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Mon, 25 Oct 2004 08:27:00 +0100</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>It sounds like I was saying this is a bug. In fact I don't know whether it is or not. All I know is that I made a new replica and it stopped working. I made the change to get rid of the key with a / and now it works again. This took less time that it would have done to find out why/if/how the mixup happened and what the solution is. </p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=994C099A1FE18C9186256F380049F263"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_994C099A</link>
</item><item>
	<title>Reply from Craig</title>
	<pubDate>Mon, 25 Oct 2004 07:37:00 +0100</pubDate>
	<author>Craig</author>
	<description><![CDATA[ 
		<p>Just given this a quick go, and this seems to work OK on my 6.5 server... with the ?opendocument bit on the end.</p>
		<p>Perhaps there's something else causing the problem.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=8EEC41D04CF158B286256F380045550B"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_8EEC41D0</link>
</item><item>
	<title>Reply from laurens</title>
	<pubDate>Mon, 25 Oct 2004 07:06:00 +0100</pubDate>
	<author>laurens</author>
	<description><![CDATA[ 
		<p>Not the solution to your problem, but maybe a solution to the problem:</p>
		<p>What you could do is render the english and the other languages all on one page and hide DIVs depending on the browser language info. I do this with:</p>
		<p>{<a href="http://www.ivetesangalo.com/id/aboutus">Link</a>}</p>
		<p>A javascript detects the browserlanguage and loads the appropriate style sheet which only displays the right language. Advantages:</p>
		<p>- simpler structure of your website for maintenance</p>
		<p>- better indexing by Google</p>
		<p>- all languages of one page can be edited in one form</p>
		<p>- easy switch of users between languages on the same page</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=6204F241709E365B86256F3800428C40"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20041025?OpenDocument#DOC_6204F241</link>
</item>

</channel>
</rss> 
