<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Generate HTML from a JSON Without any Template but HTML and Javascript</title>
	<atom:link href="http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/</link>
	<description>The News about the Easiest and Fastest Timesheet</description>
	<lastBuildDate>Sat, 18 Feb 2012 19:15:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: pozycjonowanie wroclaw</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-1312</link>
		<dc:creator>pozycjonowanie wroclaw</dc:creator>
		<pubDate>Sun, 12 Feb 2012 20:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-1312</guid>
		<description>&lt;strong&gt;Great Content...&lt;/strong&gt;

I loved as significantly as you will obtain performed proper here. The caricature is attractive, your authored material stylish. nonetheless, you command get got an impatience over which you wish be turning in the following. ill surely come further for...</description>
		<content:encoded><![CDATA[<p><strong>Great Content&#8230;</strong></p>
<p>I loved as significantly as you will obtain performed proper here. The caricature is attractive, your authored material stylish. nonetheless, you command get got an impatience over which you wish be turning in the following. ill surely come further for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-103</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Mon, 20 Dec 2010 17:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-103</guid>
		<description>1) yes, replace the whole yahoo src string with yours

2) ssl will prevent the url to be read when travelling, BUT they can be logged. Either on the target server access logs or by Google Analytics for instance.</description>
		<content:encoded><![CDATA[<p>1) yes, replace the whole yahoo src string with yours</p>
<p>2) ssl will prevent the url to be read when travelling, BUT they can be logged. Either on the target server access logs or by Google Analytics for instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-102</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 20 Dec 2010 15:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-102</guid>
		<description>Two (hopefully) final questions:
1) I know it may sound stupid but where do I put my URL (http://www.examplewebsite.com/reporting.svc/?p=1&amp;s=50) where: MYAPIKEY is the secure key that my account has been given, p=1 is the first page of data and s=50 is the amount of records to process into JSON and return.  I have no control over the format but I checked the JSON and its well-formed.  I jut dont know where to put my URL.... in place of the ENTIRE &quot;var src&quot; line?  Or just part of it?  There are two http:// thingy&#039;s in there and I dont know which one mine needs to replace.  I assume http://datatables.org/alltables.env ...  ?

2) Before I run my code, isnt my API key going to exposed through servers (other than the destination server that I am accessing - which I trust)?  Even if its Yahoo servers, wont there be a trail of exposing my API key as the call goes through those servers with HTTP and no HTTPS ?

