Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 360voice.com
 XML/APIs
 Using the XML feed on a website:
 New Topic  Reply to Topic
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

award123

4,675

Zone: Family

Total games played:

Current Streak: 0

Longest Streak: 21

Comments Made: 1,337

Starting Gamer

USA
4 Posts

Posted - Sep 25 2006 :  3:03:44 PM  Show Profile  Visit award123's Homepage  Reply with Quote
Does any have a good example (code) of how to take the XML data and present it on the web site? I would like to have the XBOX360 blog on my site and not redirect the end user to 360voice.com. I have no issues in giving the credit on the web site but I would like to format accordingly.

Any help is appreciated.

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Sep 25 2006 :  3:05:10 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
What language are you going to use to do this? PHP? Javascript? ASP?

Have you seen the javascript badge? That might be all you need:
http://www.360voice.com/forum/topic.asp?topic_id=11



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

award123

4,675

Zone: Family

Total games played:

Current Streak: 0

Longest Streak: 21

Comments Made: 1,337

Starting Gamer

USA
4 Posts

Posted - Sep 25 2006 :  3:18:00 PM  Show Profile  Visit award123's Homepage  Reply with Quote
I can use either HTML/Java or ASP.NET (VB). I am completely open. This would be my first EVER implementation of using a web service (a true web service) on a web site. So, thought the Javascript Badge looks cool it seems that I don't understand how you are transforming the XML feed to display accordingly. Can you break it down for me?

quote:
Originally posted by ChangeAgent
What language are you going to use to do this? PHP? Javascript? ASP?

Have you seen the javascript badge? That might be all you need:
http://www.360voice.com/forum/topic.asp?topic_id=11



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?

Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Sep 25 2006 :  3:19:26 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
Check out this tutorial I wrote about using the Flickr API. I use the same code when consuming the 360voice services:

http://www.tjmweb.com/flickrapi.asp



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

award123

4,675

Zone: Family

Total games played:

Current Streak: 0

Longest Streak: 21

Comments Made: 1,337

Starting Gamer

USA
4 Posts

Posted - Sep 25 2006 :  3:23:21 PM  Show Profile  Visit award123's Homepage  Reply with Quote
THANK YOU!! This helps out a ton. I was not sure where to start but this helps. I think the toughtest part will be creating the XSL accordingly. When I have this done I will post back up for others...thanks again!

quote:
Originally posted by ChangeAgent
Check out this tutorial I wrote about using the Flickr API. I use the same code when consuming the 360voice services:

http://www.tjmweb.com/flickrapi.asp



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?

Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Sep 25 2006 :  3:30:24 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
That is why I wrote the one for Flickr. I was digging around and never found a good explanation, so I put one together so that any other time I needed to consume XML, I had a good foundation in place.



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

porschephiliac

168,112

Zone: Recreation

Total games played: 521

Current Streak: 2086

Longest Streak: 2208

Comments Made: 1,337

Moderator

USA
3981 Posts

Posted - Dec 08 2006 :  1:57:15 PM  Show Profile  Visit porschephiliac's Homepage  Reply with Quote
I added the blog script to my page thanks to this topic!

I am extemely new to this whole thing, but I would also like to add the whole blog to my webpage, but I have no idea where to start...

and all this confuses me...

Help?

The one, the only...


Edited by - porschephiliac on Dec 08 2006 2:13:01 PM
Go to Top of Page

porschephiliac

168,112

Zone: Recreation

Total games played: 521

Current Streak: 2086

Longest Streak: 2208

Comments Made: 1,337

Moderator

USA
3981 Posts

Posted - Dec 08 2006 :  2:23:02 PM  Show Profile  Visit porschephiliac's Homepage  Reply with Quote
Alright, I was able to do this, but is it right?:

http://www.freewebs.com/porschephiliac/360voiceblogarchive.htm

The one, the only...
Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Dec 08 2006 :  3:45:29 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
Looks right to me!



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

porschephiliac

168,112

Zone: Recreation

Total games played: 521

Current Streak: 2086

Longest Streak: 2208

Comments Made: 1,337

Moderator

USA
3981 Posts

Posted - Dec 08 2006 :  4:30:46 PM  Show Profile  Visit porschephiliac's Homepage  Reply with Quote
Awesome! First try!! Do I get the API Samurai Badge?

The one, the only...

Edited by - porschephiliac on Dec 08 2006 4:32:29 PM
Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Dec 08 2006 :  5:16:45 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
quote:
Originally posted by porschephiliac

Awesome! First try!! Do I get the API Samurai Badge?



Email me so I don't forget. I can't do it from work.



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

porschephiliac

168,112

Zone: Recreation

Total games played: 521

Current Streak: 2086

Longest Streak: 2208

Comments Made: 1,337

Moderator

USA
3981 Posts

Posted - Dec 08 2006 :  5:23:42 PM  Show Profile  Visit porschephiliac's Homepage  Reply with Quote
I sent it out, thanks!

