Tag Archive | "url"

PHP : Strip filename from a URL

Saturday, April 26, 2008

0 Comments

Using PHP, you might need to strip the path from a URL, leaving behind just the filename at the end of the URL. You can achieve this with a regular expression pattern of course, but I have a much simpler solution. See the example code below.

Continue reading...

iTunes : Change podCast Feed URL

Saturday, April 12, 2008

0 Comments

At some stage, you might need to change the podcast feed URL of your podcast listed in the iTunes directory. In order to do so, you’ll need to tell the iTunes podcast directory that a new feed URL is available by inserting a <itunes:new-feed-url /> tag into your XML structure. See the example below.

Continue reading...