Code of conduct when conducting code

"... why on earth are we doing so many projects that deliver such marginal value?" - Tom DeMarco

How to fix the Google Feedburner and Yahoo Pipes problem yourself

clock November 18, 2009 18:57 by author christerdk

If you have tried to use the Google Feedburner service and the Yahoo Pipes together you have probably experienced the “Error 999”, which means that Google Feedburner does not consume the feed provided by Yahoo Pipes. In other words, your RSS feed stalls although there’s new content from the pipe to expose.

I ran into this error myself and hoped for a resolution between the two parts. However, it seems that people have been experiencing this since the beginning of 2009, and I’ve just been spared until the beginning of November. And apparently the progress has stalled totally between the two camps, so nothing is really happening to solve this issue for their users. So I’ve tried some things, and the solution/fix/hack is actually quite simple. It does, however, have prerequisites: You’ll need to have a little programming done and a place to put the program.

The normal Google Feedburner/Yahoo Pipes setup looks like this:

Request flow: Google Feedburner –> [Get RSS] –> Yahoo Pipes
Response flow: Yahoo Pipes -> [Returns Pipes mashup RSS content] -> Google Feedburner

To fix the problem, you need something like this:

Request flow: Google Feedburner –> [Get RSS] –> Intermediary service –> [Get RSS] –> Yahoo Pipes 
Response flow: Yahoo Pipes -> [Returns Pipes mashup RSS content] -> Intermediary service -> [Returns Pipes mashup RSS content] -> Google Feedburner 

The setup above means the Google Feedburner will be able to consume the Yahoo Pipes feed indirectly instead of directly. My personal intermediary service is placed here on christer.dk. Now, the only thing that the service has to do is to consume the Yahoo Pipes feed and forward its content. Here is what you do (in inline asp.net c# 3.5 code).

   1:  <%@ Page Language="C#" %>
   2:  <script runat="server">
   3:      protected void Page_Load(object sender, EventArgs e)
   4:      {
   5:   
   6:          System.Xml.XmlReader reader = System.Xml.XmlReader.Create("[YAHOO PIPE RSS URL HERE]");
   7:          System.ServiceModel.Syndication.Rss20FeedFormatter formatter = new System.ServiceModel.Syndication.Rss20FeedFormatter();
   8:          formatter.ReadFrom(reader);
   9:          reader.Close();
  10:   
  11:          using (System.Xml.XmlWriter writer = System.Xml.XmlWriter.Create(Response.OutputStream))
  12:          {
  13:              System.ServiceModel.Syndication.Rss20FeedFormatter outputformatter = new System.ServiceModel.Syndication.Rss20FeedFormatter(formatter.Feed);
  14:              outputformatter.WriteTo(writer);
  15:              writer.Flush();
  16:          }
  17:          Response.End();
  18:      }
  19:  </script>

Place this code in an asp.net aspx-page or create a similar logic on a different platform and expose it on a server. Then reconfigure your Feedburner feed to retrieve the RSS content from your new service.

That’s it. I hope it helps you like it helped me. :-)

[Update]: Seems that my layout isn’t very code friendly! ;-) Here's the asp.net code to download: RSS.zip (453,00 bytes)

[Update two] I've clarified the request / response flow description above.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Facebook virus - or incompatible settings?

clock August 16, 2008 07:54 by author christerdk

I was at my sisters place this thursday. Her computer was acting all wierd. She had also started to have problems on Facebook a few days ago where the dynamic interface functions of Facebook suddenly began to throw errors... (javascript errors)

The word on the street is that a new kind of Facebook virus is out there to get us. I don't really know any details on that. My sister, however, had been searching the net, and from the huge result set of sites about "Facebook virus", she was getting a bit nervous.

We tried three different virus / trojan cleaners, but none of these reported about any installed virus og trojan. Then it struck me that it could be something with her settings. The following change of settings is a classic within the web developer community, because it enables a developer to see the last change he/she made properly.

In Internet Explorer, go to

Tools -> Internet Options and click Settings under "Temporary Internet Files". Here you check "Every visit to the page". Click OK twice.

The default setting is "Automatically". I'm not sure about what algorithm that is behind "Automatically", but basically it all comes down to how and when to use cached items on your laptop instead of downloading them from the web page in question.

After doing this change my sisters problems with Facebook were gone.

PS. The computer acting wierd and her problems with Facebook had nothing to do with each other. But that's a different posting...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Having problems with the wireless connection on your Acer TravelMate 6292?

clock May 27, 2008 19:59 by author christerdk

If ice cold is colder than cool, can someone please tell me what's more stupid than stupid?

Here's the deal... The wireless connection on my brand new Acer TravelMate 6292 freezes totally when running on batteries. Reproducable always! Yes, they actually shipped the laptop in this state!

I was totally flabbergasted. First I just thought this was a hickup on my router or something, but no, it sure was my laptop. Searched the net, and found one or two messages on groups.google.com that mentioned the same problem, but with no resolution.

My dear friend Jens H. (yes, same blog engine, I know ;-)) helped me though, to find a solution for the problem. Here's what you can do if you experience the same thing on your Acer TravelMate 6292 (Windows XP pro edition). I recommend you read through all the steps, before you start - and, remember, this is just advice - you're responsible for your own hardware ... ;-)

  1. Go to the Download Center at intel.com
  2. Download both Intel® PRO/Wireless Drivers-Only for Windows* XP/2000 and IT Administrators - Intel® PROSet/Wireless Network Connection Software for Windows* XP/2000 and Windows Vista
  3. Install both software packages in the same order.
  4. When installing the last software, it'll ask if you want to remove the existing software. Answer yes to that question.
  5. When installed, you'll se a tray icon for the intel wireless connection software. Right click on it, and in the context menu, click the option that lets the intel software manage wireless connections (have your wep keyes ready, as they will not be transfered).
  6. Voilá, you're done.

I hope it helps you like it helped me. If you have any extra advice on this subject, please leave a comment.

Christer

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5