Guild Wars Forums - GW Guru
 
 

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

Notices

Reply
 
Thread Tools Display Modes
Old Jun 06, 2008, 07:54 PM // 19:54   #1
Academy Page
 
Join Date: Dec 2005
Location: Belgium
Guild: GWOnline [GWO]
Advertisement

Disable Ads
Default Guild Wars Newsreader

Guild Wars Newsreader

http://code.google.com/p/gwnewsreader/

All Guild Wars news collected in one place (as discussed by Regina). This program reads the developer notes and in-game announcement from the wiki. It also reads the news and game-updates from the RSS feed. You can dynamicly choose which items you want to see and if theres a link in the article you can click on it to open that link in your browser.

Update notes:
Version 0.1
* First draft, includes the RSS feeds

Version 0.2
* Small bug fixes
* Adds link usability

Version 0.3
* Small bug fixes
* Adds developer notes
* Adds Ingame announcement screen

Version 0.4
* Adds GotW's
* Adds Community News
* Several small bugfixes

This program is very beta, I'm not responsible for any damage to your computer system.

Last edited by Qanar; Jun 12, 2008 at 02:28 PM // 14:28..
Qanar is offline   Reply With Quote
Old Jun 09, 2008, 06:24 AM // 06:24   #2
Vic
Krytan Explorer
 
Vic's Avatar
 
Join Date: Feb 2008
Guild: No1 K O R E A [No1]
Profession: Mo/
Default

Thank you, this can be very useful

-Vic
Vic is offline   Reply With Quote
Old Jun 09, 2008, 08:17 AM // 08:17   #3
Krytan Explorer
 
Join Date: Sep 2007
Location: Guild Hall
Guild: Super Kaon Action Team [Ban]
Profession: R/E
Default

Wow really cool, now I haven't got to look at the updates every time ^^.

Really thanks..

~Shiro
Adriaanz#Shiro is offline   Reply With Quote
Old Jun 10, 2008, 07:19 PM // 19:19   #4
Academy Page
 
Join Date: Dec 2005
Location: Belgium
Guild: GWOnline [GWO]
Default

I added in the GotW's and new community feed in the development version but I got a problem.

Loading the GotW's with as content (the stuff you see in the left area) the full article takes about 60 seconds to load (other readers take less then 1 second). The GotW's with as content a link to the specific page takes less then 1 second to load, but isn't nearly as pretty.

What are your thoughts on this?



ps: Adriaanz... You gonna love that screen
Qanar is offline   Reply With Quote
Old Jun 10, 2008, 07:54 PM // 19:54   #5
rattus rattus
 
Snograt's Avatar
 
Join Date: Jan 2006
Location: London, UK GMT±0 ±1hr DST
Guild: [GURU]GW [wiki]GW2
Profession: R/
Default

Very nice.

Er...

How do you use it? The download is a .jar, which is an archive. Is something supposed to read it in situ, or is it to be extracted and then..?
__________________
Si non confectus, non reficiat
Snograt is offline   Reply With Quote
Old Jun 11, 2008, 04:22 AM // 04:22   #6
Furnace Stoker
 
Join Date: Apr 2006
Guild: Amazon Basin [AB]
Profession: Mo/Me
Default

JAR = java runtime. If you have Java installed, double-clicking should run it. Or you may need to say "Open With..." to fix that.
FoxBat is offline   Reply With Quote
Old Jun 11, 2008, 07:17 AM // 07:17   #7
Academy Page
 
Join Date: Dec 2005
Location: Belgium
Guild: GWOnline [GWO]
Default

Double clicking it -should- work. If it opens winrar make sure that winrar is no longer associated with Jar. Or do right click and open with Java TM Platform SE Binary.

What also can work is open up your cmd.exe, cd to Desktop and then type "java -jar gwnewsreader.jar".

