A TiddlyWeb plugin that provides an Atom feed of tiddler collections.
Project description
The tiddlywebplugins.atom packages provide serialization modules to
do a very simple Atom format syndication of collections of tiddlers
(including one tiddler, and filtered tiddlers).
One serialization provides support for the Atom format, another
extends the existing HTML serialization to provide <link> elements
referring to the Atom feeds.
Atom formatted output can be had by requesting the application/atom+xml
format, or by appending a .atom to the end of a URL (before the query
portion) that returns one or more tiddlers.
To use this code install the package and then add 'tiddlywebplugins.atom'
to system_plugins in the tiddlywebconfig.py of your instance:
config = {
'system_plugins': ['tiddlywebplugins.atom'],
}
If tiddlywebplugins.differ is on sys.path and a depth=<some number>
argument is supplied to the feed URL, then the resulting feed will be
the tiddlers requested presented as diffs between tiddler revisions. The
number of revisions shown is controlled by <some number>.
You can get tiddlywebplugins.differ from PyPI:
http://pypi.python.org/pypi/tiddlywebplugins.differ
The Atom code is borrowed from Django's django/utils/feedgenerator.py
* http://www.djangoproject.com/documentation/syndication_feeds/
* http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
Copyright 2010, Chris Dent <cdent@peermore.com>.
Licensed as TiddlyWeb itself.
do a very simple Atom format syndication of collections of tiddlers
(including one tiddler, and filtered tiddlers).
One serialization provides support for the Atom format, another
extends the existing HTML serialization to provide <link> elements
referring to the Atom feeds.
Atom formatted output can be had by requesting the application/atom+xml
format, or by appending a .atom to the end of a URL (before the query
portion) that returns one or more tiddlers.
To use this code install the package and then add 'tiddlywebplugins.atom'
to system_plugins in the tiddlywebconfig.py of your instance:
config = {
'system_plugins': ['tiddlywebplugins.atom'],
}
If tiddlywebplugins.differ is on sys.path and a depth=<some number>
argument is supplied to the feed URL, then the resulting feed will be
the tiddlers requested presented as diffs between tiddler revisions. The
number of revisions shown is controlled by <some number>.
You can get tiddlywebplugins.differ from PyPI:
http://pypi.python.org/pypi/tiddlywebplugins.differ
The Atom code is borrowed from Django's django/utils/feedgenerator.py
* http://www.djangoproject.com/documentation/syndication_feeds/
* http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
Copyright 2010, Chris Dent <cdent@peermore.com>.
Licensed as TiddlyWeb itself.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for tiddlywebplugins.atom-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a05d4a46f0a2175f28b0664f670b158604193840822f0a30c043519c535868 |
|
MD5 | 0e6ffaf8198a6b8a7732fa9b90a7f30f |
|
BLAKE2b-256 | dfe669f63f367c50b600d647f3fae83ab80fd68213b56eec3ab1787a449fef39 |