feeds: add .torss()
This commit is contained in:
		@@ -138,6 +138,9 @@ class ParserBase(object):
 | 
				
			|||||||
        # to output in sth fancy (json, csv, html), change class type
 | 
					        # to output in sth fancy (json, csv, html), change class type
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def torss(self):
 | 
				
			||||||
 | 
					        return self.convert(FeedXML).tostring()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def tojson(self):
 | 
					    def tojson(self):
 | 
				
			||||||
        return self.convert(FeedJSON).tostring()
 | 
					        return self.convert(FeedJSON).tostring()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user