{"id":111,"date":"2009-03-08T23:50:00","date_gmt":"2009-03-08T18:20:00","guid":{"rendered":"https:\/\/ajaymreddy.com\/tech-trails"},"modified":"2013-05-09T07:30:20","modified_gmt":"2013-05-09T02:00:20","slug":"tech-trails","status":"publish","type":"post","link":"https:\/\/ajaymreddy.com\/tech-trails\/","title":{"rendered":"Tech Trails"},"content":{"rendered":"
<\/blockquote>\n

I finished testing my website on IE 7 today. Thankfully not too many issues. One tricky issue I had to solve was passing an XML string as a parameter to the onclick Javascript function of a hyperlink I was creating using dynamic HTML. Was working fine in FF3, but IE you know….Urrgh. Anyway, I am using a class called XMLWriter to build the XML and it had a ToString() function already – but it only put quotes on both sides of the string. So had to use encodeURI and put quotes on either of the string returned by this function. That did the job. encodeURI is a Javascript function which converts special characters such as ”, etc into string codes. Here’s the code –
html = “<\/p>\n

View Trail<\/a>” “<\/div>\n

“;<\/p>\n

\n
<\/blockquote>\n<\/blockquote>\n
<\/blockquote>\n

Anyway, now the website is almost done, have to talk to Vinayak tomorrow and ask him if he’ll build a template for me.<\/p>\n

BTW, I was able to post the link above because of this website
<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

I finished testing my website on IE 7 today. Thankfully not too many issues. One tricky issue I had to solve was passing an XML string as a parameter to the onclick Javascript function of a hyperlink I was creating using dynamic HTML. Was working fine in FF3, but IE you know….Urrgh. Anyway, I am…<\/span><\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[117],"tags":[26,86,82,37],"yoast_head":"\nTech Trails - Ajay Reddy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ajaymreddy.com\/tech-trails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tech Trails - Ajay Reddy\" \/>\n<meta property=\"og:description\" content=\"I finished testing my website on IE 7 today. Thankfully not too many issues. One tricky issue I had to solve was passing an XML string as a parameter to the onclick Javascript function of a hyperlink I was creating using dynamic HTML. Was working fine in FF3, but IE you know….Urrgh. Anyway, I am…Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ajaymreddy.com\/tech-trails\/\" \/>\n<meta property=\"og:site_name\" content=\"Ajay Reddy\" \/>\n<meta property=\"article:published_time\" content=\"2009-03-08T18:20:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-05-09T02:00:20+00:00\" \/>\n<meta name=\"author\" content=\"Ajay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ajaymreddy\" \/>\n<meta name=\"twitter:site\" content=\"@ajaymreddy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ajay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ajaymreddy.com\/tech-trails\/\",\"url\":\"https:\/\/ajaymreddy.com\/tech-trails\/\",\"name\":\"Tech Trails - Ajay Reddy\",\"isPartOf\":{\"@id\":\"https:\/\/ajaymreddy.com\/#website\"},\"datePublished\":\"2009-03-08T18:20:00+00:00\",\"dateModified\":\"2013-05-09T02:00:20+00:00\",\"author\":{\"@id\":\"https:\/\/ajaymreddy.com\/#\/schema\/person\/4ee4a9ba0b048060a95ca0dc2d5c1d16\"},\"breadcrumb\":{\"@id\":\"https:\/\/ajaymreddy.com\/tech-trails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ajaymreddy.com\/tech-trails\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ajaymreddy.com\/tech-trails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ajaymreddy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Trails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ajaymreddy.com\/#website\",\"url\":\"https:\/\/ajaymreddy.com\/\",\"name\":\"Ajay Reddy\",\"description\":\"Entrepreneur, Traveler, Runner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ajaymreddy.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ajaymreddy.com\/#\/schema\/person\/4ee4a9ba0b048060a95ca0dc2d5c1d16\",\"name\":\"Ajay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ajaymreddy.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/04eedff598e941659c902f1fbe2b6d2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/04eedff598e941659c902f1fbe2b6d2f?s=96&d=mm&r=g\",\"caption\":\"Ajay\"},\"description\":\"Ajay Reddy is an entrepreneur based in Bangalore, India. He is the founder of Go Heritage Runs and GoUNESCO. He also is a marathoner and an avid traveler.\",\"url\":\"https:\/\/ajaymreddy.com\/author\/ajayrds\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tech Trails - Ajay Reddy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ajaymreddy.com\/tech-trails\/","og_locale":"en_US","og_type":"article","og_title":"Tech Trails - Ajay Reddy","og_description":"I finished testing my website on IE 7 today. Thankfully not too many issues. One tricky issue I had to solve was passing an XML string as a parameter to the onclick Javascript function of a hyperlink I was creating using dynamic HTML. Was working fine in FF3, but IE you know….Urrgh. Anyway, I am…Read More","og_url":"https:\/\/ajaymreddy.com\/tech-trails\/","og_site_name":"Ajay Reddy","article_published_time":"2009-03-08T18:20:00+00:00","article_modified_time":"2013-05-09T02:00:20+00:00","author":"Ajay","twitter_card":"summary_large_image","twitter_creator":"@ajaymreddy","twitter_site":"@ajaymreddy","twitter_misc":{"Written by":"Ajay","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ajaymreddy.com\/tech-trails\/","url":"https:\/\/ajaymreddy.com\/tech-trails\/","name":"Tech Trails - Ajay Reddy","isPartOf":{"@id":"https:\/\/ajaymreddy.com\/#website"},"datePublished":"2009-03-08T18:20:00+00:00","dateModified":"2013-05-09T02:00:20+00:00","author":{"@id":"https:\/\/ajaymreddy.com\/#\/schema\/person\/4ee4a9ba0b048060a95ca0dc2d5c1d16"},"breadcrumb":{"@id":"https:\/\/ajaymreddy.com\/tech-trails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ajaymreddy.com\/tech-trails\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ajaymreddy.com\/tech-trails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ajaymreddy.com\/"},{"@type":"ListItem","position":2,"name":"Tech Trails"}]},{"@type":"WebSite","@id":"https:\/\/ajaymreddy.com\/#website","url":"https:\/\/ajaymreddy.com\/","name":"Ajay Reddy","description":"Entrepreneur, Traveler, Runner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ajaymreddy.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ajaymreddy.com\/#\/schema\/person\/4ee4a9ba0b048060a95ca0dc2d5c1d16","name":"Ajay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ajaymreddy.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/04eedff598e941659c902f1fbe2b6d2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/04eedff598e941659c902f1fbe2b6d2f?s=96&d=mm&r=g","caption":"Ajay"},"description":"Ajay Reddy is an entrepreneur based in Bangalore, India. He is the founder of Go Heritage Runs and GoUNESCO. He also is a marathoner and an avid traveler.","url":"https:\/\/ajaymreddy.com\/author\/ajayrds\/"}]}},"_links":{"self":[{"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/posts\/111"}],"collection":[{"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":1,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":463,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/posts\/111\/revisions\/463"}],"wp:attachment":[{"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ajaymreddy.com\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}