Create URL friendly strings like WordPress
2010-01-16 @ 14:59Wordpress rewrite their URLs in a beautiful way which makes them very user friendly. I’ve created a function that converts a string to be user friendly, the Wordpress way.
Wordpress rewrite their URLs in a beautiful way which makes them very user friendly. I’ve created a function that converts a string to be user friendly, the Wordpress way.
This example is downloading data from an XML file from an RSS feed by using XPath. The XML file is downloaded with Curl, so make sure it is enabled on the server that runs the script. The titles are printed out, just to show that it works.