Tag | API Posts

RSSBus is good for more than just generating RSS feeds or helping you easily create an API for your data or services. Its also useful in easily outputting other formats as well, such as KML (an XML format for Google Earth). For example, recently Tim posted an example of using XmlTextWriter to generate KML. For most of ius, its not rocket science, but compare his code and the ease of writing it with how it can be done with RSSBus. With RSSBus you can just literally write the XML and plug-in the values ...
I've been working exclusively alone on a project for a while and have as much liberty as any developer could hope for. I'm a blessed man. Nonetheless, I have tried to kind of "pretend" like I am working in a team environment that has regimented deadlines. This is mostly due to integrity and partly due to prevention for laziness...how easy is it to constantly be researching solutions without implementing them? There was a necessary period of growth in skill sets that had to occur and while I certainly ...
In August, the Google Reader Blog posted a list of the most commonly used extensions in feeds. Here is my list of the top 10 most useful extensions for syndication: 10. iTunes This one really shouldn't even be on this list, but I include it because it did make a big splash when it was released. It also generated a lot of frustration and anger amoung podcast producers. The iTunes namespace extension was created to allow podcast feed producers to integrate their feeds with Apple's iTunes music player. ...
Here's a library for manipulating the clipboard using C#. Why do we need such a library? Because the Windows.Forms.Clipboard class only allows you to manipulate serializable data. You need to escape out to the Windows API if your data doesn't conform. This class does all that magic for you. From the introduction: The code uses Windows API calls to read and write into the clipboard. It provides a ClipboardHelper, an easy to use API bridge, which offers, in addition, functions to serialize complex ...
I noticed this weekend that viewing geocoded flickr pictures on Where's Tim wasn't working quite right. It would only grab one or two pictures and I know there is over a thousand geocoded pictures in Lawrence. The code looks fine and my geocoded pictures in flickr were still there. I ran my code through flickr's api explorer and it looks like their api is returning a limited result for some reason. Maybe there is a glitch somewhere ...
Nick Bradbury, in his post Feed My Attention, says he views feeds as an "alert system" and that we should demand more feeds from the services we use. Nick is trying to make the point that feeds are for more than just blog reading, but he fails to make this point fully because he is restricting his ideas to typical feed reading applications like his own FeedDemon. Not only are feeds for more than just blog reading, but they're for more than just the simple "retrieve and display" feed readers of today ...
Jaroslaw Kowalski has announced the birth of NLog 1.0. This is a free logging library for .NET. It seems to be much more streamlined than what's in EntLib, which is probably a good thing. From the website: NLog is a .NET logging library designed with simplicity and flexibility in mind. With NLog you can process diagnostic messages emitted from any .NET language, augment them with contextual information, format them according to your preference and send them to one or more targets. The API (application ...
OK, so, clearly, this is a 3 parts article, so, if you haven't already, I guess you need to check the first part first. So, where did I stop last time? Oh yeah, Cyra. Thanks again. In fact I have a problem with the rest of the day; the day before I just kept working until 1 AM (hey, it's not a nature for work in Silver Key. They keep preventing me from this, and I was truly kicked out of the office by my PM a couple or three times for that!!!), and when I left home I was too lazy and reached at 3AM ...
I'm a .net (c#) programmer, through and through, but work needed someone to port an API that I had recently written in C# to Java, so guess who got the job! So for the last 3 days, I've been fighting an issue with Java and Eclipse 3.2 and my own code. I've been getting the dreaded NoClassDefFound exception, and been unable, completely unable, to debug eclipse. Basically, when I attempted to instantiate a particular class, the NoClassDefFound exception was thrown, even though other classes in the ...
So again courtesy of Bink.nu I came across the other Blog that Alessandro writes at Security Zero, where I have normally just been tracking what he writes at virtualization.info What I also found interesting was the stats - 1,951 Participants for Network Monitor 3 Beta 2, 38 Bugs, 20 Active. This has been available since 6/06/2006. Network Monitor 3 Details:Upcoming Network Monitor 3 will offer several new features and will finally be an uncapped, free, stand-alone application for Windows XP/2003/Vista/codename ...
Have you ever wondered why instance methods in java are virtual by default and in C# not? In C# to make a method virtual you have to explicitly do it right? Why is that? I think better to ask from creator of the C# language. :) So this is what Anders Hejlsberg says: There are several reasons. One is performance. We can observe that as people write code in Java, they forget to mark their methods final. Therefore, those methods are virtual. Because they're virtual, they don't perform as well. There's ...
I've known about Channel 9 for quite some time, but a colleague of mine just shared the Going Deep section of it with me today. Here is a short description of what it is: “Charles Torre travels around Microsoft to meet the company’s leading Architects and Engineers to discuss the inner workings of our core technologies. Going Deep is primarily concerned with how things work, why they are designed the way they are, and how they will evolve over time.“ Check out the current line-up ...
There is all kinda of data that I wish were made available through some API, such as the congressional voting data that I mentioned previously. There are lots of businesses and organizations that have data, but not necessarily the resources to create an API. This is another great use of RSSBus. You can create RSSBus scripts that can take advantage of things like SqlOps and OracleOps, ExcelOps, CcOps, QbOps, FileOps, S3Ops, etc. Through these scripts you can expose an API for your data that is stored ...
From the Microsoft SoCal site I gleamed the following: Micrsoft have just released two great resources for BizTalk BAM aficionados. The first, BAM Frequently Asked Questions covers great topics like BAM tracing, common errors, maintaining the BAM databases and more. Good stuff. The second doc. Developing with BAM goes through the BAM API and explains (with code snippets) how to use the API. Obviously you could write volumes on the tactics for BAM programming, but this document is a great start for ...
In a recent post, I commented how it would be awesome if there was an API for the United States Congress. I spoke to Lisa Coligan, National Director at Project Vote Smart, and asked her if they had any plans for an open API. Somewhat surprisingly, her answer was yes! Lisa says that vote-smart.org does "not currently have API but we're planning to in the future. We won't have it in time for 2006 elections but we hope to have it up and in place well before the 2008 elections." Now that would be really ...

