<?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: Custom Routes with Zend_Controller_Router_Route</title>
	<atom:link href="/2010/04/20/custom-routes-with-zend_controller_router_route/feed/" rel="self" type="application/rss+xml" />
	<link>/2010/04/20/custom-routes-with-zend_controller_router_route/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: John</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-18689</link>
		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Sun, 19 May 2013 11:04:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-18689</guid>
		<description><![CDATA[What rewrite rule in the .htaccess file I shoul use.]]></description>
		<content:encoded><![CDATA[<p>What rewrite rule in the .htaccess file I shoul use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: v0id</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-16657</link>
		<dc:creator><![CDATA[v0id]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 20:56:24 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-16657</guid>
		<description><![CDATA[This example is very fine.
Thank you.]]></description>
		<content:encoded><![CDATA[<p>This example is very fine.<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoimen</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-14522</link>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
		<pubDate>Thu, 27 Oct 2011 12:37:59 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-14522</guid>
		<description><![CDATA[@Praveen - yes you can put it there!]]></description>
		<content:encoded><![CDATA[<p>@Praveen &#8211; yes you can put it there!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-14521</link>
		<dc:creator><![CDATA[Praveen]]></dc:creator>
		<pubDate>Thu, 27 Oct 2011 12:33:25 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-14521</guid>
		<description><![CDATA[Where to update this 
&lt;pre lang=&quot;PHP&quot; escape=&quot;true&quot;&gt;
$frontController-&#062;addRoute(&quot;my-route&quot;, new Zend_Controller_Router_Route(&quot;/:id&quot;,
    array(&quot;controller&quot; =&#062; &quot;index&quot;, &quot;action&quot; =&#062; &quot;index&quot;, &#039;id&#039; =&#062; 1),
    array(&#039;id&#039; =&#062; &#039;\d+&#039;)));
&lt;/pre&gt;
Code in Bootstrap.php?]]></description>
		<content:encoded><![CDATA[<p>Where to update this </p>
<pre lang="PHP" escape="true">
$frontController-&gt;addRoute("my-route", new Zend_Controller_Router_Route("/:id",
    array("controller" =&gt; "index", "action" =&gt; "index", 'id' =&gt; 1),
    array('id' =&gt; '\d+')));
</pre>
<p>Code in Bootstrap.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binh</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-14229</link>
		<dc:creator><![CDATA[Binh]]></dc:creator>
		<pubDate>Sun, 27 Mar 2011 01:44:50 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-14229</guid>
		<description><![CDATA[I have a question about zend router
Now i write a multi language site using zend, and my site have multiple controller such as: news, products
i want set router
 for url rewrite like that:
example: when user browse my website in english, and he click on the link washing machine to view a product that have id=14, title=&quot;washing machine&quot; in  then the url will become:
localhost:8089/test/en/products/index/14-washing-machine.html

when user browse my website in Italia, and he click on the link washing machine to view a product that have id=15, title=&quot;lavatrice&quot; in  then the url will become:
localhost:8089/test/it/products/index/15-lavatrice.html

In the products i will get the lang, id parameters and get the suitable content to display to user.

Similar with news controller
How do i implement the router for my controller such as products, news

Could you help me]]></description>
		<content:encoded><![CDATA[<p>I have a question about zend router<br />
Now i write a multi language site using zend, and my site have multiple controller such as: news, products<br />
i want set router<br />
 for url rewrite like that:<br />
example: when user browse my website in english, and he click on the link washing machine to view a product that have id=14, title=&#8221;washing machine&#8221; in  then the url will become:<br />
localhost:8089/test/en/products/index/14-washing-machine.html</p>
<p>when user browse my website in Italia, and he click on the link washing machine to view a product that have id=15, title=&#8221;lavatrice&#8221; in  then the url will become:<br />
localhost:8089/test/it/products/index/15-lavatrice.html</p>
<p>In the products i will get the lang, id parameters and get the suitable content to display to user.</p>
<p>Similar with news controller<br />
How do i implement the router for my controller such as products, news</p>
<p>Could you help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo Gregorio</title>
		<link>/2010/04/20/custom-routes-with-zend_controller_router_route/comment-page-1/#comment-14149</link>
		<dc:creator><![CDATA[Rodrigo Gregorio]]></dc:creator>
		<pubDate>Tue, 11 Jan 2011 15:44:09 +0000</pubDate>
		<guid isPermaLink="false">/?p=1458#comment-14149</guid>
		<description><![CDATA[very nice type]]></description>
		<content:encoded><![CDATA[<p>very nice type</p>
]]></content:encoded>
	</item>
</channel>
</rss>
