Blogsphere in Notes 8: How To Get URLs Working in Rich Text Posts
Category Blogsphere Lotus Notes
After upgrading earlier this year, I discovered to my frustration that in Notes 8, unlike earlier versions, any http:// URL entered into a rich text field is automatically converted to a URL hotspot upon save. While this can be very convenient in some cases, it became a real hindrance to blogging because of the way Blogsphere translates Rich Text posts to MIME. As Blogsphere users (should) know, anything in a Rich Text post with double square brackets around it will be interpreted as passthru html. Suffice it to say Blogsphere got pretty confused when trying to sort out hotspots inside passthru html. Something like this:
http://www.blogsphere.net/" title="This is sort of what that mess would look like" target=_new>This is sort of what that mess would look like
At first I banged my head on various (formerly) flat surfaces looking for the "mystery setting" at the field, form, database, and global preference level. There had to be some way to turn this behavior off, but I couldn't find anything. Surely this wasn't just a "functioning as intended" thing?
Finally after reaching out to Mary Beth Raven, a breakthrough.
Dr. Raven (yes, she has a Ph.D.) checked with her team at Lotus Notes 8 Design HQ, and it turns out I'm NOT crazy! Here's what came back from her query:
In other words, just add a field called "$DontAutoProcessURL" with a value of "1" to the form, and no more funky hotspots. In the case of Blogsphere, the form in question is the "SYSTEM - MIME Convert" form, and just to make sure the field is a single value, I made the formula @Implode("1"). The next release will have this fix, but in the meantime you can DIY:
After upgrading earlier this year, I discovered to my frustration that in Notes 8, unlike earlier versions, any http:// URL entered into a rich text field is automatically converted to a URL hotspot upon save. While this can be very convenient in some cases, it became a real hindrance to blogging because of the way Blogsphere translates Rich Text posts to MIME. As Blogsphere users (should) know, anything in a Rich Text post with double square brackets around it will be interpreted as passthru html. Suffice it to say Blogsphere got pretty confused when trying to sort out hotspots inside passthru html. Something like this:
http://www.blogsphere.net/" title="This is sort of what that mess would look like" target=_new>This is sort of what that mess would look like
At first I banged my head on various (formerly) flat surfaces looking for the "mystery setting" at the field, form, database, and global preference level. There had to be some way to turn this behavior off, but I couldn't find anything. Surely this wasn't just a "functioning as intended" thing?
Finally after reaching out to Mary Beth Raven, a breakthrough.
Dr. Raven (yes, she has a Ph.D.) checked with her team at Lotus Notes 8 Design HQ, and it turns out I'm NOT crazy! Here's what came back from her query:
What changed during 8.0 development is, we never used to persist these hotspots to disk. They would be auto-generated during document load, but not saved during document save. That was changed about a year ago, to actually generate the link if the editor is saving the data as MIME/HTML. This would be the case if we are sending mail to a user who wants MIME or the field in question is set to save it's contents as MIME/HTML...
However, as 8.0 progressed, it appears someone else didn't care for this new behavior, so an item called $DontAutoProcessURL was invented and if this item is present on the note in question and is set to '1' (text), we won't generate the URL hotspot either.
In other words, just add a field called "$DontAutoProcessURL" with a value of "1" to the form, and no more funky hotspots. In the case of Blogsphere, the form in question is the "SYSTEM - MIME Convert" form, and just to make sure the field is a single value, I made the formula @Implode("1"). The next release will have this fix, but in the meantime you can DIY:


- 


Comments
I just wonder why the Domino Blog template don't use this feature.
Thanks again
Posted by Daniele Vistalli At 01:29:01 PM On 05/15/2008 | - Website - |
Just google for $DontAutoProcessURL or search IBM's websites, nothing besides Kevin's publications.
Thomas
Posted by Thomas Bahn At 04:27:02 PM On 05/15/2008 | - Website - |
Posted by Mitch Cohen At 04:51:54 PM On 05/16/2008 | - Website - |