Login
or
register
Overview
Introduction
Features
Credits
License
This Wiki
Status
News
Releases
Change Log
Recent Wiki Edits
User Guide
Installation
Command Line
Using as a Module
Integration
Reporting Bugs
Advanced
Mailing List
Source Code
Test Suite
Extensions
Extensions
Writing Extensions
Available Extensions
Related Projects
RSS
Anonymous users must enter
captcha
below.
Don't put anything here
Don't put anything here
Page Parameters
Page Name (for URL)
Page Title
Don't put anything here
Don't put anything here
Show Advanced Options
Category
Prototype
Page Content
###Summary An extension to Python-Markdown that outputs a markdown document as RSS. This extension has been included with Python-Markdown since 1.7 and should be available to anyone who has a typical install of Python-Markdown. ###Usage From the Python interpreter: >>> import markdown >>> text = "Some markdown document." >>> rss = markdown.markdown(text, ['rss']) To use with other extensions, just add them to the list, like this: >>> rss = markdown.markdown(text, ['rss', 'footnotes']) The RSS extension can also be called from the command line using Markdown's `-x` parameter, like so: python markdown.py -x rss source.txt > output.rss ###Configuring the Output An RSS document includes some data about the document (URI, author, title) that will likely need to be configured for your needs. Therefore, three configuration options are available: * **URL** : The Main URL for the document. * **CREATOR** : The Feed creator's name. * **TITLE** : The title for the feed. An example: >>> rss = markdown.markdown(text, extensions = \ ... ['rss(URL=http://example.com,CREATOR=JOHN DOE,TITLE=My Document)'] ... )
About this Edit
Minor Edit
Edit Summary
Don't put anything here
Don't put anything here
Powered by
Sputnik
|
XHTML 1.1