Talking about Php and WordPress.
One of the best (or worst) things about programming is once you think you’ve almost done it, another problem pops up.
In part 3 I told you the hardest part was done, but I guess I was wrong.
This is an almost-working php script to include one game into WP in the same way as you would do if manually writing the entry.
The script at the moment does not handle security issues, special characters and duplicate game names.
If you want to test it or improve it, I will be happy to publish everything you will make, just make a backup of your WP database before playing with it.
I launched the script to insert Summer Couples and it worked fine, now it’s time to fix the issues explained before, optimize it and make the final loop to read all games from the feed.
The script should be placed in the main WP directory.
This is a beta, so don’t expect too much from it.
Let me know how would you improve it and your name will be featured in the theme credits.
Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.