Be sure you got the latest Java Runtime (https://cds.sun.com/is-bin/INTERSHOP...-CDS_Developer)

Last edited by Qanar; Jun 11, 2008 at 08:30 AM // 08:30..
Qanar is offline   Reply With Quote
Old Jun 11, 2008, 12:49 PM // 12:49   #8
Pre-Searing Cadet
 
Join Date: Sep 2005
Guild: GoT
Profession: E/Me
Default

Hi, just curios, do you also have an ANT file to easy compiling the source.
Because I extracted it, in order to hunt some bugs, but I'm having a bit of trouble running it.
Or maybe a eclipse project file or something (I have no idea in what kind of ide you are writing it)
Or maybe just the command you use to compile and test it.
Balachmar is offline   Reply With Quote
Old Jun 11, 2008, 01:18 PM // 13:18   #9
Academy Page
 
Join Date: Dec 2005
Location: Belgium
Guild: GWOnline [GWO]
Lightbulb

I'm using eclipse.
  • Download the eclipse project
  • Make a new project from existing location, the folder GWNewsFeed.
  • Point to the new location of the jdom.jar in project - properties - java build path
Qanar is offline   Reply With Quote
Old Jun 11, 2008, 01:41 PM // 13:41   #10
Pre-Searing Cadet
 
Join Date: Sep 2005
Guild: GoT
Profession: E/Me
Default

If I comment out the line that contains:
Collections.sort(items);

It works, why do you want to sort and on what?
Maybe ArrayLists can be used, I use them a lot, since they are pretty handy.
I have removed one usage of a deprecated method (Date(String))
And replaced it in a way that it is supposed to.
My guess that it get's slower with the GotW is just that it needs to ask for a lot more websites to parse.
(Although I don't really like the getContent method with a while nested in a while...)
But maybe you could get the GotW content in another thread so that one can start reading quickly and that if they click it in the menu, it will get fetched straight away and that another thread is collecting the content in the background.

Last edited by Balachmar; Jun 11, 2008 at 02:12 PM // 14:12..
Balachmar is offline   Reply With Quote
Old Jun 11, 2008, 02:21 PM // 14:21   #11
Academy Page
 
Join Date: Dec 2005
Location: Belgium
Guild: GWOnline [GWO]
Default

I sort the items on date, so you got the latest one on top. Collections.sort() does this using the compareTo() method. I thought I needed my items to be a Vector since the JList (swing component) needs it, but I create a new vector on that location with just the titles.

So probaly I can change my items to a Arraylist and alter StandardGui to work with one.

Edit1: I know I'm using the deprecated constructor of Date(), can you show me your adaption on it?
Edit2: Yes, more websites is exactly the reason that the GotW reader takes so long. I do fear the program isn't clean enough to add background threads to it now :-).

Last edited by Qanar; Jun 11, 2008 at 02:23 PM // 14:23..
Qanar is offline   Reply With Quote
Old Jun 11, 2008, 07:15 PM // 19:15   #12
rattus rattus
 
Snograt's Avatar
 
Join Date: Jan 2006
Location: London, UK GMT±0 ±1hr DST
Guild: [GURU]GW [wiki]GW2
Profession: R/
Default

For some reason, my installation doesn't recognise java on its own. the only way I could run it was as follows:

"C:\Program Files\Java\jre1.6.0_06\bin\java.exe" -jar d:\downloads\gwnewsreader.jar

If I do the obvious and associate it with the java binary, I just get a pop-up with the following:

"Could not find the main class. Program will exit."

Odd. But that's a problem with my system and Java, not this application.

(Good app, by the way )
__________________
Si non confectus, non reficiat

Last edited by Snograt; Jun 11, 2008 at 07:21 PM // 19:21..
Snograt 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
give loyal guild wars players automatic guild wars 2 beta. warcrap Sardelac Sanitarium 24 Nov 13, 2007 04:53 AM // 04:53
How do I merge guild wars and guild wars factions?I heard you have to do a quest in l revenge421 Questions & Answers 2 Jul 05, 2006 03:43 PM // 15:43


All times are GMT. The time now is 03:20 PM // 15:20.


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("