<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>psnapi.org RSS feed</title>
		<description>psnapi.org's newest forum posts by rss</description>
		<link>http://psnapi.org/</link>
		<lastBuildDate>Sun, 20 May 2012 07:56:42 +0100</lastBuildDate>
		<pubDate>Sat, 19 May 2012 08:15:23 +0100</pubDate>
		<language>en-us</language>
		
		<item>
			<title>Post 576 (persht in Very New but Eager {General})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
I'd like to develop a leaderboard based off existing members on one site for a specific game. I see the APIs and I just want to clarify - through my basic knowledge. If anything a basic trophy leaderboard would work.&lt;br /&gt;&lt;br /&gt;First question (very obvious answer but I just want to know a basic page structure)- &lt;br /&gt;I use a php form to GET info from the API and then create another page to SORT and ECHO the results? &lt;br /&gt;-(this aside from the pages used to get user auth from PSN)&lt;br /&gt;&lt;br /&gt;Where should I start reading first? Are there any must read documents that I should be memorizing.&lt;br /&gt;&lt;br /&gt;I see there is a sign-on service would I be able to use this like a Facebook single sign-on for my forum?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I know i could hire someone but I always get some sort of high from doing these things on my own. I just need some approval or possibly direction.&lt;br /&gt;&lt;br /&gt;I will be donating when i get paid tomorrow :) I'm not here to grab a freebie and run! I appreciate developers and this project(s)!&lt;br /&gt;&lt;br /&gt;I apologize if I'm confusing anyone with my questions. I'm still reading through everything on the site.&lt;br /&gt;&lt;br /&gt;My knowledge of 'programming' is basic/intermediate for php and Javascript ... MySQL databases etc.&lt;br /&gt;Advanced - HTML/CSS/XML&lt;br /&gt;&lt;br /&gt;Things I've done - made simple members section and cms. Some signature generators. I made one of the first myspace friend train scripts lol. Not hard stuff but I wouldn't say I'm 100% noob.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=9&amp;topic=84#post:576</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=9&amp;topic=84#post:576</guid>
			<pubDate>Sat, 19 May 2012 08:15:23 +0100</pubDate>
		</item>
		<item>
			<title>Post 575 (Chrysem in Get Trophies (Offical Server) {Project: GetInfos})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
Hey, i'm new and i really want to thank Dose for the sharing ;)&lt;br /&gt;&lt;br /&gt;I've just got one question about the get_trophies function : which parameter do you add to get the name of the game?&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:575</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:575</guid>
			<pubDate>Mon, 7 May 2012 09:39:19 +0100</pubDate>
		</item>
		<item>
			<title>Post 574 (stoopidheadz in PSN/SEN Friend List XML {Project: GetAuthData})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
@Dose You mind sharing your class that recovers friends XML data?&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=10&amp;topic=77#post:574</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=10&amp;topic=77#post:574</guid>
			<pubDate>Wed, 2 May 2012 11:36:38 +0100</pubDate>
		</item>
		<item>
			<title>Post 573 (fgsfds100 in Get Trophies (Offical Server) {Project: GetInfos})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
I've got connectivity with the searchjid site now but it's not giving me anything useful.&lt;br /&gt;&lt;br /&gt;I'm posting the following...&lt;br /&gt;&quot;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?xml version&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'1.0' &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;encoding&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'utf-8'&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;lt;searchjid platform='ps3' sv='3.70'&amp;gt;&amp;lt;online-id&amp;gt;fgsfds100&amp;lt;/online-id&amp;gt;&amp;lt;/searchjid&amp;gt;&quot;&lt;br /&gt;&lt;br /&gt;But I'm receiving this from all three sites.&lt;br /&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?xml version&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;1.0&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;encoding&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;utf-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;lt;searchjid result=&quot;01&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;I'm not specifying any of the other CURL details such as content-type, timeout, connect timeout and return transfer. &amp;nbsp;Would those affect the results or am I just missing something in the data I'm posting?&lt;br /&gt;&lt;br /&gt;If it helps, these are the server details I'm getting along with the empty xml line.&lt;br /&gt;&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Connection: close&lt;br /&gt;Date: Sun, 22 Apr 2012 13:42:52 GMT&lt;br /&gt;Server: Apache-Coyote/1.1&lt;br /&gt;Content-Length: 62&lt;br /&gt;Content-Type: text/xml;charset=UTF-8&lt;br /&gt;Client-Date: Sun, 22 Apr 2012 13:42:56 GMT&lt;br /&gt;Client-Peer: 198.107.129.148:80&lt;br /&gt;Client-Response-Num: 1&lt;br /&gt;&lt;br /&gt;EDIT:&lt;br /&gt;Nevermind, I sorted it out. &amp;nbsp;Initially I was just doing post($url,$postdata); &amp;nbsp;Changed it it post($url,Content=&amp;gt;$postdata); and it worked.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:573</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:573</guid>
			<pubDate>Sun, 22 Apr 2012 03:41:19 +0100</pubDate>
		</item>
		<item>
			<title>Post 572 (DoSe420 in Get Trophies (Offical Server) {Project: GetInfos})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
