summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-30 11:53:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-30 11:53:46 -0400
commit7cdc68a44b47ba767ed45b397554edf81bed7be0 (patch)
treeb32c7cdae4b22c5dc62930a03df42ef9ae68d78b
parent08e4a0a6a0671641b3a6bcd30740cf9f4b33c590 (diff)
comment
-rw-r--r--doc/forum/importfeed:_comments_in_file_with_feed_urls/comment_1_370f5165fdda5c01a5335c864321a348._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/importfeed:_comments_in_file_with_feed_urls/comment_1_370f5165fdda5c01a5335c864321a348._comment b/doc/forum/importfeed:_comments_in_file_with_feed_urls/comment_1_370f5165fdda5c01a5335c864321a348._comment
new file mode 100644
index 000000000..c4e243766
--- /dev/null
+++ b/doc/forum/importfeed:_comments_in_file_with_feed_urls/comment_1_370f5165fdda5c01a5335c864321a348._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-05-30T15:49:41Z"
+ content="""
+Well, this seems to work:
+
+ git annex importfeed --fast http://www.starshipsofa.com/feed/#award-winning-science-fiction-podcast
+
+But that limits you to url formatted comments. Instead, you could make
+the list of feeds into a shell script.
+
+ #!/bin/sh
+ # award winning science fiction podcast
+ git annex importfeed http://www.starshipsofa.com/feed/
+
+Or, you could strip out comments from the list of feeds before passing it to
+git-annex:
+
+ sed 's/#.*//' feeds | xargs git-annex importfeed
+
+How you do it is really up to you..
+"""]]