0
是否有可能通過在ZF1的routes.ini中設置的路由在xml中自動生成站點地圖?從routes.ini創建站點地圖?
我的路由設置像這樣的routes.ini
resources.router.routes.homepage.type = "Zend_Controller_Router_Route"
resources.router.routes.homepage.route = "/@lang/@home"
resources.router.routes.homepage.defaults.lang = "en"
resources.router.routes.homepage.defaults.module = "default"
resources.router.routes.homepage.defaults.controller = "index"
resources.router.routes.homepage.defaults.action = "index"
resources.router.routes.homepage.reqs.lang = "[a-z]{2}"
指示路線轉換,這將是額外的複雜化,但即使是自動創建非翻譯將是有益的站點地圖。