PHP

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.

  • Share/Bookmark

Get XML data with Xpath & Curl

2010-01-16 @ 14:58

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.

  • Share/Bookmark