Guild Wars Newsreader
Qanar
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.
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.
Vic
Thank you, this can be very useful
-Vic
-Vic
Adriaanz#Shiro
Wow really cool, now I haven't got to look at the updates every time ^^.
Really thanks..
~Shiro
Really thanks..
~Shiro
Qanar
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
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
Snograt
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..?
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..?
FoxBat
JAR = java runtime. If you have Java installed, double-clicking should run it. Or you may need to say "Open With..." to fix that.
Qanar
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)
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)
Balachmar
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.
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.
Qanar
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
Balachmar
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.
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.
Qanar
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 :-).
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 :-).
Snograt
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 )
"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 )