XML
There are 23 entries for the tag
XML
After much frustration, I've finally configured our TeamBuild proj file to publish our ClickOnce app, and increase the version number (kinda an important step). The Vertigo blog talks about using SolutionToPublish, but that doesn't work for all situations. Specifically, when your solution contains projects that reference other projects. So I started playing with the MSBuild Community Tasks Project, and came up with the following Xml for my proj file: This tells the .proj to use the community project:<Import...
Cursor on Target (CoT) is an effort by military and governmental branches, FFRDCs (federally funded research and development corporations) and private companies to standardize an electronic portable data format to define location based data. I am the biggest geo-geek that I know, so obviously I was very interested when they contacted me about implementing their format into Where's Tim. These guys have done a great job of making a simple schema (12 required fields) that is easy to implement. I blogged...
I've been working on implementing CoT XML standard for describing location based data. Here is the C# code for an .aspx page that will render XML More infomation about CoT can be found here: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;u... System.Web.UI.WebControls.W... System.Web.UI.HtmlControls;... System.Xml;public partial class cot : System.Web.UI.Page{...
In a recent post, I talked about wanting a TFS group called ParaPlan_Stud that contained Kyle and myself that we could assign tasks to and view in our "My Work Items". Much thanks goes to Mickey Gousset, who wrote a book that you need to get, for helping me with this. Here is how we did it: Created Project Group call ParaPlan_Stud and added Kyle and myself to it. Edited Task.xml To access the Task, I had to edit the xml file that defines the task. Using the VS 2005 command prompt, I entered: witexport...
I didn't really like how I was storing some of our SQL connection information. It was buried deep in the file system in an XML file, but it was still plain text. So I spent my day looking at the different encryption options in the .net framework. I needed it to be two-way encryption so our objects could still work with it, so I decided on Rijndael. I found some great code, modified what I needed and wrapped it in one of our objects. It works pretty well. Now only if KU could have pulled it out...
The following code shows the guts of an ASPX page that will return a KML file that will load in Google Earth. We use an XmlTextWriter to write an XML file to the response stream. We set the ContentType = "application/vnd.google-ear... so it will automatically open in Google Earth if the user has it installed. The page accepts 3 query strings.lat - latitude of geographic pointlon - longitude of geographic pointicon - url of icon that will plot the point If query strings are not provided,...
GeoRSS is an extension of RSS that allows for geographic information to be associated with a blog post, an event, a gps location, a photograph or any other information where geographic information would help better describe the item. Several websites are recognizing the value of GeoRSS and are adding these extensions to their feeds. Most recently, Wordpress is using GeoRSS to add maps to their posts. One of the things that Jeff and I talked about on our roadtrip is adding GeoRSS tags to ESS. ESS,...
We released a new version of Where's Tim this morning that supports GeoRSS feeds. Use a georss query string with the url of the feed as the query string value like this: http://timhibbard.com/where... or you can create an xml file that contains information about GeoRSS feeds that looks like this: <?xml version="1.0" encoding="utf-8" ?> <GeoRSSFeeds> <feed url="http://timhibbard...
I'm rewriting a class in our GPS object that handles the geographic coordinates of GPS points. We need more flexibility in converting between types of coordinates. I'm torn between designing the class for performance or for ease of consumption. From an architectural point of view, the class should be easy to consume. So when somebody has this class loaded, they could use a .DecimalDegrees or .DMS property and it would take the existing data, convert it on the fly and spit it back. However, I know...
Yesterday, Google announced KML support in Google Maps. KML is a markup language like XML that defines data to be shown on a map. I use KML on Where's Tim to show my current location inside of Google Earth, so I was very excited...until I tried it. My KML file is an .aspx page that returns a content type of "application/vnd.google-ear... so when you click on it...it opens in Google Earth. So I put the address of my .aspx in the query string as instructed by Google and I got a "could not...
Too many Google Maps mashups force the user to enter a zip code, or select a state before displaying the data to the user. This interrupts the user experience and takes away the "browsing" capabilities that Google Maps offers. This article shows how load data from XML using the Google Maps AJAX helper when the user moves the map and display only the points that are in the viewing range of the user. http://geekswithblogs.net/t...
Too many Google Maps mashups force the user to enter a zip code, or select a state before displaying the data to the user. This interrupts the user experience and takes away the "browsing" capabilities that Google Maps offers. This JavaScript code will show how load data from XML using the Google Maps AJAX helper when the user moves the map and display only the points that are in the viewing range of the user. The XML file is located here. And a working example is here. <script type="text/javascript&...
Steve Walker was at my AJAX.NET talk at Wichita Code Camp. This is what he said: ...One thing that I thought was interesting about the presentation was Tim showing us how his company uses Google Maps and GPS to track items around the world in real time. In a VERY small amount of code, we were able to see where Tim was at and where he had been on his drive over this morning... Thanks Steve. People are starting to use the Where's Tim API for interesting things. One guy mashed up Where's Tim data with...
This article is from a talk I did for the Kansas City .net user group. It will show you how to use the AJAX.net library written by Michael Schwarz. Initial Setup: 1) Download dll from http://ajaxpro.info 2) Open Visual Studio and create a new web application 3) Add a reference to the AJAX.net dll 4) Modify your web.config to include: <system.web> <httpHandlers> <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandler... Ajax"/> </httpHandlers>...
Google has an API for their personalized homepage, and of course it is really easy to consume. It is an XML file with a place for HTML / Javascript. I created a striped down version of Where's Tim using their API. To install this module on your homepage, click here. Google provided a method for asynchronously downloading data, _IG_FetchContent (which I talked about the other day). To consume this method, you provide the datasource and the function you wish to call after the data is downloaded: function...
We added some stuff to Where's Tim today. We trimmed out some of the redundant information that the Where's Tim webservice was returning on the GetTimsHistory call. We added my speed to the Dump History to XML file. When I am actually moving, we use a green icon to indicate my current position. When I am idle, the icon is the default red one. I messed with using different color polylines to indicate my speed on the Get History function, but it was too slow because I had to create individual polylines...
On Where's Tim, you can now see where I was on a specific date. Entering a date in this box: will get you this: Clear History = Removes the history overlay Export History to XML = Generates an XML document with the lat/long data Disable Auto Update = Temporarily disables the Auto Update feature so you can move the map around and browse my previous locations without the map recentering itself Note that the history function doesn't work that great in Firefox. And that getting dates with a lot of data...
New! Check out the new ClickOnce Where's Tim Tasktray alerter! http://timhibbard.com/where... When I tell people that I keep a GPS enabled Nextel phone in my car and anybody, at anytime can see my current position, they always ask, “Well, aren’t you worried about that?” I always say, “No, one day everybody will use their current location to assist them in their everyday lives.” While most people aren’t as comfortable with this level of transparency, I believe the social and business benefits of...
We made it to San Angelo and back (no thanks to Continental Airlines...never flying them again!). Kyle talks about it here. I'm looking forward to Jeff Julian's talk Tuesday night about XML Serialization at KC.net user group...If you're in the Kansas City - Lawrence - Topeka area, make sure you come check it out...
I got an email today from somebody that wants the source code for the "Fly to with Google Earth" function on Where's Tim. Essential, I created a base XML file, used an XMLNodeList to parse and change the base XML file, saved the base XML as a KML file, and used a Response.Redirect to launch the url with the KML file. Here is the base XML file that I used. Note that the file HAS to be saved with the .xml extension. <?xml version="1.0" encoding="utf-8" ?> <kml xmlns="http://earth.go...
I don't know much about XML standards, so maybe Jeff can help me out with this. I think there should be a location based standard that RSS aggregators and future websites (like Where's Tim) can consume. There would only need to be a few items needed.- Title of location- latitude- longitude- Time stamp- Web linkPeople could syndicate their current location, companies could syndicate their store locations. Cell phone companies could have a standard data format for their location based services. As...
Inspired by what Rob did with geotagging Flickr, I built something similar with Where's Tim that I talked about yesterday. You can click the “Fly To With Google Earth” button and it will generate a .kml file that will open inside of Google Earth. It wasn't that hard to generate. I used a XmlDocument to load the core .kml file (I actually renamed the base.kml file to base.xml because XmlDocument will not load a file that doesn't end in .xml) I then use a XmlNodeList to find the specific...
We have a logging component that is based on an arraylist, the arraylist is then bound to the datasource of a listbox. The component exports the log to xml and stores data between sessions in xml and all that. It's actually pretty cool and I would like to make it part of a public EnGraph Components package someday...anyways, we've found that at about 2000 records, it starts to slow down significantly. A task that would normally take 2-3 seconds, runs for 15-17 seconds. We're pretty sure it is the...