QuickBase API Cookbook v3 - Recipe #5
Create an RSS feed using data from multiple QuickBase tables
RSS feed
You want data from multiple QuickBase tables to be viewable by an RSS reader.
The Ruby wrapper includes a script called QuickBaseRSSGenerator.rb. It includes an example of generating RSS from both the QuickBase Community Forum and the QuickBase KnowledgeBase. The example can be run by typing:

ruby QuickBaseRSSGenerator.rb username password

This puts a file called QuickBaseInfoRSS.xml in your current  folder.  This can be read by an RSS reader.

Generating RSS from your own tables will just be a matter of modifying a copy of this code from QuickBaseRSSGenerator.rb:

#-----------------------------------------------------------------------------------
# The following test code generates RSS text from recently modified 
#  records in the QuickBase Community Forum and KnowledgeBase.
#-----------------------------------------------------------------------------------
def test( username, password )
   
   qbc = QuickBase::Client.new( username, password )
   qbRSSgen  = QuickBase::RSSGenerator.new( qbc )
   
   qbRSSgen.unSorted
   
   qbRSSgen.setTitle( "QuickBase Forum/KnowledgeBase RSS" )
   qbRSSgen.setLink( "main" )
   qbRSSgen.setDescription( "RSS view of QuickBase Community Forum and KnowledgeBase" )
   
   qbRSSgen.addTable("8emtadvk", "Community Forum", { "title" => "6", "description" => "10" }, nil, nil, nil, 75 )
   qbRSSgen.addTable( "6mztyxu8", "KnowledgeBase", { "title" => "5", "description" => "6" }, nil, nil, nil, 50 )
   
   rssText = qbRSSgen.generateRSStext
   
   File.open( "QuickBaseInfoRSS.xml", "w" ) { |file| file.write( rssText ) }
   print "\nPlease view QuickBaseInfoRSS.xml in an RSS reader, a browser or an XML editor.\n"
   
end
Ruby wrapper for QuickBase HTTP API One-Click Ruby Installer for Windows
Created on Sept. 29, 2006 at  4:51 PM (PDT). Last updated by Quick Base on Sept.  2, 2008 at  7:49 AM (PDT). Owned by Quick Base.
Quick Base
Quick Base
Show fields from Show fields from Show fields from a related table
Report Name *
Description
Reports and Charts Panel
Each table has a panel listing its reports and charts, organized in groups.
Please wait while your new report is saved...
Field label
Column heading override
Justification
What does auto mean?
Fields in:

Fields to Extract:

Name for the new table:
Items in the new table are called:

When you bring additional fields into a conversion, Quickbase often finds inconsistencies. For example, say you're converting your Companies column into its own table. One company, Acme Corporation, has offices in New York, Dallas and Portland. So, when you add the City column to the conversion, Quickbase finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quickbase needs you to clean up the extra cities before it can create your new table. To do so, you have one of two choices:

  • If you want to create three separate Acme records (Acme-New York, Acme-Dallas and Acme-Portland) click the Conform link at the top of the column.
  • If the dissimilar entries are mistakes (say Acme only has one office in New York and the other locations are data-entry errors) go back into your table and correct the inconsistencies—in this case, changing all locations to New York. Then try the conversion again.

Read more about converting a column into a table.

We're glad you're interested in doing more with Quickbase!

Now we need to make you official before you share apps or manage your account.

Verifying your email lets you share Quickbase with others in your company.

Your work email
Your company