Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19742 > unrolled thread

How can I make this function fetch results from a JSON file and present them properly in the website?

Started byworkmail123456@gmail.com
First post2013-05-13 01:12 -0700
Last post2013-05-13 19:39 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  How can I make this function fetch results from a JSON file and present them properly in the website? workmail123456@gmail.com - 2013-05-13 01:12 -0700
    Re: How can I make this function fetch results from a JSON file and present them properly in the website? Stefan Weiss <krewecherl@gmail.com> - 2013-05-13 15:30 +0200
    Re: How can I make this function fetch results from a JSON file and present them properly in the website? Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-13 19:39 +0000

#19742 — How can I make this function fetch results from a JSON file and present them properly in the website?

Fromworkmail123456@gmail.com
Date2013-05-13 01:12 -0700
SubjectHow can I make this function fetch results from a JSON file and present them properly in the website?
Message-ID<a70be57e-85d5-4b21-a7e8-029c820b3e38@googlegroups.com>
How can I make this function fetch results from a JSON file and present them properly in the website?

Full description:

https://c9.io/folly/javascript_search_function

Our Google Group:

https://groups.google.com/forum/?fromgroups#!forum/javascript-search-function

[toc] | [next] | [standalone]


#19743

FromStefan Weiss <krewecherl@gmail.com>
Date2013-05-13 15:30 +0200
Message-ID<kmqptp$f71$1@news.albasani.net>
In reply to#19742
On 2013-05-13 10:12, workmail123456@gmail.com wrote:
> How can I make this function fetch results from a JSON file and
> present them properly in the website?
> 
> Full description:
> 
> https://c9.io/folly/javascript_search_function
> 
> Our Google Group:
> 
> https://groups.google.com/forum/?fromgroups#!forum/javascript-search-function

If you want help, please post a relevant excerpt of your code to this
group. Include an example of the JSON structure and what you mean by
"proper" presentation, as well.

Pointing us to an empty Google group and some kind of web IDE is not
going to yield many useful replies.

- stefan

[toc] | [prev] | [next] | [standalone]


#19746

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-05-13 19:39 +0000
Message-ID<kmrfhp$mqd$2@dont-email.me>
In reply to#19742
On Mon, 13 May 2013 01:12:08 -0700, workmail123456 wrote:

> How can I make this function fetch results from a JSON file and present
> them properly in the website?

I have no idea. Perhaps this is because your tests failed.

Perhaps you need something in the server to read the data from the json 
file on the server and send it to the client as required, and then 
suitable code in the client to receive the data and do something useful 
with it.

Perhaps you need to rewrite the json file as a js file and include it in 
a script element so that it gets downloaded in its entirety when the 
parent page is requested, and then the json data is always available to 
the scripts running in the page.

The url you posted just gave me a list of other urls:

https://docs.c9.io/
http://status.c9.io/
http://support.c9.io/
https://c9.io/folly/.loading-msg
https://c9.io/folly/...
https://c9.io/folly/.split(
https://c9.io/folly/javascript_search_function/workspace
https://c9.io/var/lib/stickshift/518f64ae5973cafff00000b6/app-root/
data/495252
https://c9.io/folly/6GFTSyN9x8eixx0goLkp2t4c.80C/QexeebG4LI4B3XrX+Ee+
+P87E3Ag31sg80aiSVQ
https://c9.io/folly/user/folly/javascript_search_function
https://c9.io/folly/anon_6GFTSyN9x8eixx0goLkp2t4c.80C/QexeebG4LI4B3XrX+Ee+
+P87E3Ag31sg80aiSVQ
https://c9.io/2.1.7-d6de1f3d/static
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static
https://c9.io/folly/javascript_search_function/smith.io/server%5C
https://c9.io/folly/openshift.min.js
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/apf-packaged/
apf_
https://c9.io/folly/.js
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/ace/lib/ace
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/apf
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/treehugger/lib/
treehugger
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/v8debug/lib/
v8debug
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/core
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/ext
https://c9.io/folly/engine.io
https://c9.io/folly/engine.io-dev.js
https://c9.io/folly/smith.io
https://c9.io/folly/client.js
https://c9.io/folly/smith.js
https://c9.io/folly/msgpack.js
https://d6ff1xmuve0sx.cloudfront.net/2.1.7-d6de1f3d/static/

And I'm not trawling through all of those looking for your issues.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web