<?xml encoding="ISO-8859-1" version="1.0"?>
<!-- OPML generated by OPML Editor v0.75 on 5/18/2013; 8:33:22 AM -->
<opml version="2.0">
	<head>
		<title>7/22/11 by DW</title>
		<ownerName>Dave Winer</ownerName>
		<ownerEmail>dave.winer@gmail.com</ownerEmail>
		<windowTop>200</windowTop>
		<windowLeft>200</windowLeft>
		<windowBottom>600</windowBottom>
		<windowRight>800</windowRight>
		</head>
	<body>
		<outline created="Fri, 22 Jul 2011 20:05:33 GMT" pgfnum="593" text="Update river2 prefs" type="blogpost">
			<outline created="Fri, 22 Jul 2011 20:05:38 GMT" pgfnum="594" text="The prefs outline and the page on the website that controls the display of the prefs outline need to be modified to support the new location of river2's data. "></outline>
			<outline created="Fri, 22 Jul 2011 20:09:03 GMT" pgfnum="598" text="Turns out you can reference local variables from the script that invoked the prefs outline, so we never actually had to hard-code addresses in the outlines. "></outline>
			<outline created="Fri, 22 Jul 2011 20:09:09 GMT" pgfnum="599" text="So the fix was simply a search and replace, changing config.river2 for adrdata^ -- where adrdata is defined in river2website.prefs."></outline>
			<outline created="Fri, 22 Jul 2011 20:07:01 GMT" pgfnum="595" text="Parts">
				<outline created="Fri, 22 Jul 2011 20:07:04 GMT" pgfnum="596" text="river2Website.prefs"></outline>
				<outline created="Fri, 22 Jul 2011 20:07:09 GMT" pgfnum="597" text="river2Suite.data.prefsOutline"></outline>
				</outline>
			</outline>
		<outline created="Fri, 22 Jul 2011 16:34:43 GMT" pgfnum="588" text="howto for corner-turn" type="blogpost">
			<outline created="Fri, 22 Jul 2011 16:34:49 GMT" pgfnum="589" text="I wrote a howto document that explains how you get River2 to run in its own database."></outline>
			<outline created="Fri, 22 Jul 2011 16:35:05 GMT" pgfnum="590" text="&lt;a href=&quot;http://river2datahowto.blorkmark.com/&quot;&gt;http://river2datahowto.blorkmark.com/&lt;/a&gt;"></outline>
			</outline>
		<outline created="Fri, 22 Jul 2011 12:30:48 GMT" pgfnum="530" text="river2.root gets its own data file" type="blogpost">
			<outline created="Fri, 22 Jul 2011 12:49:30 GMT" pgfnum="531" text="An early decision in the development of river2.root was to include its data in config.root."></outline>
			<outline created="Fri, 22 Jul 2011 12:50:06 GMT" pgfnum="533" text="But River2 accumulates data at a much faster rate than the content management apps that run in the OPML Editor environment. That's what it's for -- accumulating data."></outline>
			<outline created="Fri, 22 Jul 2011 12:50:54 GMT" pgfnum="534" text="So the theory is that everything would work better if its data file were kept separate from config.root."></outline>
			<outline created="Fri, 22 Jul 2011 12:51:13 GMT" pgfnum="535" text="First step in the process of doing this corner-turn is to get it working on my main aggregator server, houston.scripting.com. "></outline>
			<outline created="Fri, 22 Jul 2011 12:49:47 GMT" pgfnum="532" text="Wrote a script last night, river2suite.utilities.copyToRiver2Data, which copies all the data from config.river2 to a new file, river2data.root, which is located in Guest Databases/ops/datafiles."></outline>
			<outline created="Fri, 22 Jul 2011 12:52:41 GMT" pgfnum="536" text="Then I rewrote river2suite.init so that it returns the pointer to that data and not the config.river2 version. Very simple change. If it finds config.river2.stats.whenConvertedToSeparateFile then it knows to use the data file."></outline>
			<outline created="Fri, 22 Jul 2011 15:08:50 GMT" pgfnum="537" text="At 11AM, it works on houston. It was as painless a switchover as I thought it would be."></outline>
			<outline created="Fri, 22 Jul 2011 15:09:17 GMT" pgfnum="538" text="Next I'm going to release the new version of river2suite.init so I can test the process on another server. "></outline>
			<outline created="Fri, 22 Jul 2011 16:12:13 GMT" pgfnum="565" text="It really works well. It takes a while for the conversion script to run, so you gotta be patient."></outline>
			<outline created="Fri, 22 Jul 2011 15:10:57 GMT" pgfnum="539" text="Parts">
				<outline created="Fri, 22 Jul 2011 15:10:59 GMT" pgfnum="540" text="river2suite.init"></outline>
				<outline created="Fri, 22 Jul 2011 15:11:08 GMT" pgfnum="541" text="river2suite.utilities.copyToRiver2Data"></outline>
				</outline>
			</outline>
		</body>
	</opml>
