Puppy has a news ticker

What features/apps/bugfixes needed in a future Puppy
Message
Author
User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

Puppy has a news ticker

#1 Post by klhrevolutionist »

go to extra dotpups to download bbcticker.pup
Last edited by klhrevolutionist on Thu 18 Aug 2005, 20:09, edited 3 times in total.
Heaven is on the way, until then let's get the truth out!

User avatar
Walt H
Posts: 217
Joined: Thu 02 Jun 2005, 02:07
Location: citizen of the world
Contact:

#2 Post by Walt H »

There is a slightly newer version available at http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml (0.6.0pre1). Here is the description from the website, if it helps anyone figure out how to configure this application:
Ticker.app is a ticker dockapp based on wmticker written by Jiro SEKIBA. It reads a file that is specified by the command line, and displays each line in a viewing area periodically. When the file has been modified, it was reread automatically. If you run in a tail-mode, Ticker.app ticks only the last line. Another area to display is a popup window that may be opened by clicking the up arrow button. You can skip to next line by clicking the right allow button, and controll the viewing area by dragging the horizontal scrollbar or the mouse wheel.
The wmticker site itself, by the way, no longer appears to be active.

I, too, would be interested in some sort of news ticker or simplified RSS reader. (Yes, I know Opera can do this with its newsreader, but I kind of want to keep the two separate. If anyone has ever seen or tried the BBC news ticker, that's kind of what I've been looking for, except configurable to add other feeds. Feather Linux had set up Dillo to work as an RSS newsfeed reader (links to the headlines, which you could then click on to read more) to which additional sites could be added. Maybe an idea?
Walt

Now that you point it out to me, the answer seems painfully obvious.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

This might be the easiest way to do an RSS feed . . .

http://www.google.com/ig
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

i looked (briefly) at the gkgrellm ticker ... it needs curl (a file download program, like wget) to work

User avatar
Walt H
Posts: 217
Joined: Thu 02 Jun 2005, 02:07
Location: citizen of the world
Contact:

#5 Post by Walt H »

Lobster wrote:This might be the easiest way to do an RSS feed . . .

http://www.google.com/ig
Probably so, and it's worth a look. But I'm looking more for something I can keep open at the bottom or the top of a desktop and glance at while I'm doing other things, something that doesn't take up much space, like kticker (or is it knewsticker?) if such a thing can easily be added or incorporated into Puppy.
Walt

Now that you point it out to me, the answer seems painfully obvious.

Rich
Posts: 278
Joined: Wed 04 May 2005, 19:00
Location: Middlesbrough - UK

#6 Post by Rich »

Looking at the install files for the Ticker ( the one in the first post ), you need a C compiler installed for it. ( so that rules me out straight away ).

Also it won't run on older X versions ( X11R5 or less ), so the version of Puppy that you are running could also be causing the problem.

That's about as far as I can really go with this one. :?

Rich
Posts: 278
Joined: Wed 04 May 2005, 19:00
Location: Middlesbrough - UK

#7 Post by Rich »

However, it would be a damn fine project to write using tcl though.

A quick google came up with this

http://www.tcl.tk/software/plugin/ticker.html

It's certainly somewhere to start.
I don't pretend to know exactly what a news ticker is supposed to actually do - apart from talk away in the corner of the screen though. Maybe someone could enlighten me as to what's actually required from one.


Rich

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

brilliant

#8 Post by klhrevolutionist »

That is awesome rich, but how can we make it tick news???
maybe insert a web address into it that does ticking such as government controlled cnn??? I don't know but will see!!!
Heaven is on the way, until then let's get the truth out!

Guest

#9 Post by Guest »

The real problem with a news ticker is not writing one, it's where to get the info for it to put up on your screen. Find a free news feed and there will be more tickers than you can shake a stick at.

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

well

#10 Post by klhrevolutionist »

Just one more thought!

ok, take for instance Guest Too's Radio.pup
instead of playing music could we make it tick news???
would it be hard to tweak your script Guest Too??
I mean instead of streaming radio, it could put up a box with news feeds.
Instead of having options to what kinda music one wants to listen to
they would have an option of what kinda news they want to see
ticking.
Or one can already change the radio so that it listen to what they want,
so instead of news feed they can have radio news!!



I would like a news feeder though, radio is good but it does get annoying
they talk about some of the dumbest things, makes me wonder if people know they have been programmed to do what the the mind control machine
wants them to, am I programmed to write this???
Makes one wonder,
Heaven is on the way, until then let's get the truth out!

User avatar
Walt H
Posts: 217
Joined: Thu 02 Jun 2005, 02:07
Location: citizen of the world
Contact:

#11 Post by Walt H »

If I'm not mistaken, there are plenty of free news feeds out there, or KDE's news ticker would not exist (including BBC News). When I used KDE, I was able to add feeds as I recall. Wouldn't RSS feeds work with such an application?
Walt

Now that you point it out to me, the answer seems painfully obvious.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#12 Post by edoc »

Walt H wrote:If I'm not mistaken, there are plenty of free news feeds out there, or KDE's news ticker would not exist (including BBC News). When I used KDE, I was able to add feeds as I recall. Wouldn't RSS feeds work with such an application?
Most well constructed blogs have embedded news tickers via RSS, Atom, and one older format.

Take a look at hughhewitt.com where I believe he has several.

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

Re: well

#13 Post by Flash »

klhrevolutionist wrote:"...radio is good but it does get annoying
they talk about some of the dumbest things, makes me wonder if people know they have been programmed to do what the the mind control machine
wants them to, am I programmed to write this???"
Makes one wonder,
Can't you pick up an NPR station? :lol:

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: well

#14 Post by edoc »

Flash wrote:
klhrevolutionist wrote:"...radio is good but it does get annoying
they talk about some of the dumbest things, makes me wonder if people know they have been programmed to do what the the mind control machine
wants them to, am I programmed to write this???"
Makes one wonder,
Can't you pick up an NPR station? :lol:
I thought he was referring to NPR ... :roll:

I tried to insert several different streams for Hugh Hewitt, a thoughtful talk show host, but none are recognized by the Internet Radio Demo, in fact the Demo has stopped working at all. Something must have been broken when I installed MPlayer and the MPlayer and Xmms buttons. Sigh.

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Walt H
Posts: 217
Joined: Thu 02 Jun 2005, 02:07
Location: citizen of the world
Contact:

#15 Post by Walt H »

My search efforts for a news ticker application (now several hours and counting) have turned up nothing suitable for Puppy as yet. However, there are a few news/RSS feed aggregators that may be a decent fit or could be made to fit. Three are text/console-based; Three are GUI-based. They are ranked in order of what appears to be ease of installation for Puppy users.

1) Snownews - http://kiza.kcore.de/software/snownews/ Offers a binary package for download that supposedly has no additional dependencies. Source code is also available. Binary is 735K download, source is 158K. [console-based]

