<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.pictogame.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.pictogame.com/feed.php">
        <title>Pictogame Wiki</title>
        <description></description>
        <link>http://wiki.pictogame.com/</link>
        <image rdf:resource="http://wiki.pictogame.com/lib/images/favicon.ico" />
       <dc:date>2009-11-16T09:54:40-06:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=developers&amp;rev=1248961728&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=errorxml&amp;rev=1196931372&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=game.getbytag&amp;rev=1198076818&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=game.getinfo&amp;rev=1198076847&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=game.getlist&amp;rev=1198076782&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=home&amp;rev=1248961859&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=sample_php&amp;rev=1197992917&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=start&amp;rev=1196787761&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=treasuremadness&amp;rev=1257966349&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=treasuremania&amp;rev=1257964994&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=user.getgames&amp;rev=1198076882&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.pictogame.com/doku.php?id=user.getinfo&amp;rev=1198076897&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.pictogame.com/lib/images/favicon.ico">
        <title>Pictogame Wiki</title>
        <link>http://wiki.pictogame.com/</link>
        <url>http://wiki.pictogame.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=developers&amp;rev=1248961728&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-30T08:48:48-06:00</dc:date>
        <title>developers</title>
        <link>http://wiki.pictogame.com/doku.php?id=developers&amp;rev=1248961728&amp;do=diff</link>
        <description>Pictogame Web API - Documentation


Pictogame Web API is a set of standards-based web services that enable any developer to access Pictogame's public data.

It is a REST-like interface that can be accessed by the following URL scheme:


http://www.pictogame.com/services/public/?method=xxxxx&amp;arg=yyyy</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=errorxml&amp;rev=1196931372&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-06T02:56:12-06:00</dc:date>
        <title>errorxml</title>
        <link>http://wiki.pictogame.com/doku.php?id=errorxml&amp;rev=1196931372&amp;do=diff</link>
        <description>Error codes

	*  1 - An unexpected error occured
	*  2 - Invalid argument
	*  3 - Item not found
	*  4 - Unknown method

Error XML


Every time an error occurs, an xml is returned.

See a sample of this XML below.


&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
&lt;ResultSet&gt;
  &lt;Error&gt;
    &lt;Code&gt;2&lt;/Code&gt;
    &lt;Summary&gt;Invalid argument&lt;/Summary&gt; 
  &lt;/Error&gt;
&lt;/ResultSet&gt;</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=game.getbytag&amp;rev=1198076818&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-19T09:06:58-06:00</dc:date>
        <title>game.getbytag</title>
        <link>http://wiki.pictogame.com/doku.php?id=game.getbytag&amp;rev=1198076818&amp;do=diff</link>
        <description>Description


Returns a list of games related to the given tag. As for now, only one tag is authorized.

Parameters
Required  Type  Name  Description    required    string    tag  Games with this tag will be returned    optional    int    number  Represent how many games will be returned. Default is 5  
Error Codes
CodeDescription  1  something bad happened during process  2  tag is not a string or is not a valid tag number is not an integer or is not a strictly positive number  3  tag is not fo…</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=game.getinfo&amp;rev=1198076847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-19T09:07:27-06:00</dc:date>
        <title>game.getinfo</title>
        <link>http://wiki.pictogame.com/doku.php?id=game.getinfo&amp;rev=1198076847&amp;do=diff</link>
        <description>Description


Returns information about a game.

Parameters
Required  Type  Name  Description    required    string    game  Game code that identify a game (string with a length of 12 chars)  
Error Codes
CodeDescription  1  something bad happened during process  2  game is not a string or is not a valid game code  3  game is not found into the database

If an error occured, an xml with the error code and a brief summary are returned.

Please see this page for more details.</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=game.getlist&amp;rev=1198076782&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-19T09:06:22-06:00</dc:date>
        <title>game.getlist</title>
        <link>http://wiki.pictogame.com/doku.php?id=game.getlist&amp;rev=1198076782&amp;do=diff</link>
        <description>Description


Returns a list of different predefined games such as most viewed, last created, ... (see below)

Parameters
Required  Type  Name  Description    required    int    type  Represent the type of games you want    optional    int    number  Represent how many games will be returned. Default is 5  

