• Resolved salmo6

    (@salmo6)


    I’m trying to set up JSON Content Importer for the first time and am consistently getting an error when I test the URL. When I open the URL with curl in a terminal I get a valid JSON response. But when I open the same URL with JSON Content Importer I get:

    {“stat”:”fail”,”err”:”501″,”message”:”Missing \”method\” name”}

    What am I missing?

    The page I need help with: [log in to see the link]

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

    (@berkux)

    Hi,

    I can confirm, that there are problems with the “&” when using Step 1 / Step 2 method.
    I work to fix that.

    Thread Starter salmo6

    (@salmo6)

    Thank you! I’ll look forward to a fix to let me show my Piwigo photo gallery in my WordPress site.

    Plugin Author berkux

    (@berkux)

    Check Version 2.0.6: With my tests it’s working now.
    At any time the classical shortcode worked (modify the URL…):

    [jsoncontentimporter url="https://gal...35" debugmode="10"]    stat = {stat}


    {subloop:result:-1}

    id = {result.id}


    file = {result.file}


    date_available = {result.date_available}


    date_creation = {result.date_creation}


    name = {result.name}


    comment = {result.comment}


    author = {result.author}


    hit = {result.hit}


    filesize = {result.filesize}


    width = {result.width}


    height = {result.height}


    coi = {result.coi}


    representative_ext = {result.representative_ext}


    date_metadata_update = {result.date_metadata_update}


    rating_score = {result.rating_score}


    level = {result.level}


    md5sum = {result.md5sum}


    added_by = {result.added_by}


    rotation = {result.rotation}


    latitude = {result.latitude}


    longitude = {result.longitude}


    lastmodified = {result.lastmodified}


    page_url = {result.page_url}


    element_url = {result.element_url}


    download_url = {result.download_url}


    {subloop:result.derivatives:-1}

    {subloop:result.derivatives.square:-1}

    url = {result.derivatives.square.url}


    width = {result.derivatives.square.width}


    height = {result.derivatives.square.height}


    {/subloop:result.derivatives.square}

    {subloop:result.derivatives.thumb:-1}

    url = {result.derivatives.thumb.url}


    width = {result.derivatives.thumb.width}


    height = {result.derivatives.thumb.height}


    {/subloop:result.derivatives.thumb}

    {subloop:result.derivatives.2small:-1}

    url = {result.derivatives.2small.url}


    width = {result.derivatives.2small.width}


    height = {result.derivatives.2small.height}


    {/subloop:result.derivatives.2small}

    {subloop:result.derivatives.xsmall:-1}

    url = {result.derivatives.xsmall.url}


    width = {result.derivatives.xsmall.width}


    height = {result.derivatives.xsmall.height}


    {/subloop:result.derivatives.xsmall}

    {subloop:result.derivatives.small:-1}

    url = {result.derivatives.small.url}


    width = {result.derivatives.small.width}


    height = {result.derivatives.small.height}


    {/subloop:result.derivatives.small}

    {subloop:result.derivatives.medium:-1}

    url = {result.derivatives.medium.url}


    width = {result.derivatives.medium.width}


    height = {result.derivatives.medium.height}


    {/subloop:result.derivatives.medium}

    {subloop:result.derivatives.large:-1}

    url = {result.derivatives.large.url}


    width = {result.derivatives.large.width}


    height = {result.derivatives.large.height}


    {/subloop:result.derivatives.large}

    {subloop:result.derivatives.xlarge:-1}

    url = {result.derivatives.xlarge.url}


    width = {result.derivatives.xlarge.width}


    height = {result.derivatives.xlarge.height}


    {/subloop:result.derivatives.xlarge}

    {subloop:result.derivatives.xxlarge:-1}

    url = {result.derivatives.xxlarge.url}


    width = {result.derivatives.xxlarge.width}


    height = {result.derivatives.xxlarge.height}


    {/subloop:result.derivatives.xxlarge}

    {/subloop:result.derivatives}

    {subloop:result.rates:-1}

    score = {result.rates.score}


    count = {result.rates.count}


    average = {result.rates.average}


    {/subloop:result.rates}

    categories:


    {subloop-array:result.categories:-1}


    id = {result.categories.id}


    name = {result.categories.name}


    permalink = {result.categories.permalink}


    uppercats = {result.categories.uppercats}


    global_rank = {result.categories.global_rank}


    url = {result.categories.url}


    page_url = {result.categories.page_url}


    {/subloop-array:result.categories}


    tags:


    {subloop-array:result.tags:-1}


    id = {result.tags.id}


    name = {result.tags.name}


    url_name = {result.tags.url_name}


    lastmodified = {result.tags.lastmodified}


    url = {result.tags.url}


    page_url = {result.tags.page_url}


    {/subloop-array:result.tags}


    {subloop:result.comment_post:-1}

    author = {result.comment_post.author}


    key = {result.comment_post.key}


    {/subloop:result.comment_post}

    {subloop:result.comments_paging:-1}

    page = {result.comments_paging.page}


    per_page = {result.comments_paging.per_page}


    count = {result.comments_paging.count}


    total_count = {result.comments_paging.total_count}


    {/subloop:result.comments_paging}

    comments:


    {subloop-array:result.comments:-1}


    {result.comments.}

    {/subloop-array:result.comments}


    {/subloop:result}[/jsoncontentimporter]
    Thread Starter salmo6

    (@salmo6)

    Thank you!

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

The topic ‘501 error reading URL’ is closed to new replies.