I use PyRSS2Gen in my GAE application.开发者_高级运维 How can I add attached file to the RSSItem?
Ok, here is the way to add it:
PyRSS2Gen.RSSItem(
enclosure = PyRSS2Gen.Enclosure(
"http://www.example.com/url",
17176948, # file size
"mime-type"))
加载中,请稍侯......
精彩评论