Let's get the Blog Worth thing out of our system

Here's the blog worth of every feed on the weblogs.asp.net OPML, with code included to keep it on topic (webrequest, xml, and regex). We can be done with this now.

using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Web;
using System.Xml;

namespace BlogWorth
{
    
class WebReader
    {
        [STAThread]
        
static void Main(string[] args)
        {
            
string opml = (UrlToString("http://weblogs.asp.net/opml.aspx"));
            XmlDocument doc = 
new XmlDocument();
            doc.LoadXml(opml);
            XmlNodeList nodes = doc.SelectNodes("//outline");
            
string output = "<table><tr><th>Blog</th><th>Worth</th>";

            
foreach (XmlElement node in nodes)
            {
                
string title = node.GetAttribute("title");
                
string blogUrl = node.GetAttribute("htmlUrl");
                
string worth = GetBlogWorth(blogUrl);
                output += 
string.Format("<tr><td><a href=\"{0}\">{1}</a></td><td>{2}</td></tr>",
                    blogUrl,title,worth);
            }
            output += "</table>";
            Console.Write(output);
            System.Windows.Forms.Clipboard.SetDataObject(output, 
true);
        }

        
static string GetBlogWorth(string blogUrl)
        {
            
try
            
{
                blogUrl = blogUrl.Replace("http://",
string.Empty).Replace("/","%2f");
                
string pageText = (UrlToString(
                    "http://www.business-opportunities.biz/projects/how-much-is-your-blog-worth/?url="
                    + blogUrl ));
                Match m = Regex.Match(pageText, @"is\sworth\s\$(?<1>(\d{1,3},)*\d{1,3}\.\d{2})");
                
return m.Groups[1].Value;
            }
            
catch
            
{
                
return "Unable to determine";
            }
        }

        
public static string UrlToString(string url)
        {
            WebRequest request = HttpWebRequest.Create(url);
            WebResponse response = request.GetResponse();
            Stream stream =    response.GetResponseStream();
            StreamReader sr    = 
new StreamReader(stream);
            
string urlText = sr.ReadToEnd();
            sr.Close();
            
return urlText;
        }
    }
}

 

