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

scripting2Suite.website.email

on email () {
	<<Changes
		<<6/1/10; 8:05:24 AM by DW
			<<Created. 
	local (pta = html.getpagetableaddress (), adrdata = pta^.adruser);
	local (s = adrdata^.prefs.ownerEmail);
	s = string.replace (s, "@", " at ");
	s = string.replace (s, ".", " dot ");
	if sizeof (s) > 0 {
		return ("<img src=\"http://images.scripting.com/archiveScriptingCom/2005/10/17/mailto.gif\" width=\"14\" height=\"10\" border=\"0\"alt=\"Mailto icon\"> " + s)}
	else {
		return ("")}}



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.