* contrib/atom.cgi: New file.
authorbg66 <bg66>
Thu, 15 Mar 2007 06:17:54 +0000 (06:17 +0000)
committerbg66 <bg66>
Thu, 15 Mar 2007 06:17:54 +0000 (06:17 +0000)
* contrib/atom.sh: Ditto.

ChangeLog
contrib/atom.cgi [new file with mode: 0644]
contrib/atom.sh [new file with mode: 0644]

index 4b13e9e..f3641b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-15  OHASHI Akira  <bg66@koka-in.org>
+
+       * contrib/atom.cgi: New file.
+       * contrib/atom.sh: Ditto.
+
 2007-03-14  OHASHI Akira  <bg66@koka-in.org>
 
        * mixi-atom.el (mixi-make-atom): Use `concat' instead of `insert'.
diff --git a/contrib/atom.cgi b/contrib/atom.cgi
new file mode 100644 (file)
index 0000000..75cba51
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+EMACS=emacs
+FLAGS="-batch -q -no-site-file"
+ARGS="-l mixi-atom -f mixi-atom-cgi"
+
+while read line
+do
+  LISP="${LISP} ${line}"
+done <<EOF
+(setq mixi-backend 'url)
+(setq mixi-atom-title "[mixi] New BBSes")
+(setq mixi-atom-syndication-list '((mixi-get-new-bbses . 10)))
+EOF
+
+${EMACS} ${FLAGS} -eval "(progn ${LISP})" ${ARGS} 2> /dev/null
diff --git a/contrib/atom.sh b/contrib/atom.sh
new file mode 100644 (file)
index 0000000..cfbe98e
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+EMACS=emacs
+FLAGS="-batch -q -no-site-file"
+ARGS="-l mixi-atom -f mixi-atom-file"
+
+while read line
+do
+  LISP="${LISP} ${line}"
+done <<EOF
+(setq mixi-backend 'url)
+(setq mixi-atom-file "~/Sites/atom.xml")
+(setq mixi-atom-title "[mixi] New BBSes")
+(setq mixi-atom-syndication-list '((mixi-get-new-bbses . 10)))
+EOF
+
+${EMACS} ${FLAGS} -eval "(progn ${LISP})" ${ARGS} 2> /dev/null