. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Tuesday, November 29, 2005

Google Search: c# convert date from uk to usa

One of the searches that came from Google to my site asked the following "c# convert date from uk to usa".

Now I don't really know exactly what the user was asking for, but I presume it is something fairly simple. The way that I would convert a UK date into a US date is as follows.

Read in the UK date, short format/long format whatever into a DateTime field. The output the date time using a US locale.

The following code works in vs2005.

CultureInfo cultEnGb = new CultureInfo("en-GB");
CultureInfo cultEnUs = new CultureInfo("en-US");
DateTime dtGb = Convert.ToDateTime(textBox1.Text, cultEnGb.DateTimeFormat);
textBox2.Text = dtGb.ToString(cultEnUs.DateTimeFormat.ShortDatePattern);

It reads in the date and tries to load the text as a UK Date from the first textbox and then it uses the US locale to output the string into the second textbox.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , ,

My Related Documents
, ,

Related Amazon Books
The Game Localization Handbook: /, Internationalization and Localization Using Microsoft.NET: /, A Practical Guide to Software Localization: For Translators, Engineers and Project Managers (Language International World Dictionary, V. 3): /, Global Software: /, A Practical Guide to Software Localization: For Translators, Engineers and Project Managers (Language International World Diretory, 3): /, Programming for World Markets: A Guide to Software Internationalization: /

Related Images From Flickr

Suggestions for finding related blogs

I am trying to think how to display related blogs in my Ajax Tagger 2.0 and in the resulting HTML that comes from the selection made in the application. It is one of the remaining parts of the application that are still todo.

Does Anybody have any ideas?

I am also trying to find a good search engine that will give me a list of related blogs and associated feeds. So far I have Technorati and Google, Does anybody know of any other good ones?

Email me or leave a comment :)

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , , ,

My Related Documents
, , , , , , , , , , , ,

Related Amazon Books
Blogs, Wikis, and Feeds in Action: /, The Google Story: /, Pragmatic Ajax: /, Head Rush Ajax: /, AJAX/REST Patterns and Best Practices: /, Bulletproof Web Design: Improving Flexibility and Protecting Against Worst-Case Scenarios with XHTML and CSS: /, Eric Meyer on CSS: /, CSS Pocket Reference: /

Related Images From Flickr

Update To AJAX Tagger Version 2 [New Domain]

I have made a new subdomain for the AJAX Tagger. It just makes it a little bit easier to type. I also have a new domain name for it, but I need to make sure that the application is working before I put it on there.

