<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuery Slug Plugin</title>
	<atom:link href="http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/</link>
	<description>Perry Trinier</description>
	<lastBuildDate>Tue, 31 Aug 2010 20:58:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: BandonRandon</title>
		<link>http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/comment-page-1/#comment-23</link>
		<dc:creator>BandonRandon</dc:creator>
		<pubDate>Mon, 06 Apr 2009 04:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewebsitetailor.com/?p=26#comment-23</guid>
		<description>Thanks for this plugin it saved me a lot of time messing with regex and such. I know this is almost a year old now but I would like to contribute one suggestion. I added the &quot;trim()&quot; function to the slug content before adding the hyphens this prevents extra hyphens if spaces are left at the beginning or end of the title.

var slugcontent = $this.val();
var slugcontent_trim = jQuery.trim(slugcontent);
var slugcontent_hyphens = slugcontent_trim.replace(/\s+/g,&#039;-&#039;);

http://docs.jquery.com/Utilities/jQuery.trim

Brooke</description>
		<content:encoded><![CDATA[<p>Thanks for this plugin it saved me a lot of time messing with regex and such. I know this is almost a year old now but I would like to contribute one suggestion. I added the &#8220;trim()&#8221; function to the slug content before adding the hyphens this prevents extra hyphens if spaces are left at the beginning or end of the title.</p>
<p>var slugcontent = $this.val();<br />
var slugcontent_trim = jQuery.trim(slugcontent);<br />
var slugcontent_hyphens = slugcontent_trim.replace(/\s+/g,&#8217;-');</p>
<p><a href="http://docs.jquery.com/Utilities/jQuery.trim" rel="nofollow">http://docs.jquery.com/Utilities/jQuery.trim</a></p>
<p>Brooke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veena</title>
		<link>http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/comment-page-1/#comment-12</link>
		<dc:creator>veena</dc:creator>
		<pubDate>Tue, 20 May 2008 00:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewebsitetailor.com/?p=26#comment-12</guid>
		<description>I take your jquery plugin and combined it with urlify function from Django (BSD Licence) framework generated admin. You can take it and improve. Here it is:
http://dvanula.cz/jquery.slug2.js

Comments for your todo:
Ajax should stay away from this plugin, I think. For that you can use:
http://malsup.com/jquery/form/</description>
		<content:encoded><![CDATA[<p>I take your jquery plugin and combined it with urlify function from Django (BSD Licence) framework generated admin. You can take it and improve. Here it is:<br />
<a href="http://dvanula.cz/jquery.slug2.js" rel="nofollow">http://dvanula.cz/jquery.slug2.js</a></p>
<p>Comments for your todo:<br />
Ajax should stay away from this plugin, I think. For that you can use:<br />
<a href="http://malsup.com/jquery/form/" rel="nofollow">http://malsup.com/jquery/form/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Perry</title>
		<link>http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/comment-page-1/#comment-8</link>
		<dc:creator>Perry</dc:creator>
		<pubDate>Sun, 27 Apr 2008 22:53:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewebsitetailor.com/?p=26#comment-8</guid>
		<description>Thanks for the improved regex, Karl! I&#039;ll add that and a few other improvements to the next release.</description>
		<content:encoded><![CDATA[<p>Thanks for the improved regex, Karl! I&#8217;ll add that and a few other improvements to the next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.thewebsitetailor.com/2008/04/jquery-slug-plugin/comment-page-1/#comment-7</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Sun, 27 Apr 2008 19:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewebsitetailor.com/?p=26#comment-7</guid>
		<description>That&#039;s a nice little plugin you&#039;re putting together. 

One way you might be able to avoid the hyphens piling up when spaces are repeated is to modify the regex slightly:

&lt;code&gt;var slugcontent_hyphens = slugcontent.replace(/\s+/g,&#039;-&#039;);&lt;/code&gt;

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>That&#8217;s a nice little plugin you&#8217;re putting together. </p>
<p>One way you might be able to avoid the hyphens piling up when spaces are repeated is to modify the regex slightly:</p>
<p><code>var slugcontent_hyphens = slugcontent.replace(/\s+/g,'-');</code></p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
