<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Elgg&#8217;s REST-like API</title>
	<atom:link href="http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/</link>
	<description>Making the world a better place, one byte at a time...</description>
	<lastBuildDate>Fri, 16 Jul 2010 09:25:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/comment-page-1/#comment-5531</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Mon, 28 Sep 2009 15:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=272#comment-5531</guid>
		<description>That method implies that you have not exposed a function to handle your call. 

Remember that if you&#039;re exposing this in a function in a plugin it will need to have been activated in the admin panel for the function to be available.

You can confirm that your function is available by calling the &#039;system.api.list&#039; api as described in the article...</description>
		<content:encoded><![CDATA[<p>That method implies that you have not exposed a function to handle your call. </p>
<p>Remember that if you&#8217;re exposing this in a function in a plugin it will need to have been activated in the admin panel for the function to be available.</p>
<p>You can confirm that your function is available by calling the &#8216;system.api.list&#8217; api as described in the article&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe T</title>
		<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/comment-page-1/#comment-5523</link>
		<dc:creator>Philippe T</dc:creator>
		<pubDate>Mon, 28 Sep 2009 08:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=272#comment-5523</guid>
		<description>Hi,

Newbie to elgg, I&#039;m trying hard to make REST work in a simple plugin.

But elgg just reply with status -1, with reason: Method call &#039;myplugin.method&#039; has not been implemented

Could you please show me where I can find a sample REST pluin, to start with ?

Thanks,
Philippe</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Newbie to elgg, I&#8217;m trying hard to make REST work in a simple plugin.</p>
<p>But elgg just reply with status -1, with reason: Method call &#8216;myplugin.method&#8217; has not been implemented</p>
<p>Could you please show me where I can find a sample REST pluin, to start with ?</p>
<p>Thanks,<br />
Philippe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cash</title>
		<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/comment-page-1/#comment-4957</link>
		<dc:creator>Cash</dc:creator>
		<pubDate>Thu, 03 Sep 2009 19:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=272#comment-4957</guid>
		<description>@Justin - watch out for pam_auth_usertoken(). It will automatically authenticate any request if require_auth_token is set to false regardless of the value of anonymous.</description>
		<content:encoded><![CDATA[<p>@Justin &#8211; watch out for pam_auth_usertoken(). It will automatically authenticate any request if require_auth_token is set to false regardless of the value of anonymous.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/comment-page-1/#comment-4791</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Fri, 28 Aug 2009 10:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=272#comment-4791</guid>
		<description>Sounds like you&#039;re hitting a call to gatekeeper() somewhere.</description>
		<content:encoded><![CDATA[<p>Sounds like you&#8217;re hitting a call to gatekeeper() somewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Gallardo</title>
		<link>http://www.marcus-povey.co.uk/2009/08/25/using-elggs-rest-like-api/comment-page-1/#comment-4778</link>
		<dc:creator>Justin Gallardo</dc:creator>
		<pubDate>Thu, 27 Aug 2009 19:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=272#comment-4778</guid>
		<description>Marcus,

Thanks for this! It has helped a lot. I&#039;m still running into an issue though. I&#039;m trying to expose a function to be anonymous, and am passing false to require an auth token, and true to anonymous. The problem lays in that if I&#039;m not logged in and try to hit the api, it redirects me to a login page. 

I&#039;m pretty sure the problem is rooted in my own custom authentication module, as trying to browse to pg/api/rest/xml/?method=system.api.list redirects me to a login page as well. Can you think of anything specific I may have done wrong in my auth module to cause this? It has seemed to work for everything else.

Thanks!</description>
		<content:encoded><![CDATA[<p>Marcus,</p>
<p>Thanks for this! It has helped a lot. I&#8217;m still running into an issue though. I&#8217;m trying to expose a function to be anonymous, and am passing false to require an auth token, and true to anonymous. The problem lays in that if I&#8217;m not logged in and try to hit the api, it redirects me to a login page. </p>
<p>I&#8217;m pretty sure the problem is rooted in my own custom authentication module, as trying to browse to pg/api/rest/xml/?method=system.api.list redirects me to a login page as well. Can you think of anything specific I may have done wrong in my auth module to cause this? It has seemed to work for everything else.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
