2011-01-19

Last Comments 1.3.6 is Released

A long overdue update to Last Comments 1.3 has been released. It adds finer date and time control, updates the Web Font list, and changes the way the authentication cookies for the gadget are stored in your browser (and remember, Mozilla Firefox users must check the browser privacy option to "accept third-party cookies" or this gadget will not be able to access the private comment feeds on that browser).

Update: Due to some irregularities in how Google Web Fonts are downloaded, a minor update of Last Comments 1.3 has just been released to correct the problem (1.3.6.1). Last Comments 1.3 should now be capable of showing all the fonts in the Google Font Directory as long as you have the body.font variable set correctly in your blog template. The body.font variable is located close to the top of every standard blog template. You can manipulate the font that Last Comments displays in by changing the value attribute of the body.font variable. For example, if you want Last Comments to display using the Sniglet font, you should find the code describing the body.font variable in your template (scroll down just a bit from the top on the Design|Edit HTML page), and then change your body.font variable's value like this (the change is in blue):

     <Variable name="body.font" description="Font" type="font"
         default="normal normal 12px Arial, Tahoma, Helvetica, FreeSans, sans-serif" value="normal normal 12px Sniglet, sans-serif"/>


The authentication cookie should now be good for at most a year, and hopefully that means that you and the invited readers of your private blog will only have to log in once per browser per year. This feature is experimental and may not work for all browsers or in all circumstances. Readers can delete the cookie at any time on their own by opening their browser's cookie list and deleting the extra long cookie ending with the text: opensocial.googleusercontent.com

The gadget's internal list of Google Web Fonts has also been updated and is now almost twice the size it was before. Last Comments 1.3 should be capable of using all of the Web Fonts in the Google Font Directory now except for variants that are distinguished by a number.

And the biggest change is that I now have 10 different date and time formats for you to choose from. Format 0 is the default format for both. You can select the other formats by entering a number from 0 to 9 immediately after the D or T elements in your custom Display List. For example, to show the date as MM/DD/YY (with leading zeros not shown), and to show the time as 12-hour with capital AM or PM on the top line, you could enter this into the custom Display List:
D4*_at_ -T4 Aa*_wrote: C Pcon_*

The full list of formats to choose from are:

For Dates:
  1. 2011-Jan-01
  2. 2011-01-31
  3. 2011/01/31
  4. 1/31/2011
  5. 1/31/11
  6. 2011.01.31
  7. 31.1.11
  8. January 1, 2011
  9. 01 January, 2011
  10. January 1

For Times:
  1. 09:06
  2. 9:06
  3. 09:06:03
  4. 9:06:03
  5. 9:06 AM
  6. 9:06 am
  7. 9:06 A.M.
  8. 9:06 a.m.
  9. 9:06:03 a.m.
  10. 9:06:03 AM

I am willing to change these should anyone ask. I think 10 choices should be enough, though. These changes will also be coming to Last Comments 1.1 and 1.2 shortly.