The one, the only...
Go to Top of Page

NviperO

95,562

Zone: Recreation

Total games played: 328

Current Streak: 2

Longest Streak: 58

Comments Made: 1,337

New Gamer

Finland
16 Posts

Posted - Dec 14 2006 :  7:01:18 PM  Show Profile  Visit NviperO's Homepage  Reply with Quote
I've used PHP on my site and had little difficulties applying example scripts since server where my site is on runs still PHP4 and what I understand PHP5 offers far better tools for XML parsing.

Anyways I found a script that I managed to make work on my site with little changes. Mainly it had just little things that I had to change so it would show out nice XHTML 1.1. I also had a problem with encoding, since Viva PiƱata didn't show properly but I just fixed that with some gum and glue. :)

Turned out well enough for me: http://www.nvipero.net/index.php?s=4

Now that I found list of available web services, I'll surely add some new things there. :)


KonsoliFIN.net - A Finnish Gaming Community

Edited by - NviperO on Dec 14 2006 7:17:26 PM
Go to Top of Page

porschephiliac

168,112

Zone: Recreation

Total games played: 521

Current Streak: 2086

Longest Streak: 2208

Comments Made: 1,337

Moderator

USA
3981 Posts

Posted - Dec 15 2006 :  3:48:17 PM  Show Profile  Visit porschephiliac's Homepage  Reply with Quote
Looks good!

The one, the only...
Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Dec 16 2006 :  9:56:25 PM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
Looks good enough for an API Samurai badge!



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

NviperO

95,562

Zone: Recreation

Total games played: 328

Current Streak: 2

Longest Streak: 58

Comments Made: 1,337

New Gamer

Finland
16 Posts

Posted - Dec 17 2006 :  10:04:52 AM  Show Profile  Visit NviperO's Homepage  Reply with Quote
Awesome, thanks :)


KonsoliFIN.net - A Finnish Gaming Community
Go to Top of Page

BoonKo

11,954

Zone: Recreation

Total games played:

Current Streak: 0

Longest Streak: 16

Comments Made: 1,337

Starting Gamer

5 Posts

Posted - Jan 28 2007 :  07:42:52 AM  Show Profile  Visit Boonko's Homepage  Reply with Quote
Damn.... I dont really get this!!!

I am so Noob!

Go to Top of Page

ChangeAgent

26,582

Zone: Recreation

Total games played: 267

Current Streak: 0

Longest Streak: 26

Comments Made: 1,337

360voice Staff

USA
6283 Posts

Posted - Jan 28 2007 :  11:09:20 AM  Show Profile  Visit ChangeAgent's Homepage  Reply with Quote
quote:
Originally posted by Boonko

Damn.... I dont really get this!!!

I am so Noob!



Well, you really just have to understand a development language and then it all starts to make sense. The services are just a standard way of delivering data. People can take that standard format and transform it using a technology called XSLT to produce HTML which browsers can render.

But being able to do all that first starts with knowing a language like .NET, or ASP, PHP, etc.



- ChangeAgent's Xbox Can Blog
- Trapper Markelz Can Blog
- I have a gamer history... do you?
Go to Top of Page

BoonKo

11,954

Zone: Recreation

Total games played:

Current Streak: 0

Longest Streak: 16

Comments Made: 1,337

Starting Gamer

5 Posts

Posted - Jan 29 2007 :  08:09:01 AM  Show Profile  Visit Boonko's Homepage  Reply with Quote
I know ASp!
Go to Top of Page

RoelLive

9,563

Zone: Pro

Total games played:

Current Streak: 0

Longest Streak: 13

Comments Made: 1,337

New Gamer

Netherlands
23 Posts

Posted - Jan 29 2007 :  12:43:09 PM  Show Profile  Visit roellive's Homepage  Reply with Quote
Maybe you should google around a bit, and after that come up with "real questions", nofi btw,...

In code, either ASP, PHP, or .NET you should do a GET httprequest or a GET xmlhttprequest. When you specify the correct 360 Voice API URL it will return the data you requested. After that it's up to you how you work with this data.

Edited by - roellive on Jan 29 2007 2:06:09 PM
Go to Top of Page

award123

4,675

Zone: Family

Total games played:

Current Streak: 0

Longest Streak: 21

Comments Made: 1,337

Starting Gamer

USA
4 Posts

Posted - Jan 29 2007 :  2:58:49 PM  Show Profile  Visit award123's Homepage  Reply with Quote
I apologize about the "laziness" but though I know how to code I don't really....I have tried many times to consume some of this wonderful data for my web site. Can someone shoot me off some example code in .NET or ASP that I can look at and change (code that references these APIs and not Flickr)? The biggest issue I have is around XML formatting and displaying the information. Really confused on how to do this. So a complete code set (does not need to be pretty) would help me out.

Thanks!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
Jump To:
360voice Community © 2006 360voice.com Go To Top Of Page
Snitz Forums 2000