TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RouteMap, a new open source client/server-side JavaScript URL Mapping Library

19 点作者 KirkWylie大约 14 年前

3 条评论

luigi大约 14 年前
One thing to make clear: simply using #! does not make your app crawlable. Your server-side app needs to also handle URLs that contain _escaped_fragment_, per Google's specification:<p><a href="http://code.google.com/web/ajaxcrawling/docs/getting-started.html" rel="nofollow">http://code.google.com/web/ajaxcrawling/docs/getting-started...</a>
评论 #2432864 未加载
vmind大约 14 年前
Would it be possible to use pushState as the main mechanism on the client, and use a #! as a fallback? You would end up with two different possible URLs, but if the same library handles the calls then it would be fairly straightforward to move from one to the other.
评论 #2432705 未加载
rbranson大约 14 年前
Not to be overly pedantic, but a piece of core functionality like this seems like it would really need some basic automated tests, even if they were just running the API through it's paces.<p>The thorough documentation is awesome though!
评论 #2433179 未加载