Here's a good guide on the MSDN Coding 4 Fun site about accessing the Flickr API using .NET.

I was checking out my Amazon account one day when I came across a blurb for their “Mechanical Turk” service, at http://www.mturk.com . It's built for what they call Human Intelligence Tasks (“HITs“), which computers can't do reliably yet. Tasks like comparing two photos to see if they're the same person, reading two product descriptions to verify if they're the same product, or summarizing a podcast in 200 words or less. You can even register (using your normal Amazon account) ...
Aral Balkan on Jeremy Keith, Hijax Riaz Kanani on the day so far at Barcamp London Matthew Pennell on Day One of BarCamp Frances Berriman on Day one, part one and also Day one, part two, Day 2 Riaz Kanani on morning of day 2.. v early morning James Stewart on day one Mike Davies on day one Write up of Matt Webbs future apps thing "The first rule of Barcamp..." write up by Luke Redpath "Talking about widgets" Jay on the widgets session Saturday afternoon "Talking about widgets again" Steve on the ...
The GoogleToSalesforce and SalesforceToGoogle RSSBus scripts can now be downloaded from the RSSBus blog. Note that Salesforce.com limits access to their API to Enterprise Edition or Unlimited Edition customers only. Yes, you can access it with a Developer Edition account as well, but of course with that you can only have a small number of users and a small amount of storage. Technorati : atom, google calendar, rss, rssbus, salesforce.com ...
Well I did get the updates made as promised. These updates include post editing using third-party tools that use the MetaBlog API (such as Windows Live Writer) and a more responsive Main Feed for the site. However, due to the link change in the feed, they will republish in your aggregator. I wish I could do something about that, but there isn't any way around that ...
In WSS v3, the concept of folders has been introduced into lists, and a folder is also a Content Type, which basically means that you could define your your custom columns/fields against a folder as a content type to track metadata of interest. For example within a Book list, you could have Genre as a Content Type derived from Folders, which could contain a series of book items. I am not going to argue that genre is more appropriate to be a field against the book item rather than a folder, but bare ...
We have two major problems with Geekswithblogs.net, well more but these are short time development problems I can fix quick. Here are the problems I hope to have fixed tomorrow. MainFeed flakes with Pheedo link Casting error when editing using MetaBlog API (Live Writer) These problems should be easy to fix and I should have them ready for tomorrow morning. If you have other site issues, use the Site Problems wiki page to publish your issues. [Update] Edit with MetaBlog API (Live Writer) will work ...
Who is it? Who is starving for an API or a set of dynamic feeds? Why, the United States Congress, of course! Think about it...do you know what your state senators did last summer? Or your house representative? You might know their positions on the big issues - but what about the ones that don't get big attention in the press? Are they just a pawn voting down the party lines? Are they hiding something? Are they acting contrary to how they campaigned? Are they ignoring the opinions of their constituents ...
Tim pointed out to me yesterday that Flickr was adding some official support for geotagging. In the past, Flickr members just used regular Flickr tags to geocode their photos (ie, tags like lat:36.45 and long:-79.34). Now Flickr will let you go to the Organize page's "Map" tab and literally drag and drop your photos onto a map to geotag them. This is very cool, IMHO. What they've not done yet is make this information available via their API, but they say that functionality is coming soon. So what ...
Last week I got some emails from colleagues regarding “C# Coding Standards”. Lance Hunt’s “C# Coding Standards for .NET” caught my eye and especially the part about Object Model Design. Always prefer delegation over inheritance. Avoid “Premature Generalization”. Create abstractions only when the intent is understood. Do the simplest thing that works, then refactor as time permits. Always make object-behavior transparent to API consumers. Always separate presentation ...
Billy McCafferty, another geek from GeeksWithBlogs, wrote about a project called “ASP.NET ActionPack”. The project is intended to leverage the same code-generation capabilities as Ruby-on-Rails, and does fairly the same job (creating Admin screens for Create/Update/Delete CRUD tasks), should end providing fair degree of classes customizations too. It's hosted on CodePlex by the way. I din't like Ruby On Rails since I saw some sceencast on it 2 month ago, and I have some comment on the ...
[This post is long, and is mostly a brain dump] I recently started a bender of coding where I am trying to move all of my transaction management code out of my Controllers (MVC controllers) and in to a more appropriate place. But since I am striving for a POCO model where in the hell can I put this code and still seperate all of my concerns? I start digging into "POJOs in Action" and see that Chris uses a class called a Facade to manage this transaction junk. It sits between the view logic and the ...
Lets say you wanted to get the RSS feed for a particular Flickr Group called "MyGroup". All you had to do to know the URL for this feed was: "http://www.flickr.com/grou... + MyGroup + "/pool/feed/?format=rss_200" Easy as pie. No matter the group name, it was always very easy to find the URL for its feed. No longer. Now, the urls look like this: http://api.flickr.com/servi... (the format parameter can also be atom_03). On top of the fact that ...

