NetNewsTicker

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

7
Score 55.0%
Description:

Please note: This page is deprecated. Please visit http://www.NetNewsTicker.org for all the lastest downloads and infos.

A while ago i wrote a news-scrolling program for windows that worked exactly like the good old KNewsTicker on linux.
2008 i switched completely to linux and now i wanted also to step up to kde4. The only thing missing was the KNewsticker, which was discarded from kde4.2. The old Kde4.1 KNewsticker was unusable.
So i decided to get my beloved newsticker back on linux and wrote the NetNewsTicker for KDE 4.2.
I heavily used parts of the KNewsticker and rewrote the scrolling view and added some features i wanted to have.
I would like to share my work with anyone that also is longing for the good old KNewsTicker.
I prepackaged a deb file for kubuntu 9.04.
If you like to build it from source, invoke the following (after unpacking)
$>cd build
$>cmake -DCMAKE_INSTALL_PREFIX=/usr/
$>make
$>sudo make install
Last changelog:

8 years ago

Initial version 0.5 uploaded
Fixed cmakelists.txt to correctly link on 64-bit systems
Changed source code to version 0.5-1 that fixes a bug in the feed updating.
Changed deb package for Jaunty to version .6 which fixes a bug in the size behaviour. It's now ready to be used on KDE 4.3 also.

mck182

10 years ago

So, this is what I have found out so far:
- when the text turns into that garbage, simple removing and adding the widget back to the panel makes everything okay

- the garbaged text happens always when I add another source, it doesn't matter how many sources I already have there, everytime I add another one, the text messes up (assuming it's not garbaged already)

- also removing the sources have no effect when the text is messed up, I mean if I have let's say five RSS sources and I remove four of them, they're still running there (though garbaged)

- I have also noticed higher CPU usage when the ticker is running, plasma normally has 1-3% CPU time, but with this plasmoid being used it goes up around 11%. I wouldn't mind that, but the CPU fan starts spinning very loud and also it probably consumes more battery...

Report

mck182

10 years ago

Ok, there you go:

[FeedLoading]
FeedUrls=http://novinky.cz/rss2/,http://rss.root.cz/2/zpravicky/,http://servis.idnes.cz/rss.asp?c=zpravodaj
MaxNewsItems=15

[Visual]
Font=Monospace,8,-1,5,75,0,0,0,0,0
ScrollingSpeed=19

Report

C

christau

10 years ago

I found the bug and fixed it.
But for now, you have to manually click the update feeds action after a change of the subscriptions. I'll have to figure out how to tell the kconfigdialog that the configuration changed if the feed list is changed.
Thanks again for the feedback. I know there are a lot of bugs/features left. I'll see that i can keep this project in progress.

Greetings, -chris-

Report

microchip

10 years ago

Thanks A LOT! I've been waiting for a KNewsTicker for KDE4 for so long, even posted on KDE forums asking why it was ditched for kde 4.2. You have my full support! Don't let this small app bit rot ;)

Report

jajaxor

10 years ago

Hi !

yes, I'm a big fan of knwesticker too :P

Report

jajaxor

10 years ago

Hi!

(sorry for my bad english)

your plamoid is nice ;)

suggestions :

- add menu for see complete feeds (like
knewsticker)
- possibilty to use it on desktop directly (it's works only on panel)
- could you make a language file ? i'll put translate it (in french).

for finish, I remove kde rss feeds for replace it by other rss feeds. but I can see kde news... bug ?

see this image :
http://img301.imageshack.us/img301/4784/netnewsticker2.png

Report

C

christau

10 years ago

Thanks for your suggestions. I'll see when i can implement them.
As for the bug, i have to check this.

Greetings, -chris-

Report

jajaxor

10 years ago

hi ! (sorry for my bad english)

I try to compil it on kubuntu 8.10 with kde 4.2.1 :

jaja@quadcore:~/download/netnewsticker/NetNewsTicker/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jaja/download/netnewsticker/NetNewsTicker/build
jaja@quadcore:~/download/netnewsticker/NetNewsTicker/build$ make
[ 10%] Generating ui_feedsettings.h
Generating ../build/feedsettingswidget.moc
Generating ../build/settingsdialog.moc
Generating newsfeedmanager.moc
Generating ../build/netnewsticker.moc
[ 20%] Generating settings.h, settings.cpp
[ 30%] Generating ui_visualsettings.h
Scanning dependencies of target plasma_applet_netnewsticker
[ 40%] Building CXX object CMakeFiles/plasma_applet_netnewsticker.dir/plasma_applet_netnewsticker_automoc.o
[ 50%] Building CXX object CMakeFiles/plasma_applet_netnewsticker.dir/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.o
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:28:30: error: syndication/item.h: Aucun fichier ou dossier de ce type
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:29:32: error: syndication/loader.h: Aucun fichier ou dossier de ce type
In file included from /home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:37:
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:29: erreur: ‘Syndication’ was not declared in this scope
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:29: erreur: patron de l'argument 2 est invalide
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:40: erreur: ‘Syndication’ has not been declared
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:40: erreur: expected ‘,’ or ‘...’ before ‘*’ token
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:51: erreur: ‘Syndication’ was not declared in this scope
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:51: erreur: wrong number of template arguments (1, should be 2)
/usr/include/qt4/QtCore/qdatastream.h:62: erreur: provided for ‘template<class Key, class T> class QMap’
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:52: erreur: ‘Syndication’ was not declared in this scope
/home/jaja/download/netnewsticker/NetNewsTicker/src/newsfeedmanager.h:52: erreur: patron de l'argument 2 est invalide
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:127: attention : unused parameter ‘option’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp: In member function ‘void NetNewsTicker::feedsUpdated()’:
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:408: erreur: ‘Syndication’ was not declared in this scope
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:408: erreur: patron de l'argument 1 est invalide
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:408: erreur: invalid type in declaration before ‘=’ token
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:408: erreur: request for member ‘values’ in ‘NewsFeedManager::self()->NewsFeedManager::availableFeeds()’, which is of non-class type ‘const int’
/usr/include/qt4/QtCore/qglobal.h: At global scope:
/usr/include/qt4/QtCore/qglobal.h: In instantiation of ‘QForeachContainer<int>’:
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:1971: erreur: ‘int’ is not a class, struct, or union type
/usr/include/qt4/QtCore/qglobal.h:1971: erreur: ‘int’ is not a class, struct, or union type
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp: In member function ‘void NetNewsTicker::feedsUpdated()’:
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: erreur: ‘class QForeachContainer<int>’ has no member named ‘i’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: erreur: ‘class QForeachContainer<int>’ has no member named ‘e’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: erreur: ‘class QForeachContainer<int>’ has no member named ‘i’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: erreur: ‘Syndication’ is not a class or namespace
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: erreur: expected `;' before ‘feed’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:412: erreur: ‘feed’ was not declared in this scope
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: patron de l'argument 1 est invalide
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: invalid type in declaration before ‘(’ token
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘e’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: ‘Syndication’ is not a class or namespace
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: expected `;' before ‘item’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:451: erreur: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:456: erreur: ‘item’ was not declared in this scope
In file included from /home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:467:
/usr/include/qt4/QtCore/qglobal.h: In constructor ‘QForeachContainer<T>::QForeachContainer(const T&) [with T = int]’:
/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.cpp:409: instantiated from here
/usr/include/qt4/QtCore/qglobal.h:1968: erreur: using invalid field ‘QForeachContainer<T>::i’
/usr/include/qt4/QtCore/qglobal.h:1968: erreur: request for member ‘begin’ in ‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’, which is of non-class type ‘const int’
/usr/include/qt4/QtCore/qglobal.h:1968: erreur: using invalid field ‘QForeachContainer<T>::e’
/usr/include/qt4/QtCore/qglobal.h:1968: erreur: request for member ‘end’ in ‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’, which is of non-class type ‘const int’
make[2]: *** [CMakeFiles/plasma_applet_netnewsticker.dir/home/jaja/download/netnewsticker/NetNewsTicker/src/netnewsticker.o] Erreur 1
make[1]: *** [CMakeFiles/plasma_applet_netnewsticker.dir/all] Erreur 2
make: *** [all] Erreur 2

missing package ?

Report

C

christau

10 years ago

Sorry i forgot to include that you have to install
kdepimlibs5-dev
kdelibs5-dev
libqt4-core
libqt4-dev
i guess that's all you need besides cmake and the c++ compiler

Hope that helps.
Greetings, -chris-

Report

jajaxor

10 years ago

good, it's works now ;)

Report

8 years ago

Initial version 0.5 uploaded
Fixed cmakelists.txt to correctly link on 64-bit systems
Changed source code to version 0.5-1 that fixes a bug in the feed updating.
Changed deb package for Jaunty to version .6 which fixes a bug in the size behaviour. It's now ready to be used on KDE 4.3 also.

12345678910
22
product-maker s4ncho Feb 12 2012 9 excellent
product-maker vitoubien Mar 06 2011 3 bad
product-maker tbd Nov 03 2010 3 bad
product-maker ruman Nov 02 2010 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.8.8
updated Mar 06 2011
added Mar 26 2009
downloads today
0
page views today 1