Version 8.014 changes

A new “Disable JSON section name detection” option has been added to the “Advanced” feed settings. This option allows you to disable the built-in sophisticated detection of JSON section names. And forces to plugin to use only the section names, specified in the “XML section names” box. How can it be useful? Let’s take a look at the iTunes JSON feed: https://rss.itunes.apple.com/api/v1/us/apple-music/coming-soon/all/10/explicit.json

It has the following structure:

{
    "feed": {
        "title": "Coming Soon",
        "id": "https://rss.itunes.apple.com/api/v1/us/apple-music/coming-soon/all/10/explicit.json",
        "author": {
            "name": "iTunes Store",
            "uri": "http://wwww.apple.com/us/itunes/"
        },
        "links": [{
                "self": "https://rss.itunes.apple.com/api/v1/us/apple-music/coming-soon/all/10/explicit.json"
            }, {
                "alternate": "https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewRoom?fcId=1396220241\u0026app=music"
            }],
        "copyright": "Copyright © 2018 Apple Inc. All rights reserved.",
        "country": "us",
        "icon": "http://itunes.apple.com/favicon.ico",
        "updated": "2020-10-25T02:16:04.000-07:00",
        "results": [{
                "artistName": "Miley Cyrus",
                "id": "1536966025",
                "releaseDate": "2020-11-27",
                "name": "Plastic Hearts",
                "kind": "album",
                "copyright": "℗ 2020 RCA Records, a division of Sony Music Entertainment",
                "artistId": "137057909",
                "contentAdvisoryRating": "Explicit",
                "artistUrl": "https://music.apple.com/us/artist/miley-cyrus/137057909?app=music",
                "artworkUrl100": "https://is3-ssl.mzstatic.com/image/thumb/Music124/v4/b9/c9/49/b9c949e6-d635-be2f-971d-81145effcf3d/886448810216.jpg/200x200bb.png",
                "genres": [{
                        "genreId": "14",
                        "name": "Pop",
                        "url": "https://itunes.apple.com/us/genre/id14"
                    }, {
                        "genreId": "34",
                        "name": "Music",
                        "url": "https://itunes.apple.com/us/genre/id34"
                    }],
                "url": "https://music.apple.com/us/album/plastic-hearts/1536966025?app=music"
            }, {
                "artistName": "The White Stripes",
                "id": "1534387685",
                "releaseDate": "2020-12-04",
                "name": "The White Stripes Greatest Hits",
                "kind": "album",
                "copyright": "℗ 2020 Jack White and Meg White",
                "artistId": "2456318",
                "artistUrl": "https://music.apple.com/us/artist/the-white-stripes/2456318?app=music",
                "artworkUrl100": "https://is5-ssl.mzstatic.com/image/thumb/Music114/v4/11/36/39/11363968-cd8d-96bc-e031-2b4a9a4743c4/886448804529.jpg/200x200bb.png",
                "genres": [{
                        "genreId": "21",
                        "name": "Rock",
                        "url": "https://itunes.apple.com/us/genre/id21"
                    }, {
                        "genreId": "34",
                        "name": "Music",
                        "url": "https://itunes.apple.com/us/genre/id34"
                    }],
                "url": "https://music.apple.com/us/album/the-white-stripes-greatest-hits/1534387685?app=music"
            }]
    }
}

If we let CyberSEO Pro to automatically detect section names, it will take the first one, which will be “<links></links>”. So we won’t be able to get the necessary information about the music albums. To solve this problem, we need to explicitly set the section we want to parse. This can be easily done as shown below.

  1. Add RESULTS_ITEM tag to the XML section names.
  2. Check (enable) the Disable JSON section name detection check box.

That’s all we need to do 😉