Widescreen Gaming Forum
https://www.wsgf.org/phpBB3/

Steam ID Project - Another 63
https://www.wsgf.org/phpBB3/viewtopic.php?f=83&t=26152
Page 1 of 1

Author:  LuckyNoS7evin [ 26 May 2013, 21:26 ]
Post subject:  Steam ID Project - Another 63

Today I finished the Ts in my initial 500+ Steam IDs this meant I had finished, so I thought I would revisit my code to try and get a few more matches...

I changed my "matching" a little and removed case and spaces. You may not care about the previous version but the initial version just removed punctuation.

So here is the new version


foreach (XElement wsgfGame in noMatch)
{
var name = wsgfGame.Element("Title").Value.ToLower();
name = new string(name.Where(c => !char.IsPunctuation(c)).ToArray());
name = name.Replace(" ", "");
if (steam.Descendants("name").Select(s => new string(s.Value.ToLower().Where(c => !char.IsPunctuation(c)).ToArray()).Replace(" ","")).Contains(name))
{
var theMatch = steam.Descendants("app").First(s => new string(s.Element("name").Value.ToLower().Where(c => !char.IsPunctuation(c)).ToArray()).Replace(" ","") == name);
reMatch.Add(wsgfGame, theMatch);
}
}


By the title of this blog guess what, I got 63 new matches.....Time to get these put in to WSGF!

Author:  nicereddy [ 28 May 2013, 22:53 ]
Post subject:  Re: Steam ID Project - Another 63

Next you might think about added the PCGamingWiki link to all the pages that don't have it.

Would it be possible to make a list of every game on the WSGF?

Author:  LuckyNoS7evin [ 28 May 2013, 23:00 ]
Post subject:  Re: Steam ID Project - Another 63

nicereddy wrote:
Next you might think about added the PCGamingWiki link to all the pages that don't have it.

Would it be possible to make a list of every game on the WSGF?


I've got to have a word with the WSGF dev guys at some point in the near future, they have an xml version of the Master Games List but it only displays those WSGF games with Steam IDs. I would like a version which displays all games rather than those with just Steam IDs, the internet is about information these days and would love to use the info WSGF has :)

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/