By damien (User), on Wed
Jan 10 01:30:42 2007: feedscroller.pl 0.0.1.
http://i10.tinypic.com/35kuyok.png
feedscroller - A simple, scrolling view of titles parsed from
XML/RSS feeds of your choosing.
Works well for torrent sites, I haven't tested it with
anything else but I'm
sure it'd work well for news, stocks or what-have-you.
(The first ever desklet to be written in perl.)
for now you can grab it here:
http://silenceisdefeat.org/~freeshoe/feedscroller-0.0.1.tar.gz
0.0.1
First release! As of yet there's not a separate config.txt as
I've yet
to learn how to implement that in perl. The majority of
things a
non-perl user would want to change are easily accessible in
the first
few lines of code.
REQUIRES XML::Feed available at
#
http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/XML-Feed-0.12.tar.gz
or
# apt-get libxml-feed-perl
or simply
# cpan -i XML::Feed
Thanks to Alessio Carenini, author of the newsfeed desklet
for the
inspiration and the theming images/code.
Lots of things I still want to do:
* Add/Remove feeds via right-click menu
* "Update Now" via menu
* "Browse To Title" by title number. It wouldn't be harder
than:
print "Enter Title #: "; chomp($_ = <STDIN>);
`firefox $links[$_]`;
as the two arrays match.
I'm no seasoned coder, so spare me the 'no skillz' flames
please.
Any authentic advice/interest can be directed at
Michael via visuallies_AT_nerdshack.com
or posted here.
By damien (User), on Thu
Jan 18 03:26:55 2007.
I did a quick update to this which adds the ability to click
on the links and open a browser window to that title. It's
hackish. It's the first thing I've ever 'released', so I'm
proud... :roll:
Thanks for your support and help Sylvain...I hope to polish
my perl a bit more and contribute again.
You can get the newer version here:
http://silenceisdefeat.org/~freeshoe/feedscroller-0.0.1f.tar.gz
By Szift (User), on Thu
Apr 19 12:33:51 2007.
Hi
Does anybody maybe have a copy of this desklet?
Because the original download page linked above seems dead..
By syfou (Core Developer
& Desklet Author), on Sat Apr 21 14:18:19 2007.
Does anybody maybe have a copy of this desklet?
Damien was so kind as to sent me
what he kept on his disk:
here it is. Yours,
By Szift (User), on Sun
Apr 22 05:24:15 2007.
Hi and thanks :)
I finally (the next day) did manage to connect to
silenceisdefeat.org and grab a copy, but thank You anyway
:)
and the desklet is great, it's almost what I was looking for
in the first place.
I'm tweaking it up right now to serve me exactly like I want
it, and I'll post my modified version here later, when it's
done.
My idea is to get an ondesktop rss reader working like this:
first mix all rss titles, sort them by date (if they don't
have an issued or modified field, then I give them the time
they were downloaded first) and display all together, with or
without scrolling. Then save them all into a xml file and
upon grabing an update, compare to what's been already
stored, and add only the new titles, with their set, or again
assigned date.
This way I can keep track with the most recent news from all
of my rss feeds :)
Also I've been thinking on displaying title summary
onMouseOver, but that will require me to learn some more
:)
btw. Perl is fun ;)
By syfou (Core Developer
& Desklet Author), on Sun Apr 22 11:02:31 2007.
Szift, I am looking forward for
your work.
By syfou (Core Developer
& Desklet Author), on Mon Apr 23 13:38:47 2007, last
edited on Tue Apr 24 09:00:06 2007.
Hi
Szift,
It was fast indeed! :-) I just tried the new desklet
resulting from your work; basic functionality is already
there (I especially appreciate to time you put to add proper
external configuration support by
the way). Here are a few things (most very mundane) I think
would benefit from your attention:
- The "custom" in adesklets'
realm is to give the main script inside the archive the
archive's base name (e.g. weather.py is the script driving the
weather desklet, from the weather-0.0.5.tar.bz2 archive). If
you'd like to rename the desklet "feedlet", that's
perfectly fine, as long as due credit is given to the
original author of feedscroller.
- README is not 80 columns
wide... That's a mild annoyance, as it badly screws the
formatting if for instance you read it from most real
TTY.
- Syntactically, in the default
config file, we should read "The rest IS explained
below".
- The default config file starts
with a "-*- coding: ASCII
-*-" line that has no meaning in this
context.
- That might be the only thing
that is not a mundane problem:
your handling of localization is based on modification of
the Perl adesklets module... This is just not right: you do
not want to impose installation of a new "Encode" module to
every adesklets user just because one desklet needs it (not
speaking of the added computational cost for systematic
translation). adesklets already supports text transcoding
internally using iconv. I wrote a small, independent
example to show you how it can be used in perl, as well as
a quick "pseudo patch" against your code to show you how it
applies in this case:
That will be all for now; I think things are already
looking good, and it shouldn't take a lot of additionnal work
before having something you could proudly submit for
inclusion on the official desklets page. ;-) Regards,
By Szift (User), on Mon
Apr 23 18:13:33 2007.
Great! Big thanks syfou for Your
advice and tips, I'll get on it first thing tommorrow and
aply them all.
Also a big thanks for the encoding patch, I did got to the
fact that it never-ever should work this way, but I had no
idea how to work around it, using only the desklet
script.
Also I'm intending to do an overload for the XML::Feed
`issued` method, so it will be also desklet specific, without
the requirement of changing anything else.
Get ready for feedscroller-0.0.3 - apart from the fixes -
I've got new features coming up :)