Remember guys use  the Metablog API service and the associated URL  http://www.geekswithblogs.net/[YOUR USER NAME]/services/metablogapi.aspx.

Hmm ... Well, I've got to admit, my first blog effort was a slight lie, I didn't actually use Live Writer to post it, I just copied and pasted the HTML (that I had to refactor :\ ) to make my first post, hoping that it would solve the Error message I was getting. It didn't. Ok, When I use Live Writer to either Post or view posts on my blog, I get "Server Error 0 Occured; User Does not exist". Apart from nullifying my existance :( I know I gave it the correct Service API as it downloaded my blog style ...
Jeff, John, Joseph, and Tim are going to South Carolina Code Camp 2.0. No word on whether Waldo is going or not. These guys want to do something nerdy along the way. Great idea, and I'm always up for nerdy games. :) We can easily create one RSS feed that shows their real-time location (using Where's Tim), the weather they are experiencing (yahoo weather), local events happening in the area that day (upcoming.org), and area restaurants in case they are hungry (yahooLocal). I don't know anything about ...
To me the adapter pattern is all about bringing someone elses code API into line with your Domain model. Their API may be a beautiful API but that doesn't mean that their concerns will match your concerns in the right way. Of course their API could be so clueless that the only to make sense of it is to hide it behind another class. These are both usage of the adapter pattern. Another benefit of the Adapter pattern is that it can keep your code decoupled from third-party code. By providing a wrapper ...
http://blogs.msdn.com/adiol... How to write a DCOM server in C# Well, why DCOM and not .NET Remoting? For one thing, DCOM offers a secure interprocess communication channel through TCP/IP... which .NET remoting doesn't have unfortunately. Also, a DCOM server can be hosted in almost any process, including Windows Services! The ideas are described below (this is pretty straightforward assuming you already know COM) 1) Your server process will expose a COM class factory ...
Some feeds have no use, at least for the majority of us, outside of a regular feed reader like Bloglines or FeedDemon. I call these "news feeds" whether they are feeds of world news from CNN.com or Shelley Powers' personal blog postings. Perhaps "news feeds" is not the best name and I should change this habit. Now that I'm an a-lister I should be more precise, maybe. ;) I don't like to just use the word "feeds" to describe them all, because I think feeds that have more granular data in them need ...
The Facts OK, as everybody, I had to write my first Windows Live Writer post, like everybody else did, that's what you are reading right now! If you haven't checked it out already, Windows Live Writer is a blog authoring software from Microsoft, which has become a top topic in the blogsphere lately; it's released with an SDK which some people also had good experience with, used mainly for posting to Windows Live spaces, yet supports many other blogging engines including Movable Type, Blogger.com, ...
Live Writer is another great tool for posting blogs offline. I used to use w.bloggar, but the site is down and who knows what is going on with the writer. Configuring Live Writer is very easy to do, here are the steps you need to take to configure it with Geekswithblogs.net. (Sorry for the long post, but people are asking for this). Start the Installation File: Agree to the terms (or don't install and stop reading): Decide if you want the toolbar, you can see my decision here: Go to Start, Programs, ...
I am currently working on a TFVC utility. Part of the functionality of the utility is for the user to select a sourcepath and have the system return all the branches that are related to the path. Here is what I was able to come up with to solve this. The sample will return an Item array that you can then work against to get the desired information. private TeamFoundationServer tfsServer = null; private VersionControlServer vcs = null; public Item[] GetMyRelatives(Item sourceItem){ tfsServer = TeamFoundationServerFactory... ...
uwin/uwin.mm mm document. The UWIN package allows UNIX applications to be built and run on Windows XP/2000/NT/ME/98/95 with few, if any, changes necessary. UWIN source and binaries are available under the open source Common Public License 1.0 at AT&T AST/UWIN open source downloads. UWIN contains: Libraries that emulate a UNIX environment by implementing the UNIX Application Programming Interface (API) Include files and development tools such as cc(1), yacc(1), lex(1), and make(1). ksh(1) (the ...
Kirk Allen Evans' Blog : Why Can't I Find a List of Zip Codes, Cities, and States?. Kirk, who’s part of the team that I just joined @ Microsoft (that’s another story…) has a post on Zip Code lookup and interaction. There’s a number of comments on how to get the data and a few good pointers: USPS as an API http://www.usps.com/webtool... Zip code DB http://sourceforge.net/proj... Yahoo Geo Coding API http://developer.yahoo.com/... The ...
Today I started messing with the Mobile Client Software Factory. It has a lot of potential and is backed by the right people so I thought it could come in very handy. I'm new to PPC development and recently got handed an app to build upon and improve, the initial developer being an offshore developer. Being a web developer used to such luxuries as an ORM, full API access on things such as UI controls and ADO when needed, it came as a bit of a shocker to discover the compact framework really is compact! ...
http://notepad-plus.sourcef... Notepad++ is a free source code editor (and Notepad replacement), which supports several programming languages, running under the MS Windows environment. This project, based on the Scintilla edit component (a very powerful editor component), written in C++ with pure win32 api and STL (that ensures the higher execution speed and smaller size of the program), is under the GPL Licence. This project is mature. However, as you can see it's a one-man-project, ...
Resume – Senior, Hands-On, .NET, C#, VB, ASP, XML, SQL, SharePoint, Crystal, Reporting Services Developer, Team Leader, Hard-Core Coder Rodney Vinyard, 29 Windermere Road, Montclair, NJ 07043 rodney.vinyard@gmail.com · Seeking North NJ/Manhattan .NET/SQL developer job. · Hands-on .NET, C#, VB, SQL, ASP, XML, XSLT, Reporting Services, Crystal. · 30 years of productive, software engineering experience. · Inventive, focused, hands-on software designer, engineer & coder. · Effective leader, writer ...
Clint Batman from ThinkGeo was nice enough to let me use their geocoding engine on Where's Tim. Their engine supports regular geocoding (enter an address and get latitude / longitude) and reverse geocoding (enter lat/long and get address). The API is easy to consume (3 functions) and the results are intuitive. So now when you are viewing Clint's real time location on Where's Tim , the extra stuff like city information, weather and Yahoo traffic will work ...
Microsoft is changing it’s development technology very frequently. By the early of this year I started to learn .net 2.0 and VS.NET 2005 seriously, and with in few months I was just able to capture few new features of this, although I was also engaged with project management, UML, Ajax and other software engineering issues, as I need to be on the track with other development tracks. Well, not only Microsoft, but also other technologies, relevant to software development is changing very frequently. ...
When a new development technology comes, the first thing that makes the developers busy, crazy and tensed is “how I can see the first ‘Hello World?’” Well of course you need to successfully install the corresponding software into your pc, then can write a new or open an provided sample, generally which is as simple as showing the “Hello World” message. After then the developer goes through the more complex samples, finds good tutorials and start discuss about it ...
Welcome to Basically Basic! About Me Hi, I'm Alex Loret de Mola, and I'm a VB programmer. I know the last two words in that sentence sound contradictory to some people: and indeed, I can't blame you for feeling that way. However, I'm hoping that this blog will help to change the perspective of VB doubters, and help those who have already succumb to temptation. On this blog, I'll be talking about how you can perform advanced security, set up complex data structures, manage large scale projects and ...
Today I pieced together some random thoughts on web 2.0. Here they are, sloppily weaved together. Calcanis "gets it". His blog post about paying digg diggers was digged, flickr'd, del.icio.us'd, and even TechCrunch'd (hey, even bad publicity is still good publicity). Before its all over with, this will probably be IT Conversation'd (or should I say GigaVoxed? Conversation Networked? I'm not sure which it is these days) by Doug Kaye and PodTech'd by Robert Scoble (or John Furrier) too. Bloggers, vloggers, ...
Innovation keeps on hitting me in the face, amazing ideas I wish I had thought of first. Comes a company called Flickr of which I'm sure you all heard about already, many times - and offers a great product, mostly for free. I will not go in to what they offer - its pretty simple and everyone knows about it. In addition to their "main" offering - they also created an open, free API to access all that, along with a scheme to allow other entities to authenticate for you (only if you allow them). Since ...
Yesterday, I was implementing site wide search functionality for the site I'm working on currently. The site consisted of both&;static XHTML pages as well as dynamic ones (dynamic in the sense that their content comes from DB based on query strings), and is going to be hosted on shared hosting service, so, implementing the search via DB queries or some sort of indexing service (or even writing my own index engine as windows service or so) were all non-available options. I thought, why not use ...
.Net Directory Services Programming – C# - Part 3 Topics DirectorySearcher – the other critical class in the DirectoryServices namespace. Review Because a lot of your Directory Services (DS) development will involve querying DS for data, it makes sense that this is a powerful class offered in the namespace, and below are some of the features: DirectorySearcher – Performs the initial queries against AD SearchResult – A single object reference from a search performed by DirectorySearcher ...