• Resolved stowbee

    (@stowbee)


    Hi – Firstly this is a great plugin. Thank you!

    My json has an array called ‘feeds’ for example:

    “feeds”: [
    {
    “uid”: 21,
    “fsid”: 21,
    “title”: “My Test Website”,
    “url”: “www.mytestwebsite.com”,
    “icon”: “”,
    “type”: “RSS”,
    “disableWebViewBanners”: 1
    },
    …. etc etc

    I then have another array of feed items in the same json file called ‘feedItems’ where the fsid number is referenced for each story:

    feedItems”: [
    {
    “fiid”: “453_160643”,
    “fsid”: 21,
    “date”: “2016-10-11 23:22:00”,
    “text”: “Story goes here”,
    “url”: “URL to story goes here”,
    “images”: []
    },
    ….. etc etc

    I loop through the feedItems and the stories are all coming in, but how can I get the 21 from the fsid to output “My Test Website”? Is that possible? Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    please send me the full JSON to info AT json-content-importer DOT com

    Bernhard

Viewing 1 replies (of 1 total)
  • The topic ‘Get value from another array based on ID’ is closed to new replies.