Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
A RSS feed aggregator in zsh/curses (almost)
- X-seq: zsh-users 14360
- From: Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: A RSS feed aggregator in zsh/curses (almost)
- Date: Thu, 10 Sep 2009 15:16:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=rr5JJM2c1dg2z31+FrwW1/e9sqaMjMeoAIrHD4uO4zU=; b=WnM3Qsa8YOVBJdIM7kETe4Pacit33khNnhpumpo/R6etattk/8oIX/DG35R2RUX+gi ZZC8pvdquB9ONYYt7Pifb49XwkUkb+0SBYrbrVMGOk1WW3WwUH4faO6l3PrnF8jpii6M d6co5RDFwvzwkGZK5KQnRXpCdELhLgxOxYnLU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EQ79KgYVmOt5rrwcUacdEouVwZ2Ip0rlgOmlFMbPOo57aVQB7qePXjhhMpjx+8bNLa Fv64uGbdb6+6EkNGHpTbmeKBBSCBFTC/4ei0wYe45qY6o/WeP6S7CCuQ7sLwSWNt15ZZ ztcaFRguquHEDV27gHQmgtuhQAeAC/SC78CqI=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi all,
just a mail to present feedz, it is a feed aggregator (RSS and ATOM)
in zsh using zsh/curses for it's UI.
The XML is parsed using xmlstarlet (please export XML_CMD var if the
xmlstarlet binary on your system isn't "xml" - on linux it use to be
xmlstarlet)
The feeds are fetched using FETCH_CMD which by default uses fetch(1)
the feeebsd's downloader, export FETCH_CMD="wget -q -O- -o /dev/null"
should work on linux.
the html from the feeds are dumped to using the HTML_DUMP_CMD which by
default is "elinks -dump" not sur it will work with something else but
you could try and report bugs :)
nothing else is required
the configuration file is the following : ~/.feedz/feed.conf and the
syntaxe is :
name|url
for following commands works in the curses interface :
q: quit the interface
u: update (refetch the feedz)
entrer: on the title window will open the content of the feed in the
content window
arrows: on both title window and content window will allow you to
navigate left,right,bottom,top to see the contents
hjkl: will navigate as if you uses the arrows
t: will focus on the title window if you are on the content window
c: will focus back on the content window
o: will open the feed your are viewing (ie open in the content window)
in a web browser (you can define your favorite one with the BROWSER
variable, or let it try to find one of thoses :
(*firefox*|konqueror*|arora|midori|*elinks*|*lynx*|*links*|*w3m*) )
it has been written only to test what can be done with zsh/curses I
know some people in the mailing list were interesting in that kind of
zsh/curses examples.
The code is not yet consistent (written fast and ugly :)) some time
for bla (bla) {} sometime for bla (bla);do done etc.
I will cleanup it a bit when I'll have time.
you can find feedz here : http://github.com/bapt/stuffz/tree/master
for a screenshot : http://www.etoilebsd.net/~bapt/feedz.png
PS: I could be a lot improved easily :
regards,
Bapt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author