Jul
30
2009

Why RSS is So Important For Your Business That You’re Probably Already Using It

broadcasttakomabibelotMany people I talk to don’t know what RSS is and so they’re confused about how it might be important for their business.  RSS, which stands for Really Simple Syndication, and is sometimes just called a feed, is a way for one website to send out it’s content in a way that other websites and programs can easily read. Most people are actually already using feeds, they’re just not aware of it.

[Read more...]

Feb
11
2009

JSON and the Argonauts

greek-statueThe Greeks sure were fond of super-hero team titles.  There was Jason, commander of the Argo and her crew of the best of the best, pitted against irresistible forces beyond moral man’s endurance.   What does this have to do with JSON, the JavaScript Object Notation standard used by the web 2.0′s best of the best of overcome an accent foe called Same Origin Policy?  Can’t think of a thing, I just really liked the title.

A funny thing happened on the way to the Mashup. I’m sure someone somewhere, maybe even here, told you that RSS feeds were going to revolutionize the way we distribute information.  We were all so right in so many ways because RSS, or ATOM if you prefer, has opened up the world to the unimagined possibilities available online.  Think of some way that you want to consume information.  Go ahead, I’ll wait.  Ok, you are all right you can consume information that way. Oh, heh, I mean almost all of you are right.  That guy in the back with the Helvetica shirt in Metalica font, I’m sorry but we can’t help you with your idea.  Thing is, as much as you may want to have a single page that can then pull and update XML based RSS feeds from any site in the world from within the browser without refreshing, you’re not allowed.  It is for your own protection actually.  We call it the Same Origin Policy.

Here is the idea.  When your web browser pulls down a web page’s code from a modern site, it is usually pulling down a collection of HTML, Stylesheets, Javascript.  That HTML tells the page what content goes where and what images to place by the content.  The Stylesheet (CSS) tells the browser how to make that content look and how to make it act on the page.  Then the Javascript is there to give the page life, make it interact with events, make it do impressive things that we have come to love and cherrish.  In the AJAX world, those impressive things involve grabbing information from the server and updating the page without screen refresh.  Javascript is nye omnipotent in the browser, and yet there are some quantum limitations built into the works.  Beyond the sandboxing of JS, there is one little design decision from Netscape 2.0 that has totally altered the web 2.0 landscape.  Netscape decided that a browser would only allow scripts to interact with domains that the page came from.  If a page is loaded from www.bobsdiscountlasers.com then AJAX calls are limited to bobsdiscountlasers.com.  The grand illumination of mashups, where data flows from many different locations onto one page in a relevant way, almost never happened because of this.