type could be one of the following:</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=home&amp;rev=1248961859&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-30T08:50:59-06:00</dc:date>
        <title>home</title>
        <link>http://wiki.pictogame.com/doku.php?id=home&amp;rev=1248961859&amp;do=diff</link>
        <description>*  Pictogame Web API
	*  Treasure Mania Documentation</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=sample_php&amp;rev=1197992917&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-18T09:48:37-06:00</dc:date>
        <title>sample_php</title>
        <link>http://wiki.pictogame.com/doku.php?id=sample_php&amp;rev=1197992917&amp;do=diff</link>
        <description>This is a simple example for PHP developers.


$params = array(
    'method'    =&gt; 'user.getGames', // in this example, we use the 'user.getGames' method
    'user'      =&gt; 'pc',            // in this example, we use 'pc' user
    'number'    =&gt; 3
);

$encoded_params = array();

foreach ($params as $key =&gt; $value)
{
    $encoded_params[] = urlencode($key).'='.urlencode($value);
}

$sep = is_string($sep = @ini_get('arg_separator.output')) &amp;&amp; strlen($sep) ? $sep : '&amp;';

$url = &quot;http://www.pictogam…</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=start&amp;rev=1196787761&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-04T11:02:41-06:00</dc:date>
        <title>start</title>
        <link>http://wiki.pictogame.com/doku.php?id=start&amp;rev=1196787761&amp;do=diff</link>
        <description>The wiki contains documentation about the Pictogame API


API Methods:


	*  game.getList
	*  game.getByTag
	*  game.getInfo
	*  user.getGames
	*  user.getInfo</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=treasuremadness&amp;rev=1257966349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-11T13:05:49-06:00</dc:date>
        <title>treasuremadness</title>
        <link>http://wiki.pictogame.com/doku.php?id=treasuremadness&amp;rev=1257966349&amp;do=diff</link>
        <description>Treasure Madness


Treasure Madness is a Facebook game which can be played for free 
here.

Tips &amp; Tricks


This part is work in progress. But you can read the tips &amp; tricks of Treasure Mania, the ancestor to Treasure Madness: 
Treasure Mania tips</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=treasuremania&amp;rev=1257964994&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-11T12:43:14-06:00</dc:date>
        <title>treasuremania</title>
        <link>http://wiki.pictogame.com/doku.php?id=treasuremania&amp;rev=1257964994&amp;do=diff</link>
        <description>Welcome to the wiki of Treasure Mania game on Facebook.

Treasure Mania - has become Treasure Madness


The new Treasure Mania is a big step and it requires that all Preview users restart the game from level 1.

Contrary to the Preview, the new release of TM will be complete with gold spending and many new features from the start. Some parts of the game will need to be unlocked or will simply be enabled later on, but nothing will prevent you from moving forward.</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=user.getgames&amp;rev=1198076882&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-19T09:08:02-06:00</dc:date>
        <title>user.getgames</title>
        <link>http://wiki.pictogame.com/doku.php?id=user.getgames&amp;rev=1198076882&amp;do=diff</link>
        <description>Description


Returns a list of games related to a user.

Parameters
Required  Type  Name  Description    required    string    user  The user from whom you want games    optional    int    number  Represent how many games will be returned. Default is 5  
Error Codes
CodeDescription  1  something bad happened during process  2  user is not a string or is not a valid user login number is not an integer or is not a strictly positive number  3  user is not found into the database

If an error occur…</description>
    </item>
    <item rdf:about="http://wiki.pictogame.com/doku.php?id=user.getinfo&amp;rev=1198076897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-19T09:08:17-06:00</dc:date>
        <title>user.getinfo</title>
        <link>http://wiki.pictogame.com/doku.php?id=user.getinfo&amp;rev=1198076897&amp;do=diff</link>
        <description>Description


Returns information about a user.

Parameters
Required  Type  Name  Description    required    string    user  The user about whom you want information  
Error Codes
CodeDescription  1  something bad happened during process  2  user is not a string or is not a valid user login  3  user is not found into the database

If an error occured, an xml with the error code and a brief summary are returned.

Please see this page for more details.</description>
    </item>
</rdf:RDF>
