How to tweet automatically when you push a new package to nuget.org

Posted by Daniel Cazzulino on ASP.net Weblogs See other posts from ASP.net Weblogs or by Daniel Cazzulino
Published on Mon, 17 Jun 2013 17:59:35 GMT Indexed on 2013/06/24 16:23 UTC
Read the original article Hit count: 550

Filed under:

Wouldn’t it be nice if your followers could be notified whenever you publish a new version of a NuGet package? Currently, nuget.org offers no support for this, but with the following tricks, you can get it working without programming.

The essential idea is to use the OData feed that nuget.org exposes to build an RSS feed with new items as you publish them, and have IFTTT do the tweeting from it.

The tools we’ll use to get this working are:

  1. LinqPad: to examine the nuget.org OData feed at https://nuget.org/api/v2 
  2. Yahoo Pipes: to tweak the OData feed output so that it looks like a “plain” feed
  3. IFTTT: to consume the pipe output and auto-tweet on new items

 

Exploring NuGet OData Feed with LinqPad

In order to build the query that will become your tweets’ source, we will add a new connection in LinqPad by clicking on the “Add Connection” link:...

Read full article

© ASP.net Weblogs or respective owner

Related posts about .NET