The AJAX Tagger can still be found in the old location (http://www.kinlan.co.uk/AjaxExperiments/AjaxTag2), but now it can also be found at http://ajaxtag.kinlan.co.uk.

Both versions will continue to be updated.

Technorati Tags
[feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , ,

My Related Documents
, , , , , , ,

Related Amazon Books
Ajax in Action: /, Pragmatic Ajax: /, Head Rush Ajax: /, AJAX/REST Patterns and Best Practices: /, Ajax for Dummies (For Dummies S.): /, Naming a Web Site on the Internet: How to Choose, Register and Protect the Right Domain Name for Your Web Site: /, Domain Names: How to Choose & Protect a Great Name for Your Website (Domain Names: How to Choose & Protect a Great Name for Your Website): /, Domain Name Handbook: High Stakes and Strategies in Cyberspace: /

Related Images From Flickr

RSS Bandit 1.3.0.38 has been Released

A new version of RSS bandit has been released. I like it and use the previous version all the time. What I like about this version is that it seems to correctly import Robert Scobles opml file [Which is massive]. Also the UI has been updated [Which is nice]. I have also noticed that it seems to display massive directories of posts a lot more quickly too. But that might be because I turned off the XSLT formatting of the aggregates.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , , , , , , ,

My Related Documents
, , , ,

Related Amazon Books
XSLT Cookbook: /, XSLT 1.0 Pocket Reference: /, Xslt 2.0 Programmer's Reference: /, Learning XSLT: /, XSLT: /, Beginning XSLT 2.0: From Novice to Professional: /, Essential Xml Quick Reference: A Programmer's Reference to Xml, Xpath, Xslt, Xml Schema, Soap and More (DevelopMentor S.): /, Metadata Management in Statistical Information Processing: A Unified Framework for Metadata-Based Processing of Statistical Data Aggregates: /, Developing Feeds with RSS and Atom: /, Beginning RSS and Atom Programming: /, Syndicating Web Sites with RSS Feeds for Dummies (For Dummies S.): /, RSS and Atom Hacks: /, Hacking RSS: /, Content Syndication with RSS: /, Secrets of Rss (Visual QuickStart Guides): /

Related Images From Flickr

Monday, November 28, 2005

XBox 360 and the .Net Framework

Further to my post a little while back about using the .Net Framework in the XBox 360, it seems that because the XBox 360 is a media centre consumer, you can create Media Center applications, install them on the media server and then run the UI elements through the XBox 360 with all the logic run against the Media Center

Not too sure how this works, but their is an article about it over on MSDN.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , ,

My Related Documents

Related Amazon Books
Quake 4 (Xbox 360): The Official Strategy Guide: /, Programming C#: /, Windows Forms Programming in C#: /, Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries: /, Windows XP Media Center Edition PCs: The Complete Guide: /, Windows Xp Media Center 2004 PC for Dummies (For Dummies): /, Microsoft Windows XP Media Center Edition 2005: /, Microsoft Windows XP: Fast and Easy: Media Center Edition: /

Related Images From Flickr

Update to AJAX Tagger OPML Ouput

I have updeated the Ajax Tagger 2.0 to now support Related Searches more. Now it outputs in OPML the RSS feeds to search engines like MSN, Technorati and Google Blog Search. I need to find more search engines that output to RSS.

Does anyone know any good search engines that output to RSS?
Does anyone know how to make Google or Yahoo output in RSS?

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , , , , , , , , , , , , , ,

My Related Documents
, , , , , , , , , , ,

Related Amazon Books
The Search: How Google and Its Rivals Rewrote the Rules of Business and Transformed Our Culture: /, Make Easy Money with Google: Using the Adsense Advertising Program: /, Developing Feeds with RSS and Atom: /, Beginning RSS and Atom Programming: /, Syndicating Web Sites with RSS Feeds for Dummies (For Dummies S.): /, RSS and Atom Hacks: /, Professional Web APIs with PHP: Google, EBay, Paypal, Amazon, Yahoo, Fedex: /, AJAX/REST Patterns and Best Practices: /, Pragmatic Ajax: /, Head Rush Ajax: /, Ajax for Dummies (For Dummies S.): /, Ajax Programming with Java: A Tutorial: /, Content Syndication with RSS: /, The Google Story: /

Related Images From Flickr

Saturday, November 26, 2005

OPML Output now working

For the people who use my AJAXTagger, OPML Support is fixed. There was a problem with my instanceof method of javascript which would mean that it would not work in IE6 and IE7. This all stemmed from the fact that Internet Explorer doesn't support __proto__ javascript construct. This is a bit of a problem because I don't know how to workout what an object in Javascripts parent "type" is.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , , , , , ,

My Related Documents
, , , , , ,

Related Amazon Books
Head First Design Patterns: /, DOM Scripting: Web Design with JavaScript and the Document Object Model: /, JavaScript for the World Wide Web (Visual QuickStart Guides): /, Professional JavaScript for Web Developers: /, JavaScript: The Definitive Guide: /, Sams Teach Yourself Javascript in 24 Hours (Sams Teach Yourself S.): /, DHTML Utopia: Modern Web Design Using JavaScript & DOM: /, Explorer's Guide to the Semantic Web: /

Related Images From Flickr

Thursday, November 24, 2005

Google Search: c# instanceof

A couple of people have come to my site with the query "c# instanceof". I know how I get found for this. I copied an "instanceof" javascript method and talked about it in one of my entries.

The only relation to c# that I can think of would be the "is" and "as" keywords.

"is" can be used to test what type of object an object reference is. For instance [no pun intend, or thought of I think :)] a developer could write:
if(m_car is MiniCooper)
{
...

they would be saying that if the m_car variable is of the type MiniCooper then do something.

The "as" keyword is used to "cast" a type to another type. So you could write

if(m_car is MiniCooper)
{
MiniCooper mc = m_car as MiniCooper;

The "as" keyword is slightly differnt to the Explicit cast (MiniCooper mc = (MiniCooper) m_car; because if the cast dosn't work with an "as" then the mc local variable will be null, rather than throwing an "InvalidCastException".

I hope this helps.



Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , , , ,

My Related Documents
,

Related Amazon Books
UML Pocket Reference: /, BusinessObjects: The Complete Reference (Complete Reference S.): /, Microsoft Visual C# .NET (Core Reference): /, Visual C#.NET Language Reference: /, Successful Keyword Searching: Initiating Research on Popular Topics Using Electronic Databases: /, Automatic Keyword Classification for Information Retrieval: /, DHTML Utopia: Modern Web Design Using JavaScript & DOM: /, JavaScript: The Definitive Guide: /

Related Images From Flickr

Google Search: .net framework for xbox 360

I have had a lot of hits from Google when people menation the .net framework and the XBox 360.

I might as well say what I know about it all. Nothing :(

I would have thought that the .Net Framework on the XBox 360 wasn't even on Microsoft's radar. After all the XBox 360 is on a different Chip Architecure and they have only just managed to get x86 64bit support via the .Net 2.0 framework.

Maybe I am wrong though, you never know.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , ,

My Related Documents

Related Amazon Books
Quake 4 (Xbox 360): The Official Strategy Guide: /, Programming C#: /, Windows Forms Programming in C#: /, Halo 2 Hacks: /

Related Images From Flickr

Ebay API... Can't really think of much.

After talking about the fact that the Ebay API has been made "free" to access, I had high hopes to make some programs to access it. Well I haven't had any cool ideas yet about what to do with it.

EBay is quite dynamic, so I can't integrate it into my Blog statically so I can't benifit from potentially extra hits that I might get from it from search engines and the like. The only thing I can think of is to provide an AJAX style interface from each of the books that I am showing from Amazon.

I think what it is is that I am not too interested because I don't think I could make commision from