Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    Thank you for using my plugin. Yet the plugin displays only the text provided by json. There is no “replace 0 by close”. This idea is maybe something for the premium version to come.

    What you can do: display only the open lifts with one shortcode, and below the closed lifts with another shortcode. To select the open lifts, use the requiredfieldvalue in the shortcode.

    Bernhard

    Thread Starter burakbeceren

    (@burakbeceren)

    If you are willing to put this functionality in the premium version, I will definetely buy it.
    So, as to your saying, there is no “requiredfieldvalue” as in your shortcode list. Do you mean to revise the shortcode as this;

    [jsoncontentimporter url=”http://developer.beceren.com.tr/2apps/api/lift/app/iuludag/” numberofdisplayeditems=”30″ oneofthesewordsmustbein=”0″ basenode=”data”]

    Tesis Numarası: {id} Tesis İsmi: {title} Durumu: {status}

    [/jsoncontentimporter]

    Plugin Author berkux

    (@berkux)

    Hi burakbeceren,

    the pro-version will do what you (still?) need,
    see http://json-content-importer.com/

    The template:
    [jsoncontentimporterpro
    url=”http://developer.beceren.com.tr/2apps/api/lift/app/iuludag/”
    requiredFieldsAndValues=”status=1″
    requiredFieldsAndValuesDepth=”3″]
    {message}
    {subloop-array:data:-1}Tesis Numarasi: {data.id} Tesis Ismi: {data.title} DUrumu: {data.status}
    {/subloop-array:data}
    [/jsoncontentimporterpro]

    Best
    Bernhard

    Thread Starter burakbeceren

    (@burakbeceren)

    Dear berkux, thank you for the information,

    My current requirement is as below. If you can provide all of these with the support of JSON formatting, I will directly buy the plugin.

    1) http://www.yr.no/place/Turkey/Bursa/Uludağ_Kaynak_Merkezi/forecast.xml
    I need to take the weather forecast from this website

    2) http://developer.beceren.com.tr/2apps/api/lift/app/iuludag/
    I need to show ski lift status as “open” or “closed”. If possible, I would like to show these statuses with graphical buttons.

    3)http://developer.beceren.com.tr/2apps/api/activities/app/iuludag/
    I need to show the activities that will take place in the mountin.

    4) Road condition
    I need to show “user profile picture”, “name”, “surname” and “post”

    5) The wall
    I need to show “user profile picture”, “name”, “surname” , “photo (if applicable) and “post”.

    All of these information will be gone under http://www.uludaginfo.com which will be renovated soon. For example, “The Wall” menu is now under, http://93.89.17.205/~uludag2/duvar/ however, the JSON is not possible to show everything correctly in a good format.

    So, considering all of these requirements above, is it possible to have these on website with your support and how much it costs to have it. Attached are some photos from our iPhone application which is live with name “Uludag Kayak Merkezi”.
    Screenshots: https://www.dropbox.com/s/taqnf8008bunjip/screenshots.zip?dl=0

    Plugin Author berkux

    (@berkux)

    Hi,

    thank you for checking my Plugin.

    1. weather forecast:
    This is XML, my plugin only can handle JSON.
    http://www.yr.no/place/Turkey/Bursa/Uludağ_Kaynak_Merkezi/forecast.xml
    Maybe
    http://api.openweathermap.org/data/2.5/weather?q=Uludag
    or other services can give us JSON?

    2. The code for open/close ist the field status, or?
    This has a value of 0 yet, maybe 1 when open.
    If you name the button 0.gif or 1.gif the plugin can put together the right display of the status.

    Plugin Author berkux

    (@berkux)

    Hi,

    I’ve saw the screenshots.
    Point 3 to 5 are somwhow special. Please contact me via
    info AT json-content-importer.com

    Bernhard

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Changing JSON Output’ is closed to new replies.