这些内容的结构是一种可以对blog所显示的外围信息进行定制的简单方法——blogroll、联系信息、搜索框、分类列表和RSS链接。
The block structure is an easy way to customize the peripheral information displayed by your blog — the blogroll, contact information, search box, categories list, and RSS links.
清单5显示了一个示例XQuery报告,这个报告处理链接的选择、分类和表示。
Listing 5 shows a sample XQuery report that handles selection of links, sorting, and presentation.
下面的例子显示了根据名称分类的类别链接,显示了每个类别的文章数目,并且从列表中删除了ID是10的类别。
The following example displays category links sorted by name, shows the number of posts for each category, and excludes the category with the ID of 10 from the list.
显示根据链接类别ID分类的链接。
显示所有的链接,每行显示一个链接,为链接使用图像,根据链接名分类,显示链接级别。
Displays all links one per line without descriptions, USES images for links, sorts by link name, and shows ratings.
在一个无序的列表上显示链接类别为“朋友”的链接,并且在下一行中显示描述,根据链接名称分类。
Displays links for link category "Friends" in an unordered list with descriptions on the next line, sorts by link name.
显示类别列表,并没有链接到所有的类别,而且是根据类别名分类的。
Displays the list of Categories, with not all Categories linked, and sorted by Category name.
在链接类别友情链接中列出所有链接,根据链接名称给链接分类,不显示描述,而且显示最后更新的时间。
List all links in the link Category Blogroll, order the links by name, don't show the description, and show last update timestamp.
在链接类别友情链接中列出所有链接,根据链接名称给链接分类,不显示描述,而且显示最后更新的时间。
List all links in the link Category Blogroll, order the links by name, don't show the description, and show last update timestamp.
应用推荐