Monday, November 08, 2010 at 12:02 AM.
system.verbs.apps.wordPress.init
on init () {
<<Changes
<<10/28/09; 9:01:39 AM by DW
<<Created.
local (adrdata = @config.wordPress);
if not defined (adrdata^) {
new (tabletype, adrdata)};
bundle { //prefs
if not defined (adrdata^.prefs) {
new (tabletype, @adrdata^.prefs)}};
bundle { //stats
if not defined (adrdata^.stats) {
new (tabletype, @adrdata^.stats)}};
if not defined (adrdata^.sites) {
new (tabletype, @adrdata^.sites)};
bundle { //temp table
if not defined (system.temp.wordPress) {
new (tabletype, @system.temp.wordPress)}};
return (adrdata)};
bundle { //test code
init ()}
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.