Web browsers weren’t designed with mashups in mind, and ‘the warts have been there from day one’, [David Boloker, cofounder of the OpenAjax Alliance and IBM's CTO of Emerging Internet Technologies] says. Browsers contain a security feature called the same-origin policy that’s meant to keep malicious code hosted on one site from grabbing data, such as stored credentials, off another site. The same-origin policy prevents websites from one domain from requesting data belonging to another domain. ~ Security services and Mashups

But, of course, Mashups do exist.  We see Google Maps on thousands of pages not under the google.com domain.  How is it done?  We’ll get to the hero of the day in a second, for now lets look at other popular workarounds

  • Mashup at the Server Side:  Since the JS limitation is browser based, you could do all of your mashups at the server.  The server could serve as the collector of the different sources of information, combine them intellegently and cache the results.  At best this idea is inconvenient because it adds layers where they need not normally be.  At worst this does not scale when you have a single location for distributed information
  • Flash/Flex:  The Flash VM doesn’t have the Cross Domain limitation that plagues JavaScript.  A file on the server gives a list of permitted sites that the Flex app can pull data from.  I have talked with Adobe Evangalists about this option and they seemed to hint that this design decision was intented to hit javascript where it was weakest.
  • AJAX Proxy.  Similar to the first method, a proxy allows the client to pull the information through it.  It isn’t stored on the proxy, though it can be cached, and no combination is done.  Again, this is a scaling issue

Stop passing code, start passing data. What all of these work arounds do is bypass the security concern with Same Origin Policy (SOP).  SOP was originally intended to combat early attempts at Cross Site Scripting (XSS).  Modern XSS has a nasty list of exploits that I don’t have time for here, but one way to think about it is this:  If you let Javascript pull code from untrustworthy places you are inviting problems.  One possible approach to this issue was to stop the push and pull of code but to allow the pushing and pulling raw data.  That is what JSON is, a way to encode data to be pushed and pulled using AJAX calls.  Though the X in AJAX stands for XML, AJAX really is more often using JSON because SOP will allow it to be used cross-domain.  So with JSON you can pull in Google Maps and that list of Micro Brewerys right in the browser, Mash them up using Javascript, and asyncroniously keep the data refreshed, the app reactive, and your buzz in good spirits (You are walking to these pubs, right?)

My prediction; RSS feeds are going to move away from XML and on to JSON in the future.  Or at minimum, support both.  John Resig, the creator of jQuery, even has a converter to get us all started.

Photo attributed to jasonr611

Technorati tags: , , , , , , , , ,

Jan
15
2009

RSS Getting Started Guide

rssphotopiahimysyedI recently had a reader ask me about how to use RSS.  He had seen my post about using RSS to monitor his brand, was interested in giving it a try, but wasn’t sure how to get started. So here’s how to get started:

  1. Choose a feed or RSS reader. There are many websites which provide this service – including iGoogle, Google Reader, Bloglines, and My Yahoo.  Most web browsers and some email programs also provide this functionality.  And there are also applications you can download so you can read feeds right from your desktop. You can find a list here or here. I personally like Google Reader because I can read my feeds from any computer and my phone and it stays updated with what I’ve read and haven’t read.
  2. Look for feeds to subscribe to. Feeds will usually be marked with an icon:001_31 or one that says RSS, or you’ll see a link that says subscribe to this site/page.  Sometimes a feed isn’t clearly marked, but the website still has one.  If you don’t see a feed icon, try putting the URL/link to the website into your feed reader – many will detect feeds for you.
  3. Read your feeds. I’m subscribed to many, many feeds.  But I find that I can easy scan what’s going on – without necessarily reading every feed.  It saves the hassle of visiting every single website for updates – but I do still visit some to bookmark a page in delicious or to comment on an article.

So, that’s it.  Pretty simple and straight-forward.  Once you’ve chosen a feed reader, most provide specific instructions on how to use them.  If you have any other questions about how to use RSS, please email me (or leave a comment below).

Technorati Tags: , , , ,

Dec
16
2008

8 Places to Syndicate Your Business Content

broadcastsoundman1024Now that you understand RSS, you can use it to syndicate your content to other places on the Internet.  Part of your content strategy should be syndicating or publishing your content in multiple places online.  The more places you can use the same piece of content, the more return you’ll get for your effort. Here are some places to consider:

  1. Twitter – Using Twitterfeed you can automatically tweet the title and a link to any of your content (website, blog, delicious) that has a RSS feed.
  2. LinkedIn – LinkedIn has added the ability to add blog and twitter content (both of which have RSS feeds) right to your LinkedIn profile.
  3. FaceBook – There is a Twitter application that will send your tweets right to your Facebook page (as status updates) and with Notes you can have any RSS feeds show up as well.  If you create a page for your business, you can have your content show up there as well.
  4. BlogCatalog – A social network to connect with other bloggers, use your rss feeds to syndicate content from twitter, your blog, delicious, etc.
  5. MyBlogLog – Another social network to connect with other bloggers.
  6. FriendFeed – An easy way for your friends and connections to see all of your content from various sources in one place.
  7. Plaxo – A Business social network, you can syndicate content from your blog, twitter, etc. using your RSS feeds.
  8. Your Social Networks – Many social networks will allow you to add a feed to your content.  If not, consider copying and pasting your content to show up on your social networks.

The more places your content is, the higher chance you’ll be able to provide some useful information to a potential customer.  Keep in mind that your content needs to be useful to others – not just marketing or PR.

(photo by soundman1024 @ Flickr CC)

Technorati Tags: , , , , ,

Dec
15
2008

RSS – Syndicate Your Content

syndicationcogdogblogRSS, or Really Simple Syndication, is a way to automatically syndicate your content in ways that other people can easily read or aggregate it.  RSS is formatted in XML which allows your feed to be published once but viewed by many different programs.  If you have a blog on WordPress or Blogger (and others) or use Twitter, then you already have RSS feeds.  If you subscribe to blogs using Google Reader or iGoogle, you are subscribing to the RSS feeds from these blogs.

RSS is largely invisible to most people.  As I mentioned above, you may already be using RSS feeds without being aware of them.  However, just knowing you have RSS feeds with various content services means you can easily use these feeds to syndicate your content to wider audiences (which we’ll discuss in the next post).  To see if a webpage has an RSS feed, you can look for links which say “subscribe to this blog” or “subscribe to this website”.  Sometimes the feeds will also just say “RSS” or have a icon that looks like this: A website may have a feed, but it may not be obvious – try subscribing to the website using Google Reader or iGoogle – both will try to find the feed for you.

(photo by cogdogblog @ Flickr CC)

Technorati Tags: , , , , ,

Jul
30
2008

Instant Widget, simply add RSS [Recipe]

Lets talk content for a second.  If you took a moment to consider the websites that you find useful in your business sector most of them are going to be text based.  In the financial industry for example, your Bloombergs, Reuters, Barons and Wall Street Journals are all brokering in letters and numbers.  Words are their currency, more than dollars, Yens, or Pounds.  Likely your corporate site, too, is trading on its reputation to educate your customers through words.  All this textual content is going stale if unused.

One idea for your websites leftover content is to make a quick content widget.  They’re delicious, non-fattening and fun at parties.

Prep time is 15 minutes.

Here are the ingredients you’ll need.

  1. Text based content
  2. An RSS feed on that content
  3. A widget automator

I take the first ingredient for granted and assume your corporate website is not just a blank page surrounding a small ‘Coming Soon’ picture.  Now with your content in hand, gently break it up into smaller pieces.  These pieces are going to be used in our RSS feed.  RSS feeds are great little additions to any website.  They help make content on your site easily available to other computers by encoding it in XML.  If you don’t know if your site has an RSS feed, go ahead and ask your web programmer.  Okay, now that we have our content broken up we can put it into our RSS feed.  The feed isn’t going to do much right now, so just let it rest on your website.  We’ll come back to it.  Now, lets create our widget using your choice of widget automator sites.  For this recipe, I will be using SpringWidgets, but you could use WidgetBox or ClearSpring.

To use SpringWidget you will need to register a free account.  Lets do that now at the top right of the screen.  Once that is done, go ahead and click on the Express Widgets button on the left of the main page.  Now its time to add your RSS feed to the mix.  Take your RSS feed and slowly enter it into the field.  Try not to spill. SpringWidget will now use your RSS feed to pull in your content, wrapping it with a decorative box pattern.  That’s it, you have a widget for your content.  Almost good enough to eat.

The serving options are endless.  You can play around with your widget, style it how you want.  Once you are ready, the bottons on the left will help you embed this widget into Social Networks like Facebook, blogging tools like Blogger and WordPress, or anyone’s web page using the Javascript code.