http://steamcommunity.com/sharedfiles/filedetails/?id= with $_GET[“id”]
once I had the href, I foreached the results, there was /comments/**** and /discussions/*** which i made a check to do nothing if the string had either comment or discuss in it, also the original pack ID shows up, so I checked if it was that, and returned nothing,
after I removed things not wanted, I took the results currently: /?id=99999999 I string sub’d the /?id= to resource.AddWorkshop(’ then added ') after the the replacement.
Now, steams workshop page makes the href show twice, not sure why so the response is:
and so on
So I had to write this to a txt, take the txt into an array, remove the duplicate lines, save that to the TXT and then echo each line in the TXT
Probably not the best way, but it works
In other words, it’s not based on xml.