Thanks and sorry for these questions!</description>
		<content:encoded><![CDATA[<p>Two (hopefully) final questions:<br />
1) I know it may sound stupid but where do I put my URL (<a href="http://www.examplewebsite.com/reporting.svc/?p=1&#038;s=50" rel="nofollow">http://www.examplewebsite.com/reporting.svc/?p=1&#038;s=50</a>) where: MYAPIKEY is the secure key that my account has been given, p=1 is the first page of data and s=50 is the amount of records to process into JSON and return.  I have no control over the format but I checked the JSON and its well-formed.  I jut dont know where to put my URL&#8230;. in place of the ENTIRE &#8220;var src&#8221; line?  Or just part of it?  There are two http:// thingy&#8217;s in there and I dont know which one mine needs to replace.  I assume <a href="http://datatables.org/alltables.env" rel="nofollow">http://datatables.org/alltables.env</a> &#8230;  ?</p>
<p>2) Before I run my code, isnt my API key going to exposed through servers (other than the destination server that I am accessing &#8211; which I trust)?  Even if its Yahoo servers, wont there be a trail of exposing my API key as the call goes through those servers with HTTP and no HTTPS ?</p>
<p>Thanks and sorry for these questions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-101</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Mon, 20 Dec 2010 08:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-101</guid>
		<description>Yep, you just have now the principle. You need to adapt it to your data source, and to the HTML result you want to show.</description>
		<content:encoded><![CDATA[<p>Yep, you just have now the principle. You need to adapt it to your data source, and to the HTML result you want to show.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-100</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 20 Dec 2010 03:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-100</guid>
		<description>@Mic:  Thanks for the reply!  I got the program running locally.  It retrieves the Yahoo quotes and all.  Now I am trying to figure out how to adapt it to that URL that returns my information.  I suppose that I need to change the field names to match what is being returned to me?</description>
		<content:encoded><![CDATA[<p>@Mic:  Thanks for the reply!  I got the program running locally.  It retrieves the Yahoo quotes and all.  Now I am trying to figure out how to adapt it to that URL that returns my information.  I suppose that I need to change the field names to match what is being returned to me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-99</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Sun, 19 Dec 2010 14:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-99</guid>
		<description>@Anthony,
Here&#039;s an example that gets data from Yahoo Finance and render them in the browser without any server action: https://gist.github.com/747347
Copy it to an HTML page and try it.

You need some cooperation from the server though, it is called JSONP.
The server will wrap the returning JSON by a function name you give as a parameter.
eg:callback=showResult, the response will become something like showResult({name:&#039;....})

When the response arrives to the browser, the showResult function is called automatically.</description>
		<content:encoded><![CDATA[<p>@Anthony,<br />
Here&#8217;s an example that gets data from Yahoo Finance and render them in the browser without any server action: <a href="https://gist.github.com/747347" rel="nofollow">https://gist.github.com/747347</a><br />
Copy it to an HTML page and try it.</p>
<p>You need some cooperation from the server though, it is called JSONP.<br />
The server will wrap the returning JSON by a function name you give as a parameter.<br />
eg:callback=showResult, the response will become something like showResult({name:&#8217;&#8230;.})</p>
<p>When the response arrives to the browser, the showResult function is called automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-98</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Sun, 19 Dec 2010 03:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-98</guid>
		<description>Is there an example, for a non-programmer type, that can show how to convert JSON (returned from a web site) to HTML?  I was told that I dont want to run this on the server side(?) because there is some sort of identifying API key that I must include in the URL.  I was told to keep everything &quot;local&quot;.  Is all this possible for me?</description>
		<content:encoded><![CDATA[<p>Is there an example, for a non-programmer type, that can show how to convert JSON (returned from a web site) to HTML?  I was told that I dont want to run this on the server side(?) because there is some sort of identifying API key that I must include in the URL.  I was told to keep everything &#8220;local&#8221;.  Is all this possible for me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-97</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Fri, 07 Aug 2009 16:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-97</guid>
		<description>@GalaxySong

Thank you for the nice comment and give PURE a try for your project.
Feel free to share any idea, pain or improvement at http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine

Cheers,</description>
		<content:encoded><![CDATA[<p>@GalaxySong</p>
<p>Thank you for the nice comment and give PURE a try for your project.<br />
Feel free to share any idea, pain or improvement at <a href="http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine" rel="nofollow">http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine</a></p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GalaxySong</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-96</link>
		<dc:creator>GalaxySong</dc:creator>
		<pubDate>Fri, 07 Aug 2009 13:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-96</guid>
		<description>I came across PURE at http://ejohn.org/blog/javascript-micro-templating/#postcomment.

I&#039;ve studied quite a lot on Javascript template.
I worked with Ext for weeks and gave it up for its template is not ideal while the whole lib is too big.
Then, I myself created a template lib which uses .
But I was still wondering if there are any better idea.

I found TrimPath, but I don&#039;t agree to use  as container of html fragments.
John Resig&#039;s finding about  is cool, but that is not a complete template solution at all.

I also thought of mixing templates with other html codes and using jQuery selector to locate and replace template syntaxes. But I didn&#039;t feel it can really work well.
When I read through docs and examples of PURE, however, I realized, on second thought, that this method is great.

And you&#039;ve done an excelent job on making this lib complete and useful.
So, I made up my mind to try PURE in my incoming project.

Thank you!</description>
		<content:encoded><![CDATA[<p>I came across PURE at <a href="http://ejohn.org/blog/javascript-micro-templating/#postcomment" rel="nofollow">http://ejohn.org/blog/javascript-micro-templating/#postcomment</a>.</p>
<p>I&#8217;ve studied quite a lot on Javascript template.<br />
I worked with Ext for weeks and gave it up for its template is not ideal while the whole lib is too big.<br />
Then, I myself created a template lib which uses .<br />
But I was still wondering if there are any better idea.</p>
<p>I found TrimPath, but I don&#8217;t agree to use  as container of html fragments.<br />
John Resig&#8217;s finding about  is cool, but that is not a complete template solution at all.</p>
<p>I also thought of mixing templates with other html codes and using jQuery selector to locate and replace template syntaxes. But I didn&#8217;t feel it can really work well.<br />
When I read through docs and examples of PURE, however, I realized, on second thought, that this method is great.</p>
<p>And you&#8217;ve done an excelent job on making this lib complete and useful.<br />
So, I made up my mind to try PURE in my incoming project.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/#comment-94</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Wed, 15 Apr 2009 14:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=84#comment-94</guid>
		<description>@Michele
Yep. But strangely when we asked the question too, the answer did not appear so simultaneously, and had to build PURE  :D

The ride has been very interesting so far.
Many people brought pieces and ideas to it.
And lastly, Rog Peppe rewrote it entirely. Paving the way for a solid version 2.
Visible at: http://github.com/pure/pure/tree/version2

Thanks for your nice comment!</description>
		<content:encoded><![CDATA[<p>@Michele<br />
Yep. But strangely when we asked the question too, the answer did not appear so simultaneously, and had to build PURE  <img src='http://beebole.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>The ride has been very interesting so far.<br />
Many people brought pieces and ideas to it.<br />
And lastly, Rog Peppe rewrote it entirely. Paving the way for a solid version 2.<br />
Visible at: <a href="http://github.com/pure/pure/tree/version2" rel="nofollow">http://github.com/pure/pure/tree/version2</a></p>
<p>Thanks for your nice comment!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

