<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-18392152.post4428749822229222558..comments</id><updated>2011-05-20T06:34:00.127-07:00</updated><category term='hack'/><category term='javascript'/><category term='photography'/><category term='twitter'/><category term='feelings'/><category term='Article'/><category term='Review'/><category term='Photos'/><category term='twimr'/><category term='Comments'/><category term='Events'/><category term='Humour'/><category term='yql'/><category term='Future'/><category term='demo'/><title type='text'>Comments on Markandey's Blog: Faster and Better way to embed code on blog</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.markandey.com/feeds/4428749822229222558/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html'/><author><name>Markandey Singh</name><uri>https://profiles.google.com/102471843118365384780</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-oYINMPh3nQE/AAAAAAAAAAI/AAAAAAAAHH0/r25io43iXdY/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18392152.post-6325501976116298333</id><published>2011-05-20T06:34:00.127-07:00</published><updated>2011-05-20T06:34:00.127-07:00</updated><title type='text'>wow! cool :)</title><content type='html'>wow! cool :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6325501976116298333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6325501976116298333'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1305898440127#c6325501976116298333' title=''/><author><name>Markandey</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04740003083306061024'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_sFmKMtGguSE/Sa411MZ1-jI/AAAAAAAACI4/zVf7b3C1XaQ/S220/memedisum.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910730166'/></entry><entry><id>tag:blogger.com,1999:blog-18392152.post-4598079471499942087</id><published>2011-05-20T06:31:07.587-07:00</published><updated>2011-05-20T06:31:07.587-07:00</updated><title type='text'>By the way, you can use http://gist-it.appspot.com...</title><content type='html'>By the way, you can use http://gist-it.appspot.com/ in combination with your code&lt;br /&gt;to embed github code (no need to create a gist)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/4598079471499942087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/4598079471499942087'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1305898267587#c4598079471499942087' title=''/><author><name>oohazard</name><uri>http://www.blogger.com/profile/12292335392879467587</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1536699969'/></entry><entry><id>tag:blogger.com,1999:blog-18392152.post-8453187498031731715</id><published>2011-05-20T04:34:48.420-07:00</published><updated>2011-05-20T04:34:48.420-07:00</updated><title type='text'>thanks!

that was a fast reply :)</title><content type='html'>thanks!&lt;br /&gt;&lt;br /&gt;that was a fast reply :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/8453187498031731715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/8453187498031731715'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1305891288420#c8453187498031731715' title=''/><author><name>oohazard</name><uri>http://www.blogger.com/profile/12292335392879467587</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1536699969'/></entry><entry><id>tag:blogger.com,1999:blog-18392152.post-5046562913195074841</id><published>2011-05-20T04:25:50.337-07:00</published><updated>2011-05-20T04:25:50.337-07:00</updated><title type='text'>@oohazard 

Request handler for url &amp;quot;/script&amp;...</title><content type='html'>@oohazard &lt;br /&gt;&lt;br /&gt;Request handler for url &amp;quot;/script&amp;quot; is here &lt;br&gt;&lt;br&gt;class Script(webapp.RequestHandler):&lt;br&gt;    def get(self):&lt;br&gt;        url = self.request.url;&lt;br&gt;        myurl=&amp;quot;http://%s/script?url=&amp;quot;%(os.environ[&amp;#39;HTTP_HOST&amp;#39;])&lt;br&gt;        url=url.replace(myurl,&amp;#39;&amp;#39;);&lt;br&gt;        template_values = {&lt;br&gt;            &amp;quot;URL&amp;quot;:url&lt;br&gt;            }&lt;br&gt;        path = os.path.join(os.path.dirname(__file__), &amp;#39;script.html&amp;#39;)&lt;br&gt;        self.response.out.write(template.render(path, template_values))&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;django Template is here...&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;title&amp;gt;ScriptToFrame:PurpleGene&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;  &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://www.google.com/jsapi&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt; &lt;br&gt;      google.load(&amp;quot;jquery&amp;quot;, &amp;quot;1.4.2&amp;quot;);&lt;br&gt;    &amp;lt;/script&amp;gt; &lt;br&gt;&amp;lt;script&amp;gt;&lt;br&gt;//To Open all link in new window&lt;br&gt;$(document).ready(function() {&lt;br&gt;  $(&amp;quot;a&amp;quot;).each(&lt;br&gt;    function(){&lt;br&gt;        $(this).attr(&amp;#39;target&amp;#39;, &amp;#39;_blank&amp;#39;);&lt;br&gt;    }&lt;br&gt;  )&lt;br&gt;});&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;script src=&amp;quot;{{URL}}&amp;quot;&amp;gt; &lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/5046562913195074841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/5046562913195074841'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1305890750337#c5046562913195074841' title=''/><author><name>Markandey</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04740003083306061024'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_sFmKMtGguSE/Sa411MZ1-jI/AAAAAAAACI4/zVf7b3C1XaQ/S220/memedisum.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910730166'/></entry><entry><id>tag:blogger.com,1999:blog-18392152.post-6910095236032206314</id><published>2011-05-20T02:32:12.639-07:00</published><updated>2011-05-20T02:32:12.639-07:00</updated><title type='text'>Hi, can you provide the source code for your scrip...</title><content type='html'>Hi, can you provide the source code for your script on appengine ?&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6910095236032206314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6910095236032206314'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1305883932639#c6910095236032206314' title=''/><author><name>oohazard</name><uri>http://www.blogger.com/profile/12292335392879467587</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1536699969'/></entry><entry><id>tag:blogger.com,1999:blog-18392152.post-6551835075711347506</id><published>2011-05-03T04:51:53.965-07:00</published><updated>2011-05-03T04:51:53.965-07:00</updated><title type='text'>Hey nice one,but how am i supposed to experiment i...</title><content type='html'>Hey nice one,but how am i supposed to experiment it??&lt;br /&gt;What should i do to know it??</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6551835075711347506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18392152/4428749822229222558/comments/default/6551835075711347506'/><link rel='alternate' type='text/html' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html?showComment=1304423513965#c6551835075711347506' title=''/><author><name>Dhruv</name><uri>http://www.blogger.com/profile/02826288303614793471</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.markandey.com/2011/01/4-common-problems-of-embbeding-code-in.html' ref='tag:blogger.com,1999:blog-18392152.post-4428749822229222558' source='http://www.blogger.com/feeds/18392152/posts/default/4428749822229222558' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1761171134'/></entry></feed>
