Usage of Verity's rcvdk commandline search utility

One of the lesser know Verity utilities that ships with ColdFusion MX 7, as well as CFMX 6 and CF 5, is the search tool rcvdk. Unlike other utilities such as mkvdk and vspider, rcvdk must be run interactively so you can't script it. Its useful for times when you want to test searching a Verity collection by doing simple and advanced searches, and can be useful to see if the results match the equivalent search pattern in your code with CFSEARCH.

For additional detail, check out the ColdFusion MX 7 Documentation for rcvdk, and didump too.

Usage is a little tricky, and I'll walk you through how to use it from the commandline. In this case, I'm using Linux, but it behaves (almost) the same on Windows.

First note that the default locale is Englishx, for English Advanced, so when creating collections on the commandline with mkvdk or vspider, if you don't specify a locate then the collection is created as Englishx. When creating a collection from the ColdFusion Administrator, the default option is English Basic, which is the equivalent of just English. On the commandline, these options ar specified as either (lowercase) englishx or english.

Here's the contents of a test server having 3 collections already.

  • bookclub - a sample collection shipped with cfdocs
  • macr_verity_test2 - a collection created from the CF Administrator (english)
  • vspidertest3 - a collection created with vspider (englishx)


Usage of Verity's vspider utility with CFMX 7 on Unix or Linux

An article was published today that provides a fix for the Verity spidering utility known as vspider when used with ColdFusion MX 7. That article provides some additional style files will help populate the appropriate metadata fields of a collection such as Title, URL, Size, etc... The article also comes with an example of using vspider on Windows.

ColdFusion MX 7: Additional files for using Verity Spider

It should be noted that when running vpsider on Unix or Linux, that the environmental variable for LD_LIBRARY_PATH must also be set to include the location of core Verity binary files. Its often useful to create a script to set up all the vspider commands, and in that script you can set the LD_LIBRARY_PATH to include the Verity bin directory.


Concord Best Place To Live For Athletic Types

Every spring Boston Magazine produces a ranking of towns throughout Massachusetts, and an article to provide details and context. This year Concord, MA ranks as the best choice for "Fitness Nuts", those that like to participate in sports and outdoor activities.

No surprise to me. We have the conservation land and its many trails around Walden Pond, then there's Great Meadows National Wildlife refuge, Punkatasset Hill area, and lots of canoe activity on the Concord, Assabet, and Subury rivers. Not to mention there's six health clubs including Gold's Gym and the Thoreau Club, and not one fast food restaurant to be found. Over the next few years, the Bruce Freeman Rail Trail will open and pass through 3 miles of Concord as part of a much greater rail trail system. Check out the aerial views, too!

While the full article is not available on the web, the raw form of the multivariate data for 2004 is available in this spreadsheet, and with a brief intro here.

Last year Boston Magazine ranked towns for the "Most Bang for the Buck", placing Concord as #91.

The year before, Concord ranked as #19 for the overall "Best [healthiest] Places to Live" in the state.


Online ColdFusion Meetup Group

This blog entry serves as a central link to upcoming and archived events for the Online ColdFusion Meetup Group, including those events which are in cooperation with other ColdFusion User Groups. This blog entry will be updated regularly with meeting information, as will the official group website. Here is the alias with shorter URL for this blog.

Upcoming Meetings

  • Thursdays at 12:30 PM EDT to 1:00 PM
    ColdFusion Live! A series of short preview talks from the speakers of the CFUNITED conference.
    Check the Meetup site for the currently scheduled event in this series: ColdFusion Meetup Events

  • Thursday, May 12 6:00 PM ET
    To be determined... Check back soon

[More] Article on Optimizing ColdFusion Performance

Today's newsletter highlights an article published this month last year regarding tips and tricks on improving ColdFusion performance. Nothing very earth shattering here, but mostly the standard recommendations repackaged. You'll find many entries on this blog for the same topics.

  • Apply Updates and Hotfixes
  • Setting Simultaneous Requests
  • Load testing is best
  • Increase Cached Templates
  • Trusted Cache
  • Save Class Files
  • Turn off Debugging in production
  • Improving SQL statements
  • Using Prepared Statements via CFQUERYPARAM
  • CachedWithin
  • CF_Accelerate

The article recommends that you consider Sun JVM 1.5.0, however Macromedia has not stated support for this version with either CFMX 6.x or 7. The article doesn't address CFMX 7 at all.

Looks like a good generic review.

