Comments
bruce.armstrong wrote: Somebody just said it better than I did, and with more chops to say it: Open Letter to Mark Zuckerberg, Sheryl Sandberg & Facebook Mobile
Cloud Computing
Conference & Expo
November 2-4, 2009 NYC
Register Today and SAVE !..

2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
In many cases, the end of the year gives you time to step back and take stock of the last 12 months. This is when many of us take a hard look at what worked and what did not, complete performance reviews, and formulate plans for the coming year. For me, it is all of those things plus a time when I u...
SYS-CON.TV
WebZinc
Cool import

Shortly before this magazine was launched, I was sent a product announcement for something known as WebZinc. The first thing I noticed about it was that the company producing it, White Cliff Computing Ltd., was in Yorkshire, England. "That can't be a very common place for software companies to be based," I thought to myself. "I'll have to work them into the queue once we get rolling." Three years later, here they are!

The delay was due to the year we spent getting ready to produce this magazine. During that time, the CD for the software got buried under a ton of junk in my office, only to surface two years later while I was looking for something else. "Oh," I thought, "guess I'm a bit late on this one."

The good news is that the software fit a specific need I had at the moment I re-discovered it. I had a private Web site that I wanted to harvest large amounts of information from. No access to the back-end database was available so I faced "screen scraping" large amounts of data off the site. Thankfully, WebZinc let me drag all the information I wanted off the site in less than 10 lines of code!

It started with the install. It was a standard "take all the defaults" installation that I liked. I noticed that the assem-bly for the library wasn't part of the GAC, so I figured it must be in the installation directory, which was in the "Program Files" folder named "WebZinc .NET," and yes, the assembly was right there. This is a perfect installation default, as far as I'm concerned.

I created a normal C# Console Application, added a reference to the Assembly, and tried to code against the library without looking at the documentation. The main object, as I quickly discovered, is called WebZinc, and it has a default constructor that accepts the URL of the page you want to begin scraping - a very logical, easily discovered design!

At this point, I had to start consulting the documentation a little. It was very straightforward and easy to read though. To fill out the login form on the first page, I just referenced the Form sub-property of the CurrentPage property on my WebZinc object, assigning values to the Value properties of each of the InputFields contained in it. Finally, as I guessed without looking at the documentation, you call the Submit method on the Form and get back another Page. Easy!

I carried on in this fashion for another five lines of code or so and, at that point, I had written a single iteration through my target Web site to gather all the info I wanted. All I had to do now was encapsulate my code in a loop, gather up the rest of the pages on the target site - which were in same format, just different content - and write a database back-end to store my results. None of this was directly related to WebZinc, though, so I'll spare you the details.

Bottom line: if you are looking to write a piece of software that interacts with a Web site designed for humans in any kind of automated fashion, you must check out WebZinc! You could do the same things with the low-level networking features built directly into .NET, but WebZinc provides a model that's much higher-level and better suited to dealing specifically with Web content. It'll save you days and days of programming if used properly.

Product Information

WebZinc
White Cliff Computing Ltd
The Grange
Tursdale, Durham, DH6 5NU.
Phone: 07092 17 18 19 (UK) or +44 1666 511 527 (outside the UK)
Fax: 07092 131 141
Sales: support@webzinc.net
Price: $199 for the upgrade, $399 for the full license
About Derek Ferguson
Derek Ferguson, founding editor and editor-in-chief of .Net Developer's Journal, is a noted technology expert and former Microsoft MVP.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

SOA World Latest Stories
ITpreneurs, the leading provider of competence development solutions for IT best practices, will be delivering its Cloud Essentials course at the upcoming Cloud Expo New York, taking place June 11-14, 2012 at the Javits Center in New York City. The two-day course covers core concepts a...
SYS-CON Events announced today that PerspecSys Inc., the leader in cloud data protection solutions for the enterprise, has been named “Silver Sponsor” of SYS-CON's 10th International Cloud Expo, which will take place on June 11–14, 2012, at the Javits Center in New York City, New York....
Private clouds solve many problems for enterprises and bring unique operational challenges along with them. There are dozens of companies of all sizes that will build you a private cloud and turn over the keys – then what? Trying to convert a traditional enterprise IT operations team t...
Like a moving company for the cloud, Racemi provides the ability to easily migrate Windows server images to public clouds. The company is a sponsor at the upcoming Cloud Expo where visitors can see Racemi demonstrate server migrations. Racemi announced on Wednesday its DynaCenter soft...
As a Platinum Plus Sponsor of Cloud Expo New York, Oracle is offering special passes to SYS-CON's 10th International Cloud Expo, which will take place on June 11–14, 2012, at the Javits Center in New York City, New York. With more than 380,000 customers – including 100 of the Fortune ...
SAP on Tuesday announced its intention to buy Ariba for $4.3 billion, a 19 percent premium on Ariba's market capitalization. The move comes soon after SAP's SuccessFactors February buy and shows that SAP is quickly and aggressively acquiring its way to a full cloud business services c...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE