Monday, November 08, 2010 at 12:00 AM.

scripting2Suite.server.initStory

on initStory (adrstory) {
	<<Changes
		<<6/14/10; 3:57:07 AM by DW
			<<Make sure the story table has all the fields its supposed to have.
	if not defined (adrstory^.flFirstBuild) {
		adrstory^.flFirstBuild = false};
	if not defined (adrstory^.fname) {
		adrstory^.fname = string.popsuffix (string.lastfield (adrstory^.url, "/"))};
	if not defined (adrstory^.flNotInChronology) { //6/25/10 by DW
		adrstory^.flNotInChronology = false}}
<<bundle //test code
	<<initstory (@scripting2Data.server.users.davewiner.calendar.["2010"].["06"].["05"].["00231"])



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.