2) gfeed - http://sourceforge.net/projects/gfeed Requires libxml 2.6 or greater (I believe Puppy has 2.5). Application appears to be GUI-based with a look reminiscient of a console-based app. The application itself is a 176K download and must be compiled as far as I can tell.

3) TT-news - http://www.ipd.bth.se/ska/sim_home/ttnews.html Text-based (I think) application that uses lynx by default but can use other methods according to the website. TT-news is skinnable to give it a more polished look. Application requires QT, and the website has special instructions for compiling it to work under QT3. The last version of this application came out several years ago.

4) Olive - http://mdxi.collapsar.net/hacks/olive/ Console mode RSS aggregator/news reader. Application seems to have fairly detail documentation, a real plus compared to numbers 2 and 3. The application also includes a script for downloading any missing dependencies that appear when running 'make'. However, this may be a bit much for Puppy users; among other things, it apparently requires SQLite.

5) NewsFeed - http://home.arcor.de/mdoege/newsfeed/ Written in Python/Tk. This is a GUI-based aggregator/news reader. The main page states that the only dependency is Tk. However, elsewhere in the documentation, it is stated that Python 2.3 and Tkinter are also required. The application itself is only an 88K download.

6) Raggle - http://www.raggle.org/ Raggle is console-based but has more of a traditional newsreader feel to it. It also has a number of dependencies: Ruby, version 1.6.8 (or newer); REXML, version 2.4.0 (included in Ruby 1.8); NCurses-Ruby, version 0.7.1 (or newer); YAML support (included in Ruby 1.8); YAML-Ruby, version 0.49.1 (or newer); and Syck, version 0.35 (included in Ruby 1.8). Documentation for this application was extremely hard to find and required a separate Google search in order to find it.

