I want to store more items

I’m running Vista and Office 2007. Previously I used Newsgator for all my blogreading, but the new Windows RSS platform in combination with Outlook 2007 brings me the exact same functionality.

It appears that the feeds have a limit for the number of items they can contain, this limit is by default set at 200. That’s not enough for me. You can set the limit by modifying the feed properties, but that would mean I needed to right-click al the feeds (100+) so I needed another way to modify all the feeds. Of course the Windows RSS Platform has an API, so some programming will come to the rescue. I originally thought that this would be an excellent opportunity to delve into Powershell, but it appears that Powershell is not yet available for Vista at this moment :-(

So some JavaScript to the rescue. Run it using cscript, and all feeds will be modified.

  var feedsManager, rootFolder;
feedsManager = new ActiveXObject(“Microsoft.FeedsManager”);
rootFolder = feedsManager.RootFolder;
iterateFolders(rootFolder);

function iterateFolders(folder)
{
if (null == folder) return;
var currentFolder;
var e = new Enumerator(folder.Subfolders);
for(;!e.atEnd();e.moveNext())
{
currentFolder = e.item();
iterateFolders(currentFolder);
}
iterateFeeds(folder);
}

function iterateFeeds(feedFolder)
{
if (null == feedFolder) return;
var feed;
var e = new Enumerator(feedFolder.Feeds);
for(;!e.atEnd();e.moveNext())
{
feed=e.item();
//feed.MaxItemCount = feedsManager.ItemCountLimit;
feed.MaxItemCount = 0;
WScript.Echo(feed.Name + “: “ + feed.MaxItemCount);
}
}
Update: I previously set the MaxItemcount to the ItemCountLimit (2500), set it to 0 to set it to unlimited

Tagged - 5 Things you didn't know about me.

As I have always believed in the Six Degrees Of Separation, I’m not surprised this whole tagging game eventually ended up here. Thanks to Carlo for confirming my believes.
So here are the 5 things you maybe didn’t know about me.

5) I started programming on the ZX81. I had the 16Kb expansion pack and a lot of my time went into typing in programs from the various magazines (there were a lot of those back then). Later I started writing my own programs. As I’m Dutch and only had very minimal education in English when I was 12, I learned myself to read English in the progress.

4) I have a diverse musical taste. I love to listen to Disco Classics, House, Trance, Rock and Progressive Rock. You can run into me at a Steve Vai concert one week and at Dance Valley the other. Some other concerts (in no particular order) you can have seen me would be from Iron Maiden, Deep Purple, Audioslave, Toto, Simon Phillips, David Lee Roth, Joe Satriani, Dream Theater, Van Halen, Bon Jovi, Whitesnake, Tony Macalpine, Metallica. Some Dance Spots where you can have met me include Trance Energy, Innercity, Tiesto in Concert, Mysteryland, the LoveParade, Parkzicht and de Barocci.

3) I play electric guitar in a band. My guitar had been stolen and after I had spotted it for sale on the internet, hours before I went on vacation to Spain, my friends did enough detective work to have the police get my guitar back, without a scratch.

2) In 1998 I presented a session on TechEd Europe on COM+ Without a doubt it is the largest crowd I have ever presented to.

1) My dad is Indonesian so I’m a half-blood. I guess that’s the reason why I tan so easily and dark, why I prefer heat over cold, why I eat rice at least once a week (and don’t mind to eat it for breakfast, lunch and diner 7 days-a-week) and love spicey food.

Let’s tag 5 more people who aren’t tagged yet, here you go Marcel, Martijn, Ramon, Waseem and Martin