Guild Wars Forums - GW Guru
 
 

Go Back   Guild Wars Forums - GW Guru > The Inner Circle > Community Works

Notices

Reply
 
Thread Tools Display Modes
Old Apr 29, 2005, 06:03 PM // 18:03   #1
Krytan Explorer
 
Cymboric Treewalker's Avatar
 
Join Date: Apr 2005
Location: Imperial Palace - Cantha
Guild: [SFK] Sacred Forge Knights (founder)
Profession: Me/Mo
Advertisement

Disable Ads
Default GW Query for web pages

I was wondering if anyone knows of a way or wants to work on a project to query the GW servers for guild web pages. I would like to pull current rankings, and who's online myself... there are probably other things that could be done.

Thanks.
Cymboric Treewalker is offline   Reply With Quote
Old May 01, 2005, 12:32 AM // 00:32   #2
Pre-Searing Cadet
 
Join Date: Apr 2005
Default

I gotta assume theres no way. For you to do taht u would need tehre sql information, to which they wont give out for security reasons.
dested is offline   Reply With Quote
Old May 01, 2005, 01:20 AM // 01:20   #3
Fam
Pre-Searing Cadet
 
Join Date: Apr 2005
Default

It would be quite nice if the provided a web services or such to tell you, for any user account, if they were online, and which character they were using. That could be done securely by AN, although there would be an extra cost for both developing and hosting this.
Fam is offline   Reply With Quote
Old May 02, 2005, 05:57 PM // 17:57   #4
Academy Page
 
Dtach's Avatar
 
Join Date: Apr 2005
Location: Netherlands
Default

Cant php Parse Info from a html doc?
This way it would just load the ladder, find the guilds name and post something that is before it.. *example: (if their html would be like this) <div "rank">263</div><div class"guild">Guild Name</div>
I dont know alot about php, but iv seen script do this..
Dtach is offline   Reply With Quote
Old May 02, 2005, 06:08 PM // 18:08   #5
Ministry of Technology
 
Sarus's Avatar
 
Join Date: Feb 2005
Location: Washington D.C.
Guild: Idiot Savants
Profession: Mo/
Default

Basically all you would need is a bot written in any language that downloads the webpage in question and parses out the data into a database. You would set a cron job to run the bot every 5 minutes or whatever. Then you'd have your own webpage display information from the database.

It's actually relatively trivial to do. The biggest concern is whether or not Anet wants a bunch of bots trolling their pages. Most people don't like it but Anet probably won't mind since you wouldn't be causing any undue server stress.

If someone wants to undertake the project and needs help with it just PM me. I can do it myself next week once I finish up my last week of classes or help someone out if they want to do it as a learning experience.
__________________
M.D.K. GuildWars Guild
Sarus is offline   Reply With Quote
Old May 02, 2005, 07:25 PM // 19:25   #6
Site Contributor
 
Join Date: Dec 2004
Default

Actually that gives me an interesting idea - I will talk to kzap about it.
Inde is offline   Reply With Quote
Old May 04, 2005, 08:26 PM // 20:26   #7
Pre-Searing Cadet
 
Join Date: May 2005
Default

Hi - I've got a working php class up at:
http://kirb.net/gw.php

You can just put in your guild tag and it will fetch the arena net ladder page, parse it up, and let you play with the results. Works in PHP 4. I would like to hear any feedback. This would be the first code I'm going to release, so hopefully it won't be too clumsy to use.

Thanks.
Kirbnet is offline   Reply With Quote
Old May 04, 2005, 08:32 PM // 20:32   #8
Site Contributor
 
Join Date: Dec 2004
Default

I will have something very nifty for Guild Wars Guru soon - hopefully before May 15.
Inde is offline   Reply With Quote
Old May 04, 2005, 09:05 PM // 21:05   #9
Elite Guru
 
Aladdar's Avatar
 
Join Date: Jan 2005
Default

I wish that arena.net would take a page from what Mythic did with DAoC where they had tons of info available in XML such as guild info and rankings, skills, spells, etc... So you could just pull all that info from xml tables to build your websites.
__________________
Please read THE FAQ and our Forum Guidelines!!!
Aladdar is offline   Reply With Quote
Old May 06, 2005, 07:39 AM // 07:39   #10
Site Contributor
 
 
Join Date: Dec 2004
Profession: R/Mo
Default

---- 10 letters
kzap is offline   Reply With Quote
Old May 11, 2005, 03:13 PM // 15:13   #11
Site Contributor
 
Join Date: Dec 2004
Default

Well our 1.0 version is up: http://www.guildwarsguru.com/ladder/

Version 1.5 comes in a bit
Inde is offline   Reply With Quote
Old May 11, 2005, 03:24 PM // 15:24   #12
Wilds Pathfinder
 
Ramus's Avatar
 
Join Date: May 2005
Location: Florida
Guild: Zero Tolerance
Profession: W/Mo
Default

Quote:
Originally Posted by Inde
Well our 1.0 version is up: http://www.guildwarsguru.com/ladder/

Version 1.5 comes in a bit
Very cool! Hopefully there is a search function in 1.5.
Ramus is offline   Reply With Quote
Old May 11, 2005, 03:36 PM // 15:36   #13
Site Contributor
 
Join Date: Dec 2004
Default

Well, as it is just one page, I dont see why a search function would be needed

1.5 will introduce elements where search can be friendly
Inde is offline   Reply With Quote
Old May 13, 2005, 03:36 PM // 15:36   #14
Pre-Searing Cadet
 
Join Date: May 2005
Default

I take it that the ladder script is parsing the guild wars web pages, and not using some fansite feed xml from Anet?
Ku Zo is offline   Reply With Quote
Old May 13, 2005, 05:28 PM // 17:28   #15
Site Contributor
 
Join Date: Dec 2004
Default

Ku Zo: Correct.
Inde is offline   Reply With Quote
Old May 14, 2005, 05:29 AM // 05:29   #16
Ascalonian Squire
 
Join Date: May 2005
Location: Alaska, USA
Default

it would be nice if you could use something like XML, which you can include in your webpages that you could dynamically use with PHP. I have done it a couple times and would take my guild roster off its current SQL system if I could use a xml listing of guild members from the Guild Wars list. that would be cool
Lord Alden is offline   Reply With Quote
Old May 14, 2005, 01:23 PM // 13:23   #17
Site Contributor
 
Join Date: Dec 2004
Default

As we are currently scraping the main site, its an active decision for us to not provide XML feeds etc.
Inde is offline   Reply With Quote
Reply

Share This Forum!  
 
 
           

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error msg when changing pages Pandora's box Site Feedback 7 Nov 12, 2005 07:23 AM // 07:23
Anyone Noticing Pages Loading Faster? Techie Site Feedback 2 Nov 10, 2005 03:49 AM // 03:49
MarkyX The Riverside Inn 48 Oct 16, 2005 02:37 AM // 02:37
Can't access trader rating pages Mumoto Questions & Answers 2 Oct 03, 2005 12:50 AM // 00:50
Sausaletus Rex Site Feedback 6 Apr 26, 2005 12:28 AM // 00:28


All times are GMT. The time now is 04:46 PM // 16:46.


Powered by: vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
jQuery(document).ready(checkAds()); function checkAds(){if (document.getElementById('adsense')!=undefined){document.write("_gaq.push(['_trackEvent', 'Adblock', 'Unblocked', 'false',,true]);");}else{document.write("