The usernames and passwords havent changed, the seperators are the : as for the perl im afraid i cant help at all with that, ive never used it&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:572</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:572</guid>
			<pubDate>Fri, 20 Apr 2012 12:26:19 +0100</pubDate>
		</item>
		<item>
			<title>Post 571 (fgsfds100 in Get Trophies (Offical Server) {Project: GetInfos})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
Hey, I'm new. &amp;nbsp;I've looked around here several times and I guess now it's time to speak up.&lt;br /&gt;&lt;br /&gt;I currently use an existing site as a middleman to gather trophy data but I want to start getting it directly from Sony for a change. &amp;nbsp;It'll probably load a lot faster and I'm sure the middleman would thank me for it when I stop consuming his bandwidth and server CPU time (his site 403s a lot when my programs are active, if he's reading this, sorry about that).&lt;br /&gt;&lt;br /&gt;I don't need any friends list data or anything that requires people to log in with their PSNID. &amp;nbsp;The ONLY data I'm interested in is...&lt;br /&gt;&lt;br /&gt;user avatar&lt;br /&gt;user region&lt;br /&gt;list of games (user unspecified AND user specified)&lt;br /&gt;-&amp;gt; npcommid (NPWR#####_00_XXXXXXXXXXX...)&lt;br /&gt;-&amp;gt; game logo id (the hex following the above)&lt;br /&gt;-&amp;gt; game title&lt;br /&gt;-&amp;gt; console (ps3 / vita)&lt;br /&gt;-&amp;gt; list of trophies in each game&lt;br /&gt;----&amp;gt; trophy id&lt;br /&gt;----&amp;gt; trophy image (the hex)&lt;br /&gt;----&amp;gt; trophy type (plat,gold,etc)&lt;br /&gt;----&amp;gt; trophy name&lt;br /&gt;----&amp;gt; trophy description&lt;br /&gt;----&amp;gt; earned date (when user specified)&lt;br /&gt;&lt;br /&gt;The system I've build can already determine everything else.&lt;br /&gt;&lt;br /&gt;My problem is that this is in PHP but I don't have that installed on my server and I don't really feel like adding it. &amp;nbsp;I work in Perl and I'd like to stick to that solely if at all possible.&lt;br /&gt;&lt;br /&gt;Anyway, I'm trying to convert the code by DoSe420 in the first post but I just can't wrap my head around it. &amp;nbsp;I found a CURL module for Perl but it's not compatible with my version and I don't feel like upgrading anything. &amp;nbsp;So that's out. &amp;nbsp;I'm left doing this from scratch using a Perl module called LWP but I can't even get past the basic authentication to get a JID. &amp;nbsp;I just keep getting error 401 (unable to log in).&lt;br /&gt;&lt;br /&gt;I have the following code which DOES work (code 200) when I try it on a basic-auth area of my own site, but for some reason it doesn't work at all when I try it on the PS site. &amp;nbsp;I should at least be able to log in successfully, even if it doesn't know what to send back to me... right?&lt;br /&gt;&lt;br /&gt;# ---------------------------------------------------------------- #&lt;br /&gt;#!C:/Perl/bin/perl.exe&lt;br /&gt;use LWP;&lt;br /&gt;&lt;br /&gt;#$site[0] = &quot;&lt;a href=&quot;http://127.0.0.1/private/&quot; target=&quot;_blank&quot;&gt;http://127.0.0.1/private/&lt;/a&gt;&quot;; # this was to test&lt;br /&gt;#$user = &quot;admin&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# logging in on my site&lt;br /&gt;#$pass = &quot;pass&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # -- it worked --&lt;br /&gt;&lt;br /&gt;$site[0] = &quot;&lt;a href=&quot;http://searchjid.usa.np.community.playstation.net/basic_view/func/search_jid&quot; target=&quot;_blank&quot;&gt;http://searchjid.usa.np.community.playstation.net/basic_view/func/search_jid&lt;/a&gt;&quot;;&lt;br /&gt;$site[1] = &quot;&lt;a href=&quot;http://searchjid.eu.np.community.playstation.net/basic_view/func/search_jid&quot; target=&quot;_blank&quot;&gt;http://searchjid.eu.np.community.playstation.net/basic_view/func/search_jid&lt;/a&gt;&quot;;&lt;br /&gt;$site[2] = &quot;&lt;a href=&quot;http://searchjid.jpn.np.community.playstation.net/basic_view/func/search_jid&quot; target=&quot;_blank&quot;&gt;http://searchjid.jpn.np.community.playstation.net/basic_view/func/search_jid&lt;/a&gt;&quot;;&lt;br /&gt;$user = &quot;c7y-basic01&quot;;&lt;br /&gt;$pass = &quot;A9QTbosh0W0D^{7467l-n_&amp;gt;2Y%JG^v&amp;gt;o&quot;;&lt;br /&gt;&lt;br /&gt;for ($i=0; $i&amp;lt;@site; $i++)&lt;br /&gt; {&lt;br /&gt; &amp;nbsp;$browser = LWP::UserAgent -&amp;gt; new;&lt;br /&gt; &amp;nbsp;$browser -&amp;gt; agent(&quot;PS3Community-agent/1.0.0 libhttp/1.0.0&quot;);&lt;br /&gt; &amp;nbsp;$req = HTTP::Request -&amp;gt; new(GET =&amp;gt; $site[$i]);&lt;br /&gt; &amp;nbsp;$req -&amp;gt; authorization_basic($user,$pass);&lt;br /&gt; &amp;nbsp;print $browser -&amp;gt; request($req) -&amp;gt; as_string . &quot;\n\n&quot;;&lt;br /&gt; }&lt;br /&gt;# ---------------------------------------------------------------- #&lt;br /&gt;&lt;br /&gt;So my first questions are...&lt;br /&gt;&lt;br /&gt;1. Is this still the basic login? ----&amp;gt; c7y-basic01:A9QTbosh0W0D^{7467l-n_&amp;gt;2Y%JG^v&amp;gt;o&lt;br /&gt;&lt;br /&gt;2. Should that be treated as a single string or is it a username + password combined.&lt;br /&gt;&lt;br /&gt;3. If it is a username + password combined, where is the separator? &amp;nbsp;Is it the colon?&lt;br /&gt;Is this what they would be if they were separated?&lt;br /&gt;user: c7y-basic01&lt;br /&gt;pass: A9QTbosh0W0D^{7467l-n_&amp;gt;2Y%JG^v&amp;gt;o&lt;br /&gt;&lt;br /&gt;4. Is the trophy login still the same too? ----&amp;gt; c7y-trophy01:jhlWmT0|:0!nC:b:#x/uihx'Y74b5Ycx&lt;br /&gt;And is it separated like this (or at all)?&lt;br /&gt;user: c7y-trophy01&lt;br /&gt;pass: jhlWmT0|:0!nC:b:#x/uihx'Y74b5Ycx&lt;br /&gt;&lt;br /&gt;5. Does anyone have any advice for doing this in Perl?&lt;br /&gt;How do you do http posts WITH basic authentication and all that other stuff...&lt;br /&gt;&lt;br /&gt;Any help would be appreciated. &amp;nbsp;Even just explaining the overall process that needs to take place so I can try to figure it out for myself.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:571</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:571</guid>
			<pubDate>Fri, 20 Apr 2012 07:50:51 +0100</pubDate>
		</item>
		<item>
			<title>Post 569 (x_sphere in PSN Status {Project ideas})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
Yea... I've never seen the trophy server down before, not once in like 3 years.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:569</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:569</guid>
			<pubDate>Fri, 6 Apr 2012 12:53:40 +0100</pubDate>
		</item>
		<item>
			<title>Post 568 (DoSe420 in PSN Status {Project ideas})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
I thought about posting that xml link as well but didnt think it would be of any use. The trophy server was up and working even durring the time the psn was off due to the hack.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:568</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:568</guid>
			<pubDate>Fri, 6 Apr 2012 12:37:16 +0100</pubDate>
		</item>
		<item>
			<title>Post 567 (x_sphere in PSN Status {Project ideas})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
If you want just the status of the trophy server,&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://static-resource.np.community.playstation.net/np/resource/trophy/trophy-status.xml&quot; target=&quot;_blank&quot;&gt;http://static-resource.np.community.playstation.net/np/resource/trophy/trophy-status.xml&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I don't know if there is a similar XML for other PSN environments, haven't looked...&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:567</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=8&amp;topic=82#post:567</guid>
			<pubDate>Thu, 5 Apr 2012 11:14:24 +0100</pubDate>
		</item>
		<item>
			<title>Post 566 (DoSe420 in Get Trophies (Offical Server) {Project: GetInfos})</title>
			<description>&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
bieleric has a psvita.. So if you havent included the psvita change you will be missing those games from the get_games function.&lt;/span&gt;
&lt;/code&gt;</description>
			<link>http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:566</link>
			<guid isPermaLink="false">http://psnapi.org/?page=forum&amp;forum=4&amp;topic=69#post:566</guid>
			<pubDate>Thu, 5 Apr 2012 07:29:30 +0100</pubDate>
		</item>
	</channel>
</rss>
