TAILIEUCHUNG - Pro PHP XML and Web Services phần 7

Một điểm tôi muốn đề cập đến, mặc dù, mối quan tâm bằng cách sử dụng các tờ khai không gian tên trống rỗng. Trong một tài liệu, bạn có thể sử dụng chúng để chỉ ra rằng một phần tử không trong không gian tên bất kỳ. Thông thường, tuy nhiên, điều này được sử dụng chỉ khi trong một không gian tên mặc định | 548 CHAPTER 14 CONTENT SYNDICATION RSS AND ATOM Table 14-6. Continued Element Use Description author Recommended A Person construct providing information about the author of a feed. A feed element must contain one or more author elements unless every entry element contains at least one author element. link Recommended A link as defined in the Common Constructs section to a related Web page. category Optional Associates a category as defined in the Common Constructs section with the feed. A feed can have zero or more category elements. contributor Optional A Person construct providing information for a contributor to the feed. You can use zero or more contributor elements. generator Optional Identifies the agent used to create the feed. icon Optional Identifies a small image by means of a URL for the feed. logo Optional Identifies a larger image by means of a URL for the feed. rights Optional A Text construct containing any rights such as copyrights for the feed. subtitle Optional A Text construct containing a description or subtitle for the feed. A document using the metadata elements from Table 14-6 could look something like the one in Listing 14-4. Listing 14-4. Sample Atom Feed Document Using Optional Elements xml version encoding UTF-8 feed xmlns http 2005 Atom title Example Feed title id http id updated 2005-10-02T15 15 00Z updated author name John Smith name author author name Jane Doe name author link rel self href atom category term technology category term PHP contributor name John Doe name contributor generator uri version Example PHP Atom Generator generator CHAPTER 14 CONTENT SYNDICATION RSS AND ATOM 549 icon http icon logo http logo rights copy 2005 John Smith rights subtitle Description of Example Atom Feed subtitle -- Zero or more entry elements -- feed entry Element Atom does not require a feed to contain any entry elements which is similar to

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.