Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8678591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:45:36+00:00 2026-06-12T20:45:36+00:00

Here is my jsonp feed: http://www.letheatredelorient.fr/saison/data.jsonp (JSONLint valid) Here is my getJSON script: <!DOCTYPE

  • 0

Here is my jsonp feed: http://www.letheatredelorient.fr/saison/data.jsonp (JSONLint valid)

Here is my getJSON script:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function () {
$.getJSON("http://www.letheatredelorient.fr/saison/data.jsonp?callback=", function (data)             {
$.each(data.Items, function (i, node) {
var title = node.titre;
$("#myTitle").html(title);
});
});
});
</script>
</head>
<body>
<div id="myTitle"></div>
</body>
</html>

It’s really simple. But, it gets the feed, but it doesn’t parse it. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:45:37+00:00Added an answer on June 12, 2026 at 8:45 pm

    Try this:

    var title = node.node.titre;
    

    In your code the node is the Item object, the node is in that, is this a little clearer?

    $.getJSON("http://www.letheatredelorient.fr/saison/data.jsonp?callback=", function (data) {
        $.each(data.Items, function (i, item) {
            //For each item in Items
            var title = item.node.titre;
            $("#myTitle").html(title);
        });
    });
    

    This is your json, I’ve added comments, you’re looping through items which contain node:

    {
        "Items": [
            -item{
                "node": {
                    "titre": "La Faculté",
                    "image": "http://www.letheatredelorient.fr/sites/default/files/imagecache/130/saison/spectacles/faculte/photos/faculte-web2calainfonteray.jpg"
                }
            },
            -item{
                "node": {
                    "titre": "Nouveau Roman",
                    "image": "http://www.letheatredelorient.fr/sites/default/files/imagecache/130/saison/spectacles/nouveau-roman/photos/1210-nouveauroman-04cjeanlouisfernandez.jpg"
                }
            }
        ]
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following jQuery (info from here http://www.threelas.com/2012/02/basic-blogger-json-feed-api.html ). the problem i am
I have a outsource data from : http://example.com/data/news.json Here is the example result after
Using the url: http://www.remote_host.com/feed.php?callback=jsonpCallback I get back: jsonpCallback({ rss: { channels: [ { title:
UPDATE 1: This is what I get in the browser if I type http://www.remote_host.com/feed.php?callback=jsonpCallBack
On our site www.foo.com we want to download and use http://feeds.foo.com/feed.xml with Javascript. We'll
I am trying to parse the JSON returned here: http://www.waterwayguide.com/map/php/bridge.php?ll=25.514339,-80.076164 However, I can't parse
I have the following script which is able to access a jsonp feed and
Here is the way I test JSONP: I run XAMPP, and in folder htdocs
I have a little problem with Jquery getJSON function. my json here { entries:
I'm using cocoa JSON framework http://code.google.com/p/json-framework/ Here is the result of an JSON output

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.