Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 397 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
397
Dung lượng
11,99 MB
Nội dung
[...]... of RSS 57 RSS 0.91 4.2 57 ■ The elements of RSS 0.91 The RDF fork: RSS 1.0 61 The elements of RSS 1.0 1.0 with modules 63 4.3 59 62 The simple fork: RSS 2.0 Extending RSS ■ 65 The elements of RSS 2.0 65 Enclosures and podcasting 67 Extending RSS 2.0 67 ■ ■ 4.4 The nine incompatible versions of RSS 4.5 The new standard: Atom 68 70 Atom by example 70 Atom common constructs 71 The elements of Atom 73 Atom. .. Publishing with Atom 227 10.1 Why Atom? 228 Why not XML-RPC or SOAP? 10.2 How Atom protocol works 228 229 Discovery and collections 229 Atom protocol from the command line 230 Discovering Atom resources and services 231 Posting and updating blog entries 235 Posting and updating media files 238 ■ ■ ■ ■ 10.3 Building a blog client with Atom protocol 240 Atom does more 240 Expanding the blog client interfaces... www.manning.com/dmjohnson Code conventions We use the Courier font for Java, C#, and XML source code listings and for class names, constants, and other words used in code We use bold Courier in some listings to highlight important sections In longer listings, we use “cue balls,” such as b, to indicate lines of code that we discuss in notes to the listings Author Online Purchase of RSS and Atom in Action includes... what you need to know about Java (or C#), web development, and XML to get the most out of RSS and Atom in Action 3 4 CHAPTER 0 What you need to know first RSS and Atom in Action is a developer’s and IT innovator’s guide to developing applications with blog technologies, newsfeed syndication, and publishing protocols In this chapter, we’ll explain what that means and what you need to know to get the most... format define the acronym RSS in differ- ent ways Often used generically to describe newsfeeds in any format including Atom ■ Atom publishing format—The new Internet Engineering Task Force (IETF) standard newsfeed format that is likely to replace RSS in the coming years ■ XML -RPC—A simple web services protocol, and precursor to SOAP that is , the basis for most of today’s commonly used blogging APIs,... Implementing the File Depot in C# 193 Generating the File Depot newsfeed in C# 193 Serving the File Depot newsfeed with C# 196 8.6 Serving newsfeeds efficiently 197 Server-side caching 197 Web proxy caching 198 Client-side caching 199 Compression 199 Caching and compression in a Java web application 199 Caching and compression in a C# Web application 202 ■ ■ ■ ■ 8.7 9 Summary 205 Publishing with XML-RPC based... worked nights and weekends to create the open source Roller blog server, which is now used by thousands of bloggers at Sun, IBM, and JRoller.com About the title By combining introductions, overviews, and how-to examples, the In Action books are designed to help learning and remembering According to research in cognitive science, the things people remember are things they discover during self-motivated... Part 1 explains the fundamentals of blog technology, including blog and wiki server architecture, RSS and Atom newsfeed formats, the MetaWeblog API, and the Atom protocol Once we have the fundamentals out of the way, we focus on building applications Each chapter in part 2 is devoted to one immediately useful blog application You will find a more detailed roadmap and introduction to the book in chapter... publishing to and programming the Web Thus, XML -RPC, SOAP, and web services were born Now, thanks to the explosion of interest in blogging, podcasting, and wikis, those same developer-friendly blog technologies are everywhere Newsfeeds are a standard feature of not just blogs, but also of web sites, search engines, and wikis everywhere Computers, music players, and mobile devices are tied in, too,... of blogging is not entirely new Blogging is just another word for writing online What is new is the widespread adoption of blog technology—newsfeeds and publishing protocols—on the Web In the late 1990s, blog software and web portal developers needed standard data formats to make it easy to syndicate content on the Web Thus, RSS, Atom, and other XML newsfeed formats were born They needed standard protocols . class="bi x0 y0 w0 h0" alt="" RSS and Atom in Action RSS and Atom in Action WEB 2. 0 BUILDING BLOCKS DAVE JOHNSON MANNING Greenwich (74° w. long.) For online information and ordering of this and. Using the blog client library 22 4 9.6 Summary 22 5 10 Publishing with Atom 22 7 10. 1 Why Atom? 22 8 Why not XML-RPC or SOAP? 22 8 10 .2 How Atom protocol works 22 9 Discovery and collections 22 9. with Atom protocol 24 0 Atom does more 24 0 ■ Expanding the blog client interfaces 24 2 ■ Atom blog client implementation 24 4 Atom blog client in action 24 5 10. 4 Summary 24 6 PART 2 BLOG APPS 24 7 11