Blog Worth
Soapbox 3.0 12,419.88
15Seconds WebLog 0.00
Adam Kinney on .NET 0.00
The Technical Adventures of Adam Weigert 0.00
Ajay Juneja 0.00
Alex Campbell 2,258.16
Alex Chang's WebLog 0.00
Alex Hoffman 7,339.02
Alex Papadimoulis' WebLog 11,855.34
Andreas Eide 0.00
Andreas S.T. Brunvoll - WebLog 0.00
Andres Aguiar's Weblog 14,113.50
Andru's WebLog 2,258.16
Andrew Filev 0.00
Andrew Krowczyk's Blog 0.00
Andrew Stevenson's WebLog 1,693.62
Andrew Stopford's Weblog 16,936.20
Andy Smith's Blog 0.00
Anjana's Arena 6,209.94
Anthony Alvarado's WebLog 0.00
Antonio Cangiano's Blog 0.00
Life is Short; Play XBOX; Technology is fast; Learn Web Services!!! 0.00
Ashutosh Nilkanth's .NET Blog 0.00
Ashvil's Blog 0.00
aspXnet's WebLog 0.00
Miscellaneous Debris 3,387.24
axinom! 0.00
BSTR blog; 0.00
BenL's WebLog 0.00
Ben's Random Mumbles 0.00
Ben S. Stahlhood II's WebLog 1,693.62
Ben S. Stahlhood II's WebLog 0.00
More Atlas stuff 6,774.48
Bruce Hopkins's WebLog 0.00
Fear and Loathing 45,727.74
brady gaster 0.00
Musings by Brent 0.00
adventures of dotnetboy (aka Brenton House) 5,080.86
MindFill - Brian Carroll's Blog 0.00
ZeroSleep 0.00
Brian Desmond's Blog 0.00
Brian Ritchie's Blog 5,080.86
Brian Swiger 0.00
brianbec's WebLog 0.00
bugmandan's WebLog 0.00
Carl Franklin 73,954.74
Carl Prothman's .NET Blog 0.00
carlos medina Weblog 0.00
Chad Osgood's Blog 0.00
ChuckOp's eXPeriences 0.00
ASP.NET UK Web Development blog :: Chris Garrett 2,258.16
Chris McGuirk's WebLog 0.00
Chris McKenzie's Blog 3,951.78
Chris Menegay's WebLog 12,984.42
Chris Stewart's .NET Blog 0.00
Chris Szurgot's Blog 3,951.78
Christian Nagel's OneNotes 31,049.70
Christian Weyer: Smells like service spirit 102,746.28
Development through the eyes of Chris Hammond.... 6,209.94
Christof Claessens' WebLog 0.00
<ChristophDotNet 13,548.96
.NET Blog - Chris Frazier Style 5,080.86
Christopher's Blog on ASP.net 0.00
Pablo M. Cibraro (aka Cibrax) 0.00
ClippyThePaperclip's WebLog 0.00
CôaCôaCôa 0.00
Colt Kwong's Blog 17,500.74
Conrad Agramont's WebLog 2,258.16
Craig Gemmill's WebLog 0.00
CsGero's WebLog 0.00
Cuball's WebLog 1,129.08
1,693.62
Dan Bright's .NET Weblog 0.00
Dan Wahlin's WebLog 3,951.78
How do you USE this darn thing???? 0.00
Daniel Auger's Blog-o-mania 0.00
Daniel Bjørnbakk 0.00
eXtensible Mind Lounge 41,775.96
dantib's WebLog 0.00
-[Danny Chen]- Blog of an ASP.NET QA tester 0.00
ShowUsYour<Blog> 9,597.18
Darron's Notes 0.00
Dave Bost 1,693.62
Dave Burke 0.00
Ponder .NET 2,822.70
Wanta .NET ? 0.00
David Cumps 0.00
David Findley's Blog 0.00
The Dave Blog 0.00
David Stone's Blog 0.00
MrDave's (David Yack) WebLog 564.54
Deepak Sharma's .Net WebLog 0.00
Denis Bauer 0.00
Dennis "Dino" Perlot's WebLog 0.00
derek hatchard \\ ardent dev 5,080.86
Devin's Blog 0.00
Diego Gonzalez 0.00
Dino Esposito's WebLog 59,841.24
Dr. NETjes 3,951.78
.NET Brain Droppings 11,855.34
DonXML Blog 25,968.84
Doug King 0.00
The .NET Buffet 0.00
Doug Reilly's Weblog 6,209.94
Drew's Blog 0.00
Dustin Mihalik's Blog 0.00
Ed Kaim 4,516.32
Eddie Garmon's Weblog 0.00
Edgar Sánchez's .NET Blog 9,032.64
Ed Daniel's .net blog... 9,597.18
Eli Robillard's World of Blog. 28,227.00
The crazed ramblings of Eric King 2,822.70
Eric J. Smith's Weblog 15,242.58
Eric Maino 5,645.40
Erik Porter's Blog 35,001.48
Windows XP Expert Zone Community WebLog 1,129.08
Fabrice's weblog 38,953.26
Faisal Mohamood's Blog 0.00
fariss's WebLog 0.00
fausztNET's WebLog 0.00
Fernando Garcia Weblog 0.00
Firoz Ansari's Weblog 564.54
Frank Eller .blog 0.00
Frank Hileman's WebLog 564.54
Frans Bouma's blog 47,985.90
Frederic Gos's WebLog 0.00
A Blog for Graymad 0.00
Gabru's Weblog 0.00
Gareth Brown 564.54
Gavin Joyce's Blog 5,080.86
Georged Weblog 0.00
George V. Reilly's WebLog 0.00
Gaston Milano's WebLog 10,726.26
The Road to .Net End 0.00
Greg Robinson's Blog 7,903.56
Jesús Rodríguez's WebLog 3,951.78
Guino Henostroza 0.00
Guy Barrette's WebLog 3,951.78
guyS's WebLog 1,693.62
Hannes Preishuber 4,516.32
Haroon R. Malik Blog 0.00
Hendrix's Blog 0.00
Hernan de Lahitte's blog 6,209.94
Hsue-Shen Tham 0.00
Ian Stallings: web log 7,339.02
IndoJoe 0.00
itsover's WebLog 0.00
Ambrosian Scripture 0.00
J. Michael Palermo IV 11,290.80
jackgu's WebLog 0.00
Jackie Goldstein's Weblog 11,290.80
Jake Ashcraft's WebLog 0.00
Test Monkey 0.00
.Avery Blog 0.00
James Crowley 1,129.08
James Li's Security Blog 0.00
James Steele 1,129.08
Test Driven .NET 23,146.14
Commerce Server Chatter 0.00
Jan Tielens' Bloggings [MVP] 72,825.66
Moved to http://JasonA.net 0.00
Jason Clark's Blog 0.00
The World of Squee 0.00
Jason Mauss' Blog Cabin 10,726.26
Jason N. Gaylord's Blog 5,645.40
Jason Nadal 13,548.96
Jason Salas' WebLog 19,758.90
Jason Tucker's Blog 0.00
Jayme Davis' WebLog 0.00
jdixon's WebLog 0.00
Make It So! 15,242.58
Jeff's Junk 10,726.26
The Jeff 0.00
The Giesbrecht Blog 0.00
MsCorEE 3,951.78
Jeff Heuer's Weblog 0.00
Jeff Key 45,727.74
Naive Ineffectual Issue 0.00
Jeff Widmer's Blog 0.00
jeffknutson's WebLog 0.00
Jeremy Sheeley 0.00
J e r o e n ' s   w e b l o g 1,693.62
Jerry Dennany's Occasional Clue 10,726.26
Jesse Ezell Blog 9,032.64
Jesse Towner's WebLog 0.00
A Portion of Buff 5,080.86
Joel From Canada 16,371.66
Joerg M. Freiberger 0.00
Johan Danforth's WebLog 8,468.10
John Bristowe's Weblog 0.00
JKemp's .Net Blog 0.00
John Li 0.00
John Mandia 564.54
John Stryker 0.00
Tobler.SoftwareArchitecture() 11,290.80
JonGalloway.ToString() 46,856.82
Joe's WebLog 0.00
Jonathan Buckland's WebLog 0.00
Jonathan Cogley's Blog 7,903.56
blog 0.00
JonYates's Random Writings 0.00
josedearaujo's WebLog 0.00
Josh Robinson's WebLog 1,693.62
Joshua Prismon's Technical weblog 0.00
Joshua Schwartzberg's WebLog 0.00
Extreme JS 0.00
JCE's WebLog 564.54
Juan Esteban Suarez Blog 0.00
Julia Lerman Blog 0.00
Michael Yuan's Windows Mobile Thoughts 0.00
Justin Rogers 0.00
[karsten samaschke] 0.00
Kartal Guner 0.00
Keith Pleas Blog 0.00
Keith 'StarPilot' Barrows (Tech Blog) 0.00
WebLog of Ken Cox [MVP] 1,693.62
Ken Robertson's Blog 0.00
Kenny Kerr 7,339.02
Mr. Bad Example 0.00
Kevin Cunningham 0.00
Kevin Dente's PuppiesAndIceCreamBlog 16,936.20
Klaus Aschenbrenner - Looking into a smart future... 10,161.72
Single Guy's Blog 0.00
krishkp's WebLog 0.00
Kristian Rickard's WebLog 0.00
Blog Is Cheap 0.00
Lance's Whiteboard 15,807.12
Lance Ahlberg's WebLog 0.00
Laurent Kempé 11,855.34
Lior Rozner Blog 0.00
lolmedo's WebLog 0.00
Loren Halvorson's Blog 11,855.34
Lorenzo Barbieri @ Weblogs.Asp.Net 0.00
Luciano Evaristo Guerche 2,822.70
~mkw 5,645.40
M. Rajesh's WebLog 0.00
#region /* mads's thoughts */ 27,662.46
Mage_IronWolf's WebLog 0.00
Datagrid Girl 40,646.88
Marco Trova's weblog 0.00
marcusrogers's WebLog 0.00
Mark Brown 0.00
.Net will set you free! 0.00
Naughton Futilities 0.00
Martin Spedding's Blog 5,645.40
Mathew Nolton Blog 9,032.64
metty's blog 0.00
Tales from a Trading Desk 14,113.50
eWorld.UI - Matt Hawley 20,887.98
Matt Scilipoti's WebLog 0.00
Matthew ".NET 247" Reynolds 0.00
Maurice Flanagan 0.00
Mauricio Feijo's WebLog 0.00
mdenkmaier's .NET diary 0.00
Memi.Reflection 0.00
WebVize's WebLog 0.00
Ajax.NET Professional 37,824.18
Woodster.com .Net Web Log 0.00
24/7/dev&coffee 2,258.16
Michell Cronberg 0.00
Mike Cole's .NET Blog 0.00
Mike Diehl's WebLog 0.00
Rosey's Blog 0.00
Mitch Rupp's .NET Blog 0.00
NathanBlec's WebLog 0.00
Natty Gur 9,597.18
Nauman Leghari's Blog 22,017.06
Nilotpal's WebLog 0.00
Nino.Mobile 0.00
Noam King - WebLog 0.00
Oddur Magnusson 0.00
Ohad's WebLog 13,548.96
Olle's Weblog... 564.54
Ollie Cornes 0.00
Omar Villarreal's WebLog 0.00
Omer van Kloeten's .NET Zen 7,903.56
Or Ron's Weblog 0.00
Paolo's Notes 0.00
Paolo Pialorsi - Bridge The Gap! 564.54
help.net 40,082.34
Patrick Steele's .NET Blog 11,855.34
36 Hour Day 0.00
Paul Ballard's WebLog 0.00
Paul Gielens : ThoughtsService 14,113.50
Glavs Blog 3,951.78
Paul Speranza's .Net Life 1,693.62
Paul Welter's Weblog 0.00
Paul Wilson's .NET Blog 62,663.94
Paulo Iap's WebLog 0.00
Peter Koen's WebLog 0.00
Peter Schneider's WebLog 0.00
Phil Scott's WebLog 1,129.08
Philip Rieck 0.00
Pierre Greborio.NET 4,516.32
plaidavenger's WebLog 0.00
Plip's Weblog 10,161.72
Rachel's Blogging .NET (mostly) 0.00
Raj Kaimal 9,032.64
Raj's Notepad 1,693.62
Ralf's Sudelbücher 26,533.38
Models and Hacks 0.00
Ravikanth's Blog 1,129.08
rbfigueira.net 0.00
Rich Ersek's Blog 0.00
ASP.NET Atlas Announcements 0.00
RickSegal's WebLog 0.00
Ricky Datta Blog 0.00
Rob Birdwell's Rarely Used .NET Blog 0.00
Rob Gillen's WebLog 0.00
Rob Howard's Blog 154,119.42
public interface IKnowNothing{} 0.00
Rob Rentz 0.00
Rob Chartier ~ Contemplation... 6,209.94
Robert Hurlbut's .NET Blog 32,743.32
Robert McLaws: FunWithCoding.NET 73,390.20
robmcm's WebLog 0.00
Thoughts 0.00
Rogelio Morrell's WebLog 0.00
Roland Weigelt 10,726.26
Rolando Ramirez's WebLog 564.54
ISerializable - Roy Osherove's Blog 88,068.24
Russ Nemhauser 2,822.70
Russell Pooley's .NET Blog 1,129.08
Ryan LaNeve 0.00
Ryan Whitaker 2,258.16
S. Srinivasa Sivakumar's Blog World 0.00
SBC DotNet Weblog 13,548.96
ICodeThereForeIAm 0.00
Salman Ahmed 0.00
Samer Ibrahim's Blog 0.00
Sanjeeb Sarangi's WebLog 0.00
Scooter's Musings 13,548.96
Scott Forsyth's WebLog 10,726.26
ScottGu's Blog 239,929.50
Scott Lock's Blog 0.00
Scott Sargent : Codeboy's Blog 0.00
Scott's Basic Blog 0.00
Scott Van Vliet's Weblog 10,161.72
Site News 0.00
Scott Weinstein's .net blog 7,903.56
mrswoop's WebLog 0.00
I Evangelist.. 0.00
Scott Cate's WebLog 0.00
ScottW's WebLog 0.00
Sean Colyer's Used Code Emporium 0.00
Sebastian's WebLog 5,080.86
senaxnee's WebLog 0.00
Serge van den Oever [Macaw] 29,356.08
Shane Bauer 0.00
Shane Henderson 1,129.08
ShankuN's Blog 0.00
Shawn A. Van Ness's weblog 15,807.12
The OLD AllThings.Net by Shawn Smith 0.00
Sijin Joseph's blog 2,822.70
SlavoF's WebLog 0.00
Sonu Kapoor's WebLog 0.00
Sreedhar Koganti's Blog 1,693.62
Sriram's WebLog on ASP.NET VB.NET C# 0.00
"Texas Yankee" 0.00
Steve Presley 0.00
Steve Schofield Weblog 0.00
Steve Sharrock 2,258.16
The ASPSmith's Blog 0.00
life in a smart mob 0.00
Steven M. Cohn's WebLog 1,129.08
Suda Bhat Blog 0.00
Dev Notes 23,146.14
Suresh Behera 8,468.10
Susan Warren's Blog 0.00
Sushila Patel's Weblog 2,258.16
Sylvain Duford's Integration Blog 0.00
Technet 0.00
Ted Graham on Software 3,387.24
Terry's WebLog 564.54
IHuman 0.00
Teucer's WebLog 0.00
rev.one technologies 0.00
Thomas Johansen's Blog 4,516.32
Tales from the Corp 0.00
Tiago Pascoal's WebLog 0.00
Tiernan OTooles Programming Blog 0.00
Loosely Coupled // Tim Marman's Weblog 6,774.48
Tim Walters .NET + Flash Blog 0.00
Tom Richards .NET Weblog 0.00
Travis.Net.Blog 0.00
Trond Borg 0.00
uber1024's WebLog 1,129.08
Urs Bertschy Blog 0.00
Varad, The .NET Guy! 2,258.16
I LOVE C# 0.00
Vince Blasberg's WebLog 0.00
Followers of the IHttpHandler 0.00
Web Service Guy 0.00
vimodi's WebLog 0.00
Vishwas Lele's WebLog 0.00
Wallace B. McClure 49,679.52
Wayne Allen's Weblog 7,339.02
Wes' Puzzling Blog 16,936.20
Westin's Technical Log 9,032.64
Wimdows.NET 0.00
Yves Reynhout's Blog 4,516.32

UPDATE: Okay, this is kind of opposite of the spirit of the post, but I've had a few requests for a sorted list of top valued blogs, so here's everything over 20K:

Blog Worth
ScottGu's Blog 239,929.50
Rob Howard's Blog 154,119.42
Christian Weyer: Smells like service spirit 102,746.28
ISerializable - Roy Osherove's Blog 88,068.24
Carl Franklin 73,954.74
Robert McLaws: FunWithCoding.NET 73,390.20
Jan Tielens' Bloggings [MVP] 72,825.66
Paul Wilson's .NET Blog 62,663.94
Dino Esposito's WebLog 59,841.24
Wallace B. McClure 49,679.52
Frans Bouma's blog 47,985.90
JonGalloway.ToString() 46,856.82
Fear and Loathing 45,727.74
Jeff Key 45,727.74
eXtensible Mind Lounge 41,775.96
Datagrid Girl 40,646.88
help.net 40,082.34
Fabrice's weblog 38,953.26
Ajax.NET Professional 37,824.18
Erik Porter's Blog 35,001.48
Robert Hurlbut's .NET Blog 32,743.32
Christian Nagel's OneNotes 31,049.70
Serge van den Oever [Macaw] 29,356.08
Eli Robillard's World of Blog. 28,227.00
#region /* mads's thoughts */ 27,662.46
Ralf's Sudelbücher 26,533.38
DonXML Blog 25,968.84
Test Driven .NET 23,146.14
Dev Notes 23,146.14
Nauman Leghari's Blog 22,017.06
eWorld.UI - Matt Hawley 20,887.98

7 Comments

Comments have been disabled for this content.