September 29, 2006

RSS How To

Found a good site today that runs through a How To for building and using an RSS feed. It goes through a breif history, how it works, structure of RSS, and throws some examples at you as well. Handy if you'll be building an RSS feed for your website. Check it here
Tags
web developer, syndication, rss, rdf
Relevant pics from Flickr



Related News
PressFeed Brings RSS to Any Web Content
SQL2RSS Script Converts Databases to RSS Feeds


kick it on DotNetKicks.com

September 21, 2006

My little brain

I took some training for my job this week, the topic being "Designing and Coding Secure Systems." It was a very interesting class probably geared more towards the entry-level, perhaps mid-level, security professional. I was in total awe of the teacher simply because he was so knowledgeable on the subject. It got me thinking about how much I know about my every day job. The teacher has been at his Phd for nearly ten years. That amounts to an immense amount of knowledge and experience.

Well there are two types of IT people in the world. One is the "out-of-the-box" techie, like the teacher, who's at the edge of technology pushing the boundaries out. The other is the "in-the-box" techie who implements the new technology to come up with new services and products. Without either of the two we are stuck in either a "out-of-the-box" world where technology is vastly advanced but never used, or we're in the "in-the-box" world where there's no new technology and we must forever re-invent the wheel.

Have no idea where I was going with this but there's an issue at work so I gotta go sorry!

kick it on DotNetKicks.com

September 13, 2006

Get Vista RC1 and a Serial Now

Follow the instructions on the page and you will be given a link to download Windows Vista RC1 and a serial.

read more | digg story

kick it on DotNetKicks.com

September 11, 2006

SQL OPENXML - Cool Stuff

I came across this really useful code earlier today and I had to share. This is an example of using XML and SQL to update multiple things at once.

First inside of your code you need to generate the XML. Here's an example of an already-generated XML doc:


<root>
<item someID="2245" crewName="G" />
<item someID="2245" crewName="V" />
<item someID="2245" crewName="O" />
<item someID="2245" crewName="Q" />
<item someID="2245" crewName="M" />
<item someID="2245" crewName="B" />
</root>


CREATE PROCEDURE dbo.exampleOXML (
@someID int,
@XMLItemList text
) AS

DECLARE @tCount INT
SET @tCount = @@TRANCOUNT

IF @tCount = 0
BEGIN TRAN exampleOXML
ELSE
SAVE TRAN exampleOXML

-- BEGIN OUR COOL STUFF
DECLARE @myXMLDoc int

-- Add our document
EXEC sp_xml_preparedocument @myXMLDoc OUTPUT, @XMLItemList

-- Use OPENXML
SELECT
someID, crewName
FROM
OPENXML (@myXMLDoc, '/root/item', 1) WITH (someID INT, crewName VARCHAR(4))

-- Remove our document
EXEC sp_xml_removedocument @myXMLDoc

IF @@ERROR <> 0
ROLLBACK TRAN exampleOXML
ELSE IF @trancount = 0
COMMIT TRAN exampleOXML

GO


You can also use the following, assuming all parameters match:
OPENXML (@myXMLDoc, '/root/item', 1) WITH item

kick it on DotNetKicks.com

September 10, 2006

Bully gets his

HAHAHA This guy gets what is coming to him.

read more | digg story

kick it on DotNetKicks.com

September 09, 2006

SpellingCow

I ran across this yesterday as I was reading up on COWS Ajax. It's a spellcheck component that you can implement on your website simply by copying a few lines of JavaScript. It's really easy to wire it up to your existing pages and the UI of the tool is very intuitive. Visit the home page to test how it works. www.spellingcow.com

I had a few issues with the "favelet" on IE. Couldn't get it to work well but that aside, the tool works pretty well.

SpellingCow can spell check as you type on any web page. Just add one line and your website will have the best spell checker on the net! You may also run SpellingCow on any website you visit via the use of a favelet.

kick it on DotNetKicks.com

September 08, 2006

Container Livin'

Wouldn't it be great to live in... a container? Hah.. yea believe it or not there is a company who is prototyping it. It's an interesting idea in which I am sure is reasonable however I just don't think its going to catch on... Although there could be some very useful situations, such as the Katrina disaster, in which this would help. Anyways take a look at the pictures:

"TLOT-EK’s MDU is based on the concept that, around the world, there could be colonies of standard container docks where an urban nomad population could arrive and plug in its module houses." Read More...

kick it on DotNetKicks.com