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

on publishPost (adrpost) {
		<<4/21/02; 7:55:06 PM by DW
			<<We actually have a bottleneck for this functionality, so call it instead of replicating the (incomplete) code here.
		<<3/15/02; 9:19:28 AM by DW
	<<bundle //old code, incomplete
		<<local (adrblog = radio.weblog.init ())
		<<radio.weblog.publish ()
		<<radio.weblog.publishRss ()
		<<if defined (adrpost^.categories)
			<<local (adr)
			<<for adr in @adrpost^.categories
				<<local (catname = nameof (adr^))
				<<radio.weblog.publish (catname:catname)
		<<radio.weblog.publishCategoryRss ()
	radio.weblog.updatePagesForPost (adrpost)}
<<bundle //test code
	<<publishPost (@weblogData.posts.["00001068"])

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.