ChadSmiley Blog Things about family, life, coding, and more

5Jun/061

Rich Text to MIME

In November I was working on rendering Rich Text as MIME for Blogsphere which been doing well, based on no new is good news.  There is a new technote that explains how to get around the images disappearing if the document is refreshed more than once.  Which Blogsphere handles because it uses a second rich text field so it never converted to MIME twice.  The technote uses 'ConvertedMime' with a value of 1 so it is not converted to a MIME database twice.  Does anyone else know if there are any other fields related to Rich Text to MIME conversion?

27Apr/062

SnT Thursday – View Icons as Categories

I like to check how referrers are getting to this blog, so I use the view 'Referers\All by Date' view to monitor it. One of my frustrations about this view is that either a refer is marked as valid or invalid. Which is not totally accurate because not all invalid entries have been validated. So I added a third icon that indicates that the referrer has not been validated. The third icon helped but I still found myself wasting time looking through the documents.

To speed things up I added categorization (descending order) to the indicator column and my view now looks like this:


There is only one thing wrong with this, no twisties! As you can see (second picture) I do have them set to show. Even tried using my own 'Twistie Image' but still no luck. When 'Display values as icons' is disabled the twisties appear in Notes. No matter the setting for this column the twisties always show on the web, thanks Lotus for the consistency.

The column formula is very simple:

@If(Verify = 1; 82; Verify = 0; 81; 162)

Update: It seems that the view icon is the twistie because clicking on the image once expands or collapses it.

16Feb/064

SnT Thursday – LotusScript Calls & Format Formula

Thanks Rocky for the SnT idea, and also to Vince for the SnT image. This will be two parts a show and a tell.  

Tell
Rocky asked everyone to use Julian's LotusScript 2 HTML on Joe Litton's page for those of you trying to Show or Tell some LotusScript.   Ester Storm was thinking of writing a Formula to HTML which has been around for about a year.

Show
Back in December Craig Schumann published a tool called LS Calls .  I liked the concept of using LS Calls to determine which variables are no longer being used, and variables are being used before they are ever set.  The only thing that I did not like is having to type the command in every time, so I took Chris Doig concept that he used for Set Template Version and applied it to LS Calls as seen in the screenshot:

When editing a LotusScript Calls Configuration there will be help available just as Craig defined.  One other feature that I like is the ability to open the output in NotePad or anything else you wish.

The code is very simple until I needed to have LotusScript wait for the execution of LSCalls before it tried to open the output or import the CSV.   Ken Yee came to the rescue with ' Can you start a program in Notes and wait for it to finish? ' from 1998.  There was one other gotcha, having to write the command to a batch file and executing the batch file, so if anyone has a better idea let me know.

The LotusScript Calls database is not that fancy but maybe the concept storing and running command type programs from Domino.  Enjoy!

Update: I lost the database in my transition to WordPress, so if anyone has it please send it to me, thanks.

18May/050

Quick Elementer 2.0 Update

I have taken some of Dave's ideas and incorporated them into version 2.0. Here is what the new form will look like.

Quick Elementer 2.0 Update

The Quick Elementer is and always will be designed for developers, so when it comes to selecting documents I am showing the document UNID (an easy tool to find the UNID) so it will be easy to determine why a document is not being copied to the destination database.  As you see the foot print is still a view, a form and a script library, which is one of my goals because I will be using this tool in multiple library templates.  The document information will be based on the value of a field that you will be selecting ( the prompt on the documents tab image) and the view that it was selected from along with the UNID.

As you can see you input is always welcomed.

Tagged as: No Comments
22Mar/056

Rational Rose Add-in for Lotus Domino

Rational Rose Domino Logical View Mini There are some Rational Rose Add-ins already but I have never found anything for Domino. So I created my own add-in for Rose that makes modaling Domino a little easier.

There is a simple batch file that will install all the files to "C:\Progra~1\Rational\Rose" if this is not the correct location you will need to update the Domino.bat file and Domino\Domino.reg files included zip.

The images in the browser and the Domino stereotypes will not appear until the classes are associated with a Domino component. If you import the "Domino Design Elements Structure.sub" onto a component diagram (in the Component View) and the "Domino Design Elements Structure.cat" on to a class diagram ( in the Logical View). The correct associations will be created. These unit files are special because there is no quid assgined to them, so it is totaly based on the name.

I have also included a Domino.mdl with everything imported.

RR_AddIn_Domino.zip

Tagged as: , 6 Comments
16Mar/050

Amaztype

http://amaztype.tha.jp/ uses a new way of searching for books, movies, and music. It uses the thumb nails from amazon to create the word(s) that you are searching for.

If you click on an image it will zoom in and show you more information. You can click on any other image and it will do the same.

Enjoy! [via]

Tagged as: , , , No Comments
7Jan/052

New BlogSphere Image Document

BlogSphere currently displaying the URL of the image which is nice, but most of the time I use the image in a blog with plain text so I have to remember the rest of the HTML like the ALT and border that needs to be added. What would be nice is to display the image HTML along with the URL, with the ability copy the text. All I do now is attach the image and save and start copying text. Here are the changes I made with the ability to have multiple images which is currently possible.

If your are going to make these changes please place the image description and fields in a table so the URL and HTML text is aligned correctly when there are multi-values.

Change the ImageName to be editable with multi-value checked with Newline as the as the display separator. The input translation would be:

@If( ImageName = "" ; @AttachmentNames ; ImageName )

The Computed Text for the URL needs to be changed to an editable field (ImageURL) with Newline as the as the display separator. The editable is needed so copying of the URL can be done while editing. The input translation would be:

@GetProfileField("BlogConfig";"Conf_basic_baseURL") + "/2/") + @Explode( ImageFileName; ";" ))</div> 
 A new field(ImageHTML) editable with Newline as the as the display separator.  The editable is needed so copying of the HTML can be done while editing.  The input translation would be:  <div class="formula">url := (@GetProfileField("BlogConfig";"Conf_basic_baseURL") + "/2/") + @Explode( ImageFileName; ";" ) ;
 @If(ImageName=""; ""; (("&lt;img src=\"") + url + ("\" border=0 ALT=\"")) + ImageName + ("\"&gt;" ))

The preview will need the same code as the ImageHTML field.

The last step is to move the ImageFileName field above the ImageURL fields so URL and HTML display correctly when refreshed or saved the first time.

New Look:

New BlogSphere Image Document