这就是微格式要处理的全部。
微格式包含什么样的数据?
对微格式内容使用JSON代表了数据一端。
Using JSON for microformat content represents the data approach.
相反,必须为每种微格式添加支持。
先来读取一个页面中的微格式。
考虑如何在页面中部署微格式。
您可以在不到五分钟内把微格式放在您的网站。
You can put a microformat on your website in less than five minutes.
就各种微格式而言,并不存在统一的数据模型。
微格式正是这样一种理念。
在此之前,先简要介绍一下微格式的优点和缺点。
But before that, let me talk a little about the pros and cons of microformats.
开始使用微格式非常简单。
微格式还在这些属性中添加了一点语义。
Microformats also add a little bit of semantics within those attributes.
查看容器微格式,以弄清拖放操作是怎样执行的。
See the container microformat to see how a drop target is represented and how the drag-and-drop operation can be performed.
因此,微格式一直在特定领域里收获有限的成功。
Microformats have been modestly successful within specific areas.
通过社区进程发布新的微格式也很困难。
It can also be difficult to get a new microformat published through the community process.
另一种微格式是事件列表。
现在,在您的网站上有一个基本的微格式!
Now that you’ve had your first experience with microformats, here are some next steps
这些轻量级标记语言缺乏对微格式的支持是可以理解的。
The lack of support for microformats in these lightweight markup languages is understandable.
对于文档方面,我们可以从结构化文本开始接近微格式。
For the document approach we can come at microformats from the structured text side.
清单3中的第一行加载微格式api,这是其他后续工作的基础。
The first line of Listing 3 loads the microformats API, which is needed for anything else to work.
微格式存在一个问题,即没有一种解析它们的通用方式。
One problem with microformats is that there isn't a generic way to parse them.
该方法的参数包括微格式名称、搜索的文档引用和可选的参数数组。
This method accepts a microformats name, a document reference to start the search from, and an optional array of parameters.
这篇文章旨在介绍微格式的适用范围,以及一些值得重点注意的地方。
This article looks to bring back some perspective of where microformats make sense and where something else is worth a hard look.
这是新标准乃至XML标准的一个很大的缺点,却是微格式的显著优点。
That's the big con of new standards — even XML standards — and the big plus of microformats.
XOXO就是一个很好的例子,它是一种用于表示概要的微格式。
A good example is XOXO, a microformat for expressing Outlines.
微格式的指导思想是尽可能重用已有的语义格式,特别是HTML。
The philosophy of microformats is to reuse existing semantic formats, especially HTML, as much as possible.
清单1展示了格式化为hcalendar微格式标准的一个事件。
Listing 1 shows an event formatted to the hCalendar microformat standard.
微格式宣称拥有的社区应该在微格式日行渐远的时候向大家发出警告。
The very community that microformats claim to embrace should serve as warning for when microformats go too far.
我们将分析这三种格式,至少从理论上看看它们如何处理微格式例子。
We'll check each of these out to see how they can handle our microformat example, at least in theory.
微格式可以在HTML 中使用现有标准(请参阅参考资料)表示元数据。
Microformats allow you to present metadata in your HTML using existing standards (see Resources).
应用推荐