<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: insert a random cookie]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in insert a random cookie of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 19 Apr 2008 00:42:31 +0300</lastBuildDateTag>		<item>
			<title>insert a random cookie</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic822/message23280/">insert a random cookie</a></b> <i>COOKIE = &quot;filepath&quot;</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Works fine apart from quoting the first line from the file. It always makes it:<br />d»z_sometext_<br /><br />Why does it put those three "d»z" characters? <br />
			<i>19 April 2008 00:42:31, <a href="http://www.ritlabs.com/en/forums/">James Wilson</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic822/message23280/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic822/message23280/</guid>
			<pubDate>Sat, 19 Apr 2008 00:42:31 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>insert a random cookie</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic822/message3527/">insert a random cookie</a></b> <i>COOKIE = &quot;filepath&quot;</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			they work very nicely thanks.<br /><br />I'll add quotes by others of course - not mine <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />
			<i>22 January 2005 06:11:28, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic822/message3527/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic822/message3527/</guid>
			<pubDate>Sat, 22 Jan 2005 06:11:28 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>insert a random cookie</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic822/message3518/">insert a random cookie</a></b> <i>COOKIE = &quot;filepath&quot;</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			It's pretty simple:<br /><br />----------------------------------------------<br />Hi %TOFNAME,<br /><br />%CURSOR<br /><br />-- <br />%QINCLUDE(MySig)<br />%Cookie="C:\Misc\Cookies.txt"<br />----------------------------------------------<br /><br />The %COOKIE macro itself selects a line at random from the file. That's the nature of the beast. The file length is down to the operating system.<br /><br />All I would mention is that "a line" is the crucial point here. If you have any multi-line text, you will have to make it single line. <br /><br />For that you have 2 further choices:<br /><br />1) Use \n at breakpoints withing the line to force a the cookie macro to insert a linebreak into the output<br /><br />2) Use this instead: %wrapped='%cookie="C:\Misc\Cookies.txt"' to have TB wrap the line for you <br />
			<i>21 January 2005 12:16:20, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic822/message3518/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic822/message3518/</guid>
			<pubDate>Fri, 21 Jan 2005 12:16:20 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>insert a random cookie</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic822/message3510/">insert a random cookie</a></b> <i>COOKIE = &quot;filepath&quot;</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			the following doesn't really tell me much <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /><br /><br />What do I put on the template and how do I make the quotes random ?<br /><br />COOKIE = "filepath" insert a random cookie from the file defined by the filepath. This allows the use of a virtually unlimited number of cookies <br /><br />thanks<br /><br />Mike<br /><br />P.S. I have the quotes &nbsp;<img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_neutral.gif" border="0" data-code=":|" data-definition="SD" alt=":|" style="width:16px;height:16px;" title="" class="bx-smile" /> <br /><br /><br /> <br />
			<i>21 January 2005 07:39:37, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic822/message3510/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic822/message3510/</guid>
			<pubDate>Fri, 21 Jan 2005 07:39:37 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
