Skip to main content
A TiddlyWeb plugin that allows you to import rss feeds to bags through a twanager command
To use just add "tiddlywebplugins.imrss" to your twanager_plugins

Each item in an rss feed is mapped to a tiddler by the following rules

title:
guid / id attribute (preferred)
OR url with ":","/" and "." replaced with "_" character
text:
The text by default is saved as a link <html><p><b><a href='{{rss link}}'>{{rss title}}</a><br>{{rss description}} </p></html>
geo.long and geo.lat:
if geo data is present, the longitude and latitude will be matched to these feeds (works with <georss:point> and <georss:where>)
modifier:
the author of the rss item
modified:
the date field is used if present if not then the current date on time of command is taken

You can also create customisations by providing a handler. For example:

1) add to tiddlywebconfig
"imrss":{"module": "my_module"}
2) create a module my_module.py, inside which paste
def generic_handler(url,tiddler,feed_entry,feed=False,host=""):
tiddler.text = "foo"
return tiddler
3) run twanager imrss http://rssurl foo

The result will be tiddlers in foo from the rss feed, all with "foo" as the text. Obviously this example is rubbish but hopefully it gives you a starting point to explore further customisations.

This package is licensed under the same terms as TiddlyWeb itself.

Metadata

Release files for tiddlywebplugins.imrss 0.921

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiddlywebplugins.imrss 0.921
File Size Uploaded
tiddlywebplugins.imrss-0.921.tar.gz 7.0 kB Details

Release files / tiddlywebplugins.imrss-0.921.tar.gz

Download URL tiddlywebplugins.imrss-0.921.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2984623875b4abb8dc36a90cc6cbb1aecc6e9f3b1c8a968423d1424a752d8866
BLAKE2b-256 checksum
How to use checksums
e948946da1eb1d7ad90900b10a77fa2904354e218c8d884c160a9383035e498f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.921 This release

1 release file

0.92

1 release file

0.9.3

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page