Generating RSS 2.0 in BlogCFC: The Road To PodCasting

BlogCFC currently uses RSS 1.0 in the generated RSS feeds. Most podcasting clients, such as Feed Demon, do not support attachments in RSS 1.0 feeds even though both RSS 1.0 and 2.0 support the enclosure tag. I've recently come up with an idea for a new series of podcasts which I hope to begin producing soon, so rather than fight with RSS 1.0 and podcasting clients, I've added RSS 2.0 support in BlogCFC.

Below is a replacement for BlogCFC 3.5.2 generateRSS() method call which allows generation of either RSS 1.0 or 2.0. Feeds generated with this successfully validate. The RSS 2.0 feed does not yet generate enclosure tags for podcast attachments, a task to be done later. Since the RSS 1.0 feed is well-formed XML with XML directives I have a stylesheet directive for easier viewing, but since RSS 2.0 feed does not have XML directives, I have not included any style information in that feed.

Note that the RSS 2.0 feed includes the optional managingEditor and webMaster elements which require an email address. Remove these two optional elements from the code if you don't want to have your email published in the RSS feed.


Macromedia Flex for Web Application Developers - A New Course

View Final Project for Macromedia Flex for Web Application DevelopersThis week I've completed a new Macromedia course, Flex for Web Application Developers, recently renamed to indicate the course's appropriateness for programmers from all web application backgrounds, rather than just ColdFusion. The course is designed to be a day longer than the existing Fast Track to Flex course and has a target audience of web application developers that may not yet be proficient with ActionScript 2.0 or Object Oriented concepts and programming.

The Macromedia Training web page has not yet been updated to include this course, but that is expected soon. I was forturnate enough to participate in the course in its final testing stage where the instructor sought feedback from technology professionals, to be used in carefully tuning the class towards the general skill set of contemporary ColdFusion MX Developers. In addition, this week's course in particular was also used to train Macromedia Training Partners who will later be teaching this course as well.

The Flex for Web Application Developers course demonstrates how to easily build robust Flex applications that provide a sharp looking user interface while integrating with ColdFusion components as the primary data provider. Knowledge of Actionscript 2.0 is not assumed, and the progressive use of Actionscript from day one builds fluency in the language through osmosis, so to speak. The course emphasises programming best practices for Flex's markup language MXML, as well as Actionscript and ColdFusion's CFML language.


CFMX 7 New and Improved Hotfix Installation & Administration

Check out the feature that's not on any feature list, the ColdFusion MX 7 Cumulative Hotfix Installation panel in the ColdFusion Administrator. Installing and administering hotfixes just got a whole lot easier. CFMX 7 now uses cumulative hotfix jars. These hotfix bundles are like mini-updaters. The first one happens to contain just one fix, but subsequent ones may have a higher payload. Their names will increase sequentially such as chf700001.jar, chf700002.jar, etc... Each one will contain all the fixes in the earlier hotfix releases plus the new fixes specific to that current release.


Integrating Technorati with BlogCFC

About Technorati:

Technorati is a real-time search engine that keeps track of what is going on in the blogosphere the world of weblogs... Technorati displays what's important in the blogosphere which bloggers are commanding attention, what ideas are rising in prominence, and the speed at which these conversations are taking place. Technorati makes it possible for you to find out what people on the Internet are saying about you, your company, your products, your competitors, your politics, or other areas of interest all in real-time. All this activity is monitored and indexed within minutes of posting. Technorati provides a live view of the global conversation of the web.

With a few code changes, BlogCFC can integrate with Technorati so that new blog posts automatically notify or ping Technorati to add your blog to its high-priority queue to be indexed, and so that your blog categories double as Technorati tags which adds semantic meaning to be used as metadata in Technorati searching and ranking.

Here's how to integrate your BlogCFC with Technorati:


Technology Review Article on Employee Blogging

The current edition of M.I.T.'s Technology Review magazine accolades employee blogging by highlighting the PR value to corporations that permit this activity. Read about it here. The print magazine has a supplementary article that extends this web article a bit.

TalkingTree itself is not hosted on the website which hosts many Macromedia employee blogs. This is partly because I like to have full control over the website itself, and I like to have a great deal of personal or non-technology blogs intermixed. The Google Adsense revenue covers hosting costs and then some, so there's really no expense in maintaining my blog individually. See the Credits on the sidebar for a link to my hosting provider in case you're shopping around.

More Entries