[evolution-rss] add utility scripts



commit 89798a0513cb280b9d47b204082dc06882e1296e
Author: Lucian Langa <lucilanga gnome org>
Date:   Thu May 26 23:06:27 2011 +0300

    add utility scripts

 scripts/evo-get-accounts.sh |    8 ++++++++
 scripts/rss-get-feeds.sh    |    7 +++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/scripts/evo-get-accounts.sh b/scripts/evo-get-accounts.sh
new file mode 100755
index 0000000..8fc92e0
--- /dev/null
+++ b/scripts/evo-get-accounts.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+XMLFEEDS=`gconftool-2 -g /apps/evolution/mail/accounts`
+for i in $XMLFEEDS; do
+	echo $i
+#|grep -o -e "<url>.*</url>"|sed -e "s;<url>;;" -e "s;</url>;;"
+done
+
diff --git a/scripts/rss-get-feeds.sh b/scripts/rss-get-feeds.sh
new file mode 100755
index 0000000..d70d9d7
--- /dev/null
+++ b/scripts/rss-get-feeds.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+XMLFEEDS=`gconftool-2 -g /apps/evolution/evolution-rss/feeds`
+for i in $XMLFEEDS; do
+	echo $i|grep -o -e "<url>.*</url>"|sed -e "s;<url>;;" -e "s;</url>;;"
+done
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]