“URL 友好标题”的好名字?
我正在创建一个包含文章的动态网站。 每篇文章都有一个标题,例如“一个人如何吃狗并与之共存?”,但也有一个我现在称之为“URL 友好标题”的标题,例如“吃狗”。
我正在寻找一个更好的词来形容“URL 友好标题”,因为它很拗口。 WordPress 称它们为“Post Slug”,但我太不喜欢这样了。 这些东西的好名字是什么?
I'm creating a dynamic website with articles. Each article has a title, like "How does one eat a dog and live with it?", but also something I'm now calling "URL Friendly Title", such as "eating-a-dog".
I'm looking for a better word for "URL Friendly Title", because it's quite a mouthful. Wordpress calls them "Post Slug" but I dislike that too much. What would be a good name for these things?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
我很遗憾地说“slug”似乎确实是标准术语。 这里有点词源上的术语,它似乎来自(oldschool,print)新闻业务。
I'm sorry to say that "slug" really does seem to be the standard term. Here is somewhat of an etymology on the term, it seems it comes from the (oldschool, print) news business.
您可以尝试不给它命名,而是展示它的使用方式。 这样的东西:
所以,你可以不用
You could attempt to not give it a name and instead show how it would be used. So instead of having something like this:
you could have
我要选择“标识符”
I'm going for "Identifier"
你可以有
自然名称=“一个人如何吃掉一只狗并与它一起生活?”
和
URL 名称 =“吃狗”
You could have
Natural Name = "How does one eat a dog and live with it?"
and
URL Name = "eating-a-dog"
“短名”怎么样?
在输入字段附近,最好通过举例说明短名称如何出现在 url 中来明确这是什么。
How about "short-name"?
Near the entry field it would be a good idea to make it clear what this is by giving an example of how the short-name would appear in a url.
我认为选择应该根据系统的最终用户类型来确定。 如果了解俚语的人会使用它,请使用 slug,它在许多 CMS 中使用。
如果该软件是为那些以编写文本为任务且不熟悉技术语言的人设计的,那么“slug”是一个糟糕的选择,因为它没有敲响该功能的含义。 人们只能通过阅读手册、询问其他人或(很可能)通过反复试验才能弄清楚这一点。
所以我的观点是,你应该选择一个能够表达该功能含义的名称,例如:
我也会考虑将“URL”更改为“链接”或“地址”,因为“URL”对于新手来说可能毫无意义。
无论您如何选择,您都应该:
这使人们能够了解该字段的用途,而无需提交文章然后观察发生了什么。
I think the choice should be determined by the type of end users of your system. If it will be used by people who know the slang, go for slug, it is used in many CMSes.
If the software is designed for someone whose mission is to write text, and who are not familiar with tech-speak - then "slug" is a poor choice, because it rings no bells about the meaning of the feature. One will only figure it out by reading the manual, by asking someone else, or (most likely) by trial and error.
So my point is that you should go for a name that expresses the meaning of the feature, ex:
I would also consider changing "URL" to "link" or "address", because "URL" could mean nothing to a newbie.
Regardless of your choice, you should:
This enables people to understand what this field is for, without submitting the article and then observing what happened.
我认为最好的方法是将其显示为
URL:site.com/article/_
如果 URL 的适当/描述性/SEO 友好确实很重要,您可以放置一个红色感叹号或者标签 URL 旁边引人注目的东西,当用户将鼠标悬停在它上面时,您可以弹出一个小气泡(例如),解释如何编写 slug(如果他们不使用适当的语言,甚至可能会发出警告) SEO 友好的 URL)。
i think the best would be to display it as
URL: site.com/article/_
And if it is really important that the URL is appropriate/descriptive/SEO Friendly, you can place a red exclamation mark or something eye-catching next to the label URL, when the user hovers over it you can have a little pop up speech bubble (for example) that explains how to write the slug (and maybe even a warning if they do not use an appropriate SEO friendly URL).
“SEO标题”怎么样?
How about "SEO Title"?
我称之为“友好的名字”。
I call it "Friendly Name".