Hey all,
I thought I would play around with the Chrome extensions structure and I thought the GB API would be decent to use for a bit of practice. I'm starting by making the extension pull the reviews, but I noticed that the game element of a review's node content is a call to the api for the game. Did I miss something here? Is just the game's name included somewhere in the Review XML?
Ian
GB Chrome Extension
It's in there. name is what you want.
<game>
<api_detail_url>http://api.giantbomb.com/game/20462/</api_detail_url>
<id>20462</id>
<name>SingStar</name>
</game>
A terrible beta version is accessible from the Chrome extensions. I have Reviews paging working, just need to work a few bugs out before I post it. Ideally it will have news, reviews, and maybe video links, along with a text search that will return some abbreviated results for quick viewing and linking. Any comments/complaints?
Wrapped the new version earlier, and it has review browsing with dlc_names if they exist. I was trying to clean up the code a bit and it should be looking better .
" Wrapped the new version earlier, and it has review browsing with dlc_names if they exist. I was trying to clean up the code a bit and it should be looking better . "Link>?
Left it on my work machine, so I cant get to it until tomorrow. I'll post it by Friday morning and let you all know.
There's no way to query GB for their news feed is there? Does Feedburner have a decent API, so I don't have to query the feed and return an excessive number of results? Also the API doesn't support new release browsing?
For new releases you'll have to grab all of the releases, or at least a large number of them, and sort them yourself. It's horribly impractical if you don't have your own database to store it all in. I could have sworn there was at one point an RSS feed for new releases, but that seems to have disappeared.
I'm sorta of working on this project to familiarize myself with jquery, so I'm not going to take the time to build my own database and feeds to sort everything else. That I I doubt the audience for this will be all that large to even justify it. I guess I'm trying to make it useful for the user, so they don't have to wait 5-10 seconds for the app to retrieve and parse the results. I still poking around with the feedburner stuff, but I'm probably just going to move onto searching and come back to the news feed later.
Yeah, some things just aren't worth the bother. Many of the things I want to do with the API are either impossible or require me to retrieve data for every single page. It would be nice if the API devs would actually implement a more powerful interface for the API so that we don't have to do a bunch of client-side sorting and filtering. We shouldn't have to do that.
Added some finishing touches to version 1.1. You can grab it here: https://chrome.google.com/extensions/detail/fbmdbnaicbiicjomhbehphodbmbokcpj
Thoughts?
Version 1.2 ready to go at the above URL. Added search support. Still trying to figure out the best way to parse news. Going to start working on topic browsing.
Ehhh, after looking at it I guess your not pulling all that much info. That url you provided is only pulling current info and there's not really any deck to display, so I only really need to pull the title and the link. Seems simple enough, should have it together in the next hour or so.
" @fearbefore: Lookin' good! Keep up the great work.Any chance you can make it so I can post on the forums from my droid?
In the GiantBomb Android app, I used this feed to parse news:I found it by doing packet capture on the iPhone app. Good luck! "http://feeds.feedburner.com/GiantBombNews?format=xml
Arg, there's no deck/tagline for news stories in the feed. The ones on the site have nice decks for each headline, but the feed only has a description that's is stuffed full of html.
Like these decks? Yeah, it would be nice to include those in the feed.
@fearbefore: Yeah... it's certainly not an optimal solution, but as far as I know it's the best way to do it.
Please Log In to post.
Log in to comment