<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 24 May 2012 14:28:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SocialGeek.be: Clean urls through readable slugs in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11685</guid>
      <link>http://www.phpdeveloper.org/news/11685</link>
      <description><![CDATA[<p>
On the SocialGeek blog there's a <a href="http://www.socialgeek.be/blog/read/clean-urls-through-readable-slugs-in-php">recent post</a> that looks at making stubs for your URLs, making them easier to read and remember.
</p>
<blockquote>
This is where the fun begins of course. How many times have you been confronted with someone sending you an indecipherable, thus untrustworthy link? Right, so we agree that for a user, it is important to have a clean URL that is readable and includes the title of the page or (at least) some description related to the content. Slug time! 
</blockquote>
<p>
They explain what slugs are (and how they're useful for users) as well as how to convert a title into a "slugged" string by replacing anything that's not an A-Z or 0-9 character to remove the less URL friendly characters.
</p>]]></description>
      <pubDate>Tue, 06 Jan 2009 14:28:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If]]></title>
      <guid>http://www.phpdeveloper.org/news/6554</guid>
      <link>http://www.phpdeveloper.org/news/6554</link>
      <description><![CDATA[<p>
Over on the ThinkingPHP blog today, there's two new tutorials from <i>Felix Geisendorfer</i> - one dealing with <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the conversion</a> of WordPress titles into the "slugs" the system uses, and the other <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/>an example</a> of using if statements to express dependencies.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the first article</a> he shows a method how, inside the structure of CakePHP, to make a component to grab the slug out of the URL and parse it down to the different parts of the title.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/">the second</a>, <i>Felix</i> demonstrates how, with some simple if logic, you can simulate dependencies. His examples include a simple if to check for the return of "true" from various functions and an inline example of an svn export and FTP.
</p>]]></description>
      <pubDate>Mon, 23 Oct 2006 13:17:58 -0500</pubDate>
    </item>
  </channel>
</rss>

