9
Thanks to some babysitting and company coming over, it took longer than Saturday morning to get this far, but I have something at a point where I can put up an "interesting" preview at
http://www.nathandial.com/bible.php . Enter some text in there and some Bible references, with no particular markup. For example just write "Matthew 5:20 is a powerful challenge from Jesus" or "Prov 3:5-7 is one of my favorite passages" or whatever.
As per the beginning of this discussion, I think it would be nice if there was an extension API for modified text display that could be extended by modules. I thought it was really cool that the userinfo.php page automatically used each module's search functionality to make the page. I think that it would be good if the MyTextSanitizer did the same thing (or does it?) and look for modules that had a "text_modification" function that you pass the text of a post and it processes it. I can think of a few cases where this would be useful:
* a "Glossary" that highlighted certain terms and linked them to definitions
* a Wiki that picked out WikiNames in ordinary comments and stories and automatically html-ified them
* a Bible-verse thing such as I'm working on.
* extra pseudo-bbcode tags.
That's just what 0 minutes' thinking brings up. I'm sure there are a lot of things that some modules would like to do. Oh, I just thought of another, you know how Yahoo news takes keywords like "Iraq" and turns them into "Iraq (news - web sites)" I think that's annoying, but it would be something else that a module could provide.
Or is this already setup somehow and I missed it? If it is, somebody point it out please!