Browse Source

doc rss2cmd

boyska 4 years ago
parent
commit
9d8b1825a1
1 changed files with 12 additions and 0 deletions
  1. 12 0
      README.md

+ 12 - 0
README.md

@@ -35,3 +35,15 @@ Application Options:
 - refresh interval defines how often RSS feed will be checked and restricts the minimal time interval between two tweets. 
 - values for `refresh` and `timeout` should be presented with units "d" (days), "h" (hours), "m" (minutes) os "s" (seconds)
 - `dry` disables publishing to twitter and sends updates to logger only
+
+# rss2cmd
+
+getting the core out of `rss2twitter`, I created rss2cmd. It's a simple program that monitors a RSS feed but,
+instead of pushing to twitter, calls the command you tell it to.
+
+Typical usage:
+
+    rss2cmd -f http://mysite.com/feed.xml -- ./myscript --blah
+
+my script will receive post data in the form of environment variables. Every metadata, except the body, is
+passed like that. The body, instead, is passed via stdin.