In addition, it appears there was at one time, an unofficial effort to port the BBC News Ticker to Linux, but that appears to have been abandoned. There was also a newsticker project called Tknews that never appears to have gotten off the ground. But it does make me wonder whether something like stockwatch http://wiki.tcl.tk/11000 (includes script code), TclTicker http://www.nyx.net/~tpoindex/tcl.html#Tclticker, or TclStock http://mini.net/tcl/3517, written to track stock quotes, or TkWeatherhttp://oplnk.net/~ajackson/software/ (self-explanatory, I think) could be changed a bit by someone with TCL/Tk experience to become a small-footprint news ticker application. Just a thought (or two).

UPDATE: I tried the SnowNews binary and had no success. NewsFeed also did not work (didn't really expect it to). It appears any of these would have to be turned into a dotpup in order to work in Puppy. The first three applications listed might seem to be the most likely candidates. Anyone up to it?
Last edited by Walt H on Tue 23 Aug 2005, 06:05, edited 1 time in total.
Walt

Now that you point it out to me, the answer seems painfully obvious.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#16 Post by puppian »

Take a look at this site:

http://packages.debian.org/cgi-bin/sear ... elease=all

I guess what you need would be 'Package scripts4ticker' (Small scripts to download headlines for use by ticker.app) and 'Package ticker.app'. I downloaded them and have downloaded the headlines from freshmeat.net (just type ./freshmeat.sh) but I don't know what it says in the readme of scripts4ticker:
-----------------------------------------------------
These are the small scripts to download the headlines of the web page into a
file.

- freshmeat.sh
For http://freshmeat.net. Output file is : ~/.freshmeat

e.g.)

1. Edit crontab.

$ contab -e

2. Add entry as below.

0 * * * * /home/seiichi/bin/freshmeat.sh > /dev/null 2>&1

3. Run Ticker.app with "-f, --file" option.

ticker.app -f ~/.freshmeat
-----------------------------------------------------
What's 'crontab' and where should I add that '0 * * *...' entry? It must be something very simple that I don't know...
:oops:
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#17 Post by puppian »

Just discovered that it's working even without editing the 'crontab...' (I still don't know what it is...) I don't know it's working as I don't have Icedock enabled on startup (I use icewm). Once I start Icedock it seems to work!

Put ticker.app, freshmeat.sh and slashdot.sh in the same directory
In that directory type in the shell:

./freshmeat.sh
./ticker.app -f /root/.freshmeat -fn -*-*-bold-r-normal-*-14-*,*

Look nice...would anyone edit the script so that we can have more news?
:D
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

wow

#18 Post by klhrevolutionist »

WOW!!!
I am amazed at the responses that have resulted from this post, and the effort
that you pups have given. I will have to look into a lot of these, Walt H.
I think tweaking one of those tk/tcl applications would be the best way to go.
Reason, all it requires is tk/tcl!!!

Puppian I have got it working, but it displays no news, it just scrolls
ticker.app version 0.5.0
nothing more nothing less???
were you able to get news???

maybe G2 or somebody will help us out??
as it seems this is now a reality, for puppy!!!

Also, who was the guest that posted if you find free news feed you have more news ticker than you can shake a stick at????
Last edited by klhrevolutionist on Thu 18 Aug 2005, 17:39, edited 1 time in total.
Heaven is on the way, until then let's get the truth out!

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#19 Post by puppian »

I think you got to edit freashmeat.sh, something that I'm not good at
:(
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

bbc

#20 Post by klhrevolutionist »

I checked into the bbc ticker and it works great!!!
It sits on top of my browser and does'nt get in the way or nothing!!!
I wonder why people say it's not complete?
It is just like kticker

oh, man you all gotta try this I will try making a dotpup later,
but hope someone else does you all know why!!!

it is not a part of my browser, it just sits at the top of my browser, any browser can be used, I have not seen how to add more feeds to it, but BBC
does a pretty good job on this one, maybe we can tweak it???
I dunno but I suggest you try it!!!

I will be messing with it so we will see!!
Last edited by klhrevolutionist on Thu 18 Aug 2005, 19:20, edited 1 time in total.
Heaven is on the way, until then let's get the truth out!

Post Reply