• I’d like to use Hungryfeed to display the results of an api query that returns xml. I can get the query to return results in my browser but HF returns the SimplePie feed in my WP page. The query requires several parameters separated by &’s. Is that my problem? I’ve checked your other tips regarding the havoc the visual editor can bring.

Viewing 3 replies - 1 through 3 (of 3 total)
  • HungryFEED will not display an API call unless it is in RSS format (XML is not enough, it has to be RSS. RSS is a sub-type of XML). If your API call returns RSS then HungryFEED should be able to display it. However if you suggest that it is an “API” then I would strongly suspect it is not RSS. Usually developers would not refer to RSS feeds as an “API” however there are no rules so it is impossible to say without seeing the url.

    The #1 problem for the url parameter getting messed up seems to be copy/pasting the url and WordPress turns it into an HTML link. If you edit the page in HTML mode you should be able to see better exactly what is in the shortcode and fix it if necessary.

    Certain HTML characters in the URL can cause problems, in which case there are some debugging parameters which are explained on the HungryFEED page. In particular, check out the “decode_url” parameter.

    Thread Starter jhauer

    (@jhauer)

    Thanks for the quick response. I’m showing my lack of knowledge here. I wasn’t aware that rss was a subset of xml. I thought the xml response was enough.

    No problem. On second thought there are some sites that return RSS from their API, for example YouTube does that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hungryfeed with parameters’ is closed to new replies.