Tags: connections

RSS - Atom - Subscribe via email

Lotus Connections Communities topics+replies feeds to OPML

| geek, lotus, ruby

Keeping track of discussions in Lotus Connections Communities can be difficult, so I thought I’d use a feed reader to read new forum topics and replies. Instead of subscribing to each community by hand, I wrote a Ruby script that generated an OPML file, which I then imported into FeedDemon. Win!

Here’s the script:

#!/usr/bin/ruby

email = ARGV[0]
password = ARGV[1]

require 'rubygems'
require 'rexml/document'
require 'open-uri'
require 'cgi'
require 'net/https'
base_url = 'https://w3.ibm.com/connections/communities/service/atom/'
url = base_url + 'communities/my'
opml = REXML::Document.new('<opml version="1.0"><head></head><body></body></opml>')
body = opml.elements['opml/body']
while url
  # Fetch the page
  $stderr.puts "Fetching " + url
  begin
    my_communities = REXML::Document.new open(url)
  rescue OpenURI::HTTPError
    begin
      my_communities = REXML::Document.new open(url, 
                                                {:http_basic_authentication => [email, password]})

    rescue OpenURI::HTTPError
      url = nil
    end
  end  
  my_communities.elements.each('*/entry') { |x|
    # Add it to the OPML
    $stderr.puts "Found " + x.elements['title'].text
    if x.elements['id'].text =~ /communityUuid=([^&]+)/
      uuid = Regexp.last_match(1)
    end
    body.add_element 'outline', {'title' => x.elements['title'].text,
      'xmlUrl' => 'https://w3.ibm.com/connections/news/atom/stories/public?source=communities&container=' + uuid
    }
  }
  # Set the URL to the next one
  url = nil
  if my_communities.elements['feed/link[@rel="next"]']
    url = my_communities.elements['feed/link[@rel="next"]'].attributes['href']
  end
  sleep 5
end
puts opml.to_s

If you want just discussion topics and replies, use this instead of the xmlUrl line above:

'xmlUrl' => base_url + 'community/forum?communityUuid=' + uuid

Process: How to ask communities for help

Posted: - Modified: | process

Reaching out to communities can be a powerful way to find talent or resources. Your personal network may take a while to find the right person or file, especially if key people are unavailable. If you ask the right community, though, you might be able to get answers right away.

Here are some tips on asking communities for help:

  • Providing as much information as you can in the subject and message body.
    • Show urgency. Does your request have a deadline? Mention the date in the subject.
    • Be specific. Instead of using “Please help” as your subject, give details and write like an ad: “Deadline Nov ___, Web 2.0 intranet strategy expert needed for 5-week engagement in France” .
  • Whenever possible, create a discussion forum topic where people can check for updates and reply publicly. This will save you time and effort you’d otherwise spend answering the same questions again and again. It also allows other people to learn from the ongoing discussion. If you’re broadcasting your request to multiple communities, you can use a single discussion forum topic to collect all the answers, or you can create multiple discussion topics and monitor each of them.
  • If your request is urgent, send e-mail to the community. Most people do not regularly check the discussion forum, so send e-mail if you feel it’s necessary. You may want to ask one of the community leaders to send the e-mail on your behalf. This allows leaders to make sure their members aren’t overwhelmed with mail. Using a community leader’s name can give your message greater weight as well.
  • Plan for your e-mail to be forwarded. Because your e-mail may be forwarded to others, include all the details people will need to evaluate your request and pass it on to others who can help. Omit confidential details and ask people to limit distribution if necessary. Include a link to your discussion forum topic so that people can read updates.
  • Promise to summarize and share the results, and follow through. This encourages people to respond to you because they know they’ll learn something, and it helps you build goodwill in the community.

Good luck!