Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (40 sloc) 1.848 kb

## Time-stamp: <2011-12-26 13:03:56 vk> ## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/

memacs-rss

Current status

Done, if you find any errors do not hesitate to contact us.

Data Source

RSS is a widely used standard to distribute updates and content over the internet.

Dependencies

This module uses the Python library feedparser which might be necessary to be installed before using this module.

When using Ubuntu GNU/Linux or any other Debian GNU/Linux based distribution you can install the package by invoking «apt-get install python-feedparser» as root user.

Automatic appending

the <guid> property of an <item> in rss becomes following:

:PROPERTIES:
...
:ID: <id>
... 
:END: 

At beginning, if an outputfile exists this memacs module looks for existing id’s. Only new items are then appended.

Example Invocation

rss from URL

memacs_rss.py -u "http://example.com/file.rss" -o "/home/user/orgmode/memacs/rss_foo.org_archive"

rss from file

memacs_rss.py -f "/path/to/file.rss" -o "/home/user/orgmode/memacs/rss_foo.org_archive"

example with twitter (replace <USERNAME> with twitter-name):

memacs_rss.py -u "http://twitter.com/statuses/user_timeline/<USERNAME>.rss" -o "/home/user/orgmode/memacs/twitter-<USERNAME>.org_archive"

Example Orgmode entries

** [[http://www.wikipedia.org/][link]]: Example entry    :tag:
  Here is some text containing an interesting description.
  :PROPERTIES:
  :LINK:    [[http://www.wikipedia.org/]]
  :CREATED: <2009-09-06 Sun 18:45>
  :ID:      unique string per item
  :SUMMARY: Here is some text containing an interesting description.
  :ID:      unique string per item
  :END:
Jump to Line
Something went wrong with that request. Please try again.