mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
* lib/rss/content.rb, lib/rss/content/1.0.rb, lib/rss/content/2.0.rb, lib/rss/maker/content.rb, test/rss/rss-testcase.rb, test/rss/test_content.rb, test/rss/test_maker_content.rb: supported content:encoded with RSS 2.0. Suggested by Sam Lown. Thanks. * NEWS: added the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a57d0b0926
								
							
						
					
					
						commit
						d731c29b06
					
				
					 11 changed files with 113 additions and 52 deletions
				
			
		
							
								
								
									
										10
									
								
								lib/rss/content/1.0.rb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								lib/rss/content/1.0.rb
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
require 'rss/1.0'
 | 
			
		||||
require 'rss/content'
 | 
			
		||||
 | 
			
		||||
module RSS
 | 
			
		||||
  RDF.install_ns(CONTENT_PREFIX, CONTENT_URI)
 | 
			
		||||
 | 
			
		||||
  class RDF
 | 
			
		||||
    class Item; include ContentModel; end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
							
								
								
									
										12
									
								
								lib/rss/content/2.0.rb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								lib/rss/content/2.0.rb
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
require "rss/2.0"
 | 
			
		||||
require "rss/content"
 | 
			
		||||
 | 
			
		||||
module RSS
 | 
			
		||||
  Rss.install_ns(CONTENT_PREFIX, CONTENT_URI)
 | 
			
		||||
 | 
			
		||||
  class Rss
 | 
			
		||||
    class Channel
 | 
			
		||||
      class Item; include ContentModel; end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue