Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Help: Retrieve thread titles in forum. C#

Joined
Jun 8, 2008
Messages
1,082
Reaction score
142
I need help on retrieving thread titles from the MapleStory Advertisement section, and also turning them into links to produce a list in C#.
CioNide - Help: Retrieve thread titles in forum. C# - RaGEZONE Forums

It's the last step on my application.
 
Last edited:
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
Last edited:
Joined
Jun 8, 2008
Messages
1,082
Reaction score
142
You can fetch the thread titles and/or content of threads through the RSS feeds, e.g. <![CDATA[RaGEZONE - MMORPG server development forums - Coders' Paradise]]>. There's a few guides out there on fetching RSS data with C# (like: ), so no doubt this should be feasible for you. Good luck.

EDIT: For MapleStory Advertisement section - RaGEZONE - MMORPG server development forums - MapleStory Servers
But how to make the output to my listbox?
That's the struggle.
 
Legendary Battlemage
Loyal Member
Joined
Apr 7, 2009
Messages
647
Reaction score
25
Use WebClient to fetch the HTML, remove the header, then use PREG functions.
 
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
It would be stupid to fetch html when there are feeds, which is basically xml..

Thanks for reiterating my point, anyways, like I said, you can have a look through Google for a few tutorials and examples. It would be difficult for me to explain it here in elaborate detail.
 
Legendary Battlemage
Loyal Member
Joined
Apr 7, 2009
Messages
647
Reaction score
25
Thanks for reiterating my point, anyways, like I said, you can have a look through Google for a few tutorials and examples. It would be difficult for me to explain it here in elaborate detail.

I just checked your link...
Anyone else notice an uncanny resemblance to his app?
...other than the old Win2k theme, that is.
 
Moooooooooooooooo
Loyal Member
Joined
Jul 19, 2006
Messages
442
Reaction score
130
you can use any windows list box to show them. Use a xml parser to parse the feed, then just loop over the elements inside the main node and list.add(new MyLink(...));

class mylink : ListItemOrSomethingLikeThat
{
...
}

and then make a onclick event to all those items and retrieve the class

on_click_event(object sender, eventargs args)
{
MyLink item = listbox.Selecteditem as MyLink;
process.run(item.link);
}
 
Back
Top