Main index > About existing desklets > newsfeed

By alessio.carenini (User), on Wed Mar 30 10:33:24 2005: newsfeed.

Post anything about newsfeed here

By kooka (User), on Sun May 22 08:02:03 2005: Some feedback.

Hi!

I tried out your desklet and it looks quite nice. I have however some questions and suggestions about it. First is there a way to specify the location when running it without decorations(managed set to false)? I can do it with fluxbox but if i want to run multiple desklets it will throws them all to same place. Second changing the font seems to bork the text. Instead of changing line when it reaches the border it continues for a few letters and changes only after that. Looks kinda ugly. I tried it with courier copied from my XP install. Is there a way to use xfonts?

Some suggestions if happen to get bored: It would be nice if one could make it display only the headlines since some feeds e.g. slashdot take way too much space when it displays both the headline and the actual newsthingy. What would make this the coolest thing on earth would be the feature to show the actual text on user specified location (maybe on a separate desklet so one could run multiple feeds yet the text would always be displayed on same place) when mouse is moved over the headline.

By alessio.carenini (User), on Tue May 31 04:53:31 2005.

Kooka, if I'm not wrong general desklet location is specified in '.adesklets' file. I'm too having problems with placement under fvwm, it seems that if adesklets is launched by xinitrc (and so before the window manager) then the placement is correct, if the placement is done by the wm then all the desklets are placed in the same place.
Second issue. Ok, the text rendering is 'not optimal', it works in a decent manner with only some fonts, I was thinking about looking at torsmotoy text rendering code and adapting it to my desklet.
Implementing headline-only display should not be too difficult (I think it will not take more than 10 minutes to implement), so it is possible a new release with that feature soon. News text rendered in a new area is 'a little' more complicated, but should be feasible (I should be veeeery bored...). Even if I don't know where new window would be placed by the wm...

By syfou (Core Developer & Desklet Author), on Tue May 31 13:05:08 2005.

alessio.carenini wrote:


I'm too having problems with placement under fvwm

Alessio, look at the FAQ: maybe is there a way to avoid this problem (topic A.3.3 at the time of writing).

kooka wrote:


First is there a way to specify the location when running it without decorations(managed set to false)?

Yes, it is automatically done for you using the contextual (right-click) menu: placement is saved in $HOME/.adesklets. This said, in unmanaged mode, desklets are not made to be overlapping.

By alessio.carenini (User), on Wed Jun 1 05:02:42 2005.

syfou wrote:

alessio.carenini wrote:


I'm too having problems with placement under fvwm

Alessio, look at the FAQ: maybe is there a way to avoid this problem (topic A.3.3 at the time of writing).

I've already tried all the black magic I know under fvwm, but if adesklets is called after the wm then the wm decides on its own where to place windows. (by the way, I use managed windows, I haven't tried using unmanaged win)

By Noobuntu (User), on Mon Jun 27 13:31:39 2005.

Hi,

Cool! I used to have NewsGrab from gdesklets and use it a lot. I decided to try adesklets and certainly I wanted to have a NewsGrab clone. But, when I started it in GNOME for the first time, it pops up inside a window! :shock:
So, it is not really a desklet.....
How can you make it so that it sticks to the background like the other desklets?

By alessio.carenini (User), on Mon Jun 27 13:38:14 2005.

Noobuntu wrote:

Hi,
How can you make it so that it sticks to the background like the other desklets?


Set 'managed':False in config.txt.
Alessio

By Irelandfan (User), on Thu Jun 30 06:52:46 2005.

Quote:

Implementing headline-only display should not be too difficult (I think it will not take more than 10 minutes to implement)


feed_content=str(self.feed['items']['description'])
(Delete the "description" show part? would do the trick right?)

I have another idea for this. Don't know weather this would be very hard to implement.
--------------------------------------------
| Some Headline here |
--------------------------------------------

On mouse over (or on MouseClickLeft) on "Some Headline" show full headline
( On mouse over show "Description") or (OnMouseClick show "description")
On MouseRightClick for opening browser (I did all this in Samurize so maybe i can do it myself))
and If new headline arrives automatically show full description for X seconds)
Or and this would be very cool with a apropriate background
(OnMouseOver/click)Expand window to show Full description.
OnMouseOut go normal
Maybe a way to specify how many newsheadlines to display and make the most recent headline a little thicker (font size) than the others
Or as options show "all" (full RSS feed) or only "Title/description/PubDate/whatever.

By jon86 (User), on Sun Aug 7 10:38:16 2005.

Hi.

I just installed newsfeed and updated the URL to Neowin's RSS feed for it's main page (http://www.neowin.net/backend.php?page=main). When I go to load newsfeed I get an error saying...

Quote:


Error: documented declared as us-ascii, but parsed as iso-8859-1


I had a look in the config file and can't see anywhere to fix this, nor does anything jump out in newsfeed.py or feedparser.py, saying that I am not familiar with Python. :/

Would anyone kindly like to point me in the right direction? :D

Thanks.
Jon

By syfou (Core Developer & Desklet Author), on Sun Aug 7 13:56:10 2005.

This feed is ill-published; there is a RFC for specifying the interaction between HTTP and the encoding attribute of XML declaration within the document (RFC 3023). In this case, the MIME returned is text/xml, thus the encoding attribute of the XML declaration within the document is to be ignored completely. Since there is no encoding given in the charset parameter of the Content-Type HTTP header, the rule requires us to set the encoding to the default us-ascii, which is not compatible with the real content of the feed.

You could modify the desklet to ignore such error (see the _display method), but it will potentially cause other problems, since the final state of the feed object generated by feedparser once the encoding was "guessed" is altered. The best possible fix is to convince the technical staff responsible for publishing the problematic feed to solve the issue at its source.

By jon86 (User), on Sun Aug 7 15:33:53 2005.

Is it possible to 'force' feedparser or newsfeed to use a certain character set (I am not asking you to spend lots of time looking through the code yourself :))? Maybe it's a question to ask the developers of feedparser? It's highly unlikely that I will want to use any other RSS feed. :)

By syfou (Core Developer & Desklet Author), on Sun Aug 7 15:43:39 2005, last edited on Sun Aug 7 16:07:04 2005.

jon86 wrote:

Is it possible to 'force' feedparser or newsfeed to use a certain character set?

It should never be needed. In fact, feedparser (which is, as you know, the python module used by the newsfeed desklet) already tries to guess what is right for all versions >= 3.0. What you need to do is to remove the security check from the _display() method of the Events class from newsfeed.py. From there, your mileage may vary, depending on how well your installed version of feedparser was able to parse the feed encoded in the guessed charset without encountering other problems.

[EDIT ]
Alternatively,as you suggested, you could also alter the feedparser code to force the encoding to ISO 8859-1; just go read the parse() function from from feedparser.py.

I should probably warn you at this point that I could not get a usable output from this specific feed with any unmodified version of feedparser but a older 3.0 beta 22; rectifying the http mime though a local rewriting proxy, the desklet worked like a charm out of the box with any version of the module.

By jon86 (User), on Sun Aug 7 16:04:10 2005.

Thanks for your really quick replies syfou. You are a great asset to the adesklets project. :)

I posted a thread on Neowin forums about this issue and one of the developers said there would probably be a fix soon. In the meantime, I'll have a look at the feedparser code when I have some time and try and work out how to fix this problem.

Thank you again.

By frary (User), on Wed Aug 10 12:20:07 2005.

Hi Guys,

I would like to have newsfeed completely transparent, only the text displayed on my desktop. As all the other desklets have such a setting, I am quite sure I just missed something...
Is this possible and where can I find the option...

T

By noxx (User), on Thu Sep 8 22:13:55 2005.

Hi,

i'm new to adesklets. It's really great, but I can't get newsfeed to work...

I installed the feedparser python module but when I try to run newsfeed I get this error message:

Code:

$ ./newsfeed.py 
Traceback (most recent call last):
  File "./newsfeed.py", line 419, in ?
    Events(dirname(__file__)).pause()
  File "./newsfeed.py", line 109, in __init__
    adesklets.Events_handler.__init__(self)
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 159, in __init__
    self._alarm()
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
    timeout=self.alarm()
  File "./newsfeed.py", line 157, in alarm
    self._display()
  File "./newsfeed.py", line 180, in _display
    self.draw_info()
  File "./newsfeed.py", line 238, in draw_info
    ret=self.draw_news_content(item,0)
  File "./newsfeed.py", line 313, in draw_news_content
    feed_lines= self.string_to_paragraph(feed_content)
  File "./newsfeed.py", line 394, in string_to_paragraph
    char_per_line=(self.x-2*self.borderX)/adesklets.get_text_size('x')[0]
  File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 516, in get_text_size
    return comm.out()
  File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
    raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - syntax error


And the desklet doesn't appear on my screen.

I don't know what I have done wrong and how I can make the desklet work...

Thanks in advance for any help!

By alessio.carenini (User), on Mon Sep 12 08:45:45 2005: User problems.

I really don't know what can be causing your problem, noxx. This can be partly because I'm not actively developing newsfeed (maybe I'll extend newsfeed when I'll finish university) and I've not tested all the possible errors, or it can be that something has been changed in adesklets since when I wrote the code. I'm afraid but I don't know how to solve it...

noxx wrote:

Hi,

i'm new to adesklets. It's really great, but I can't get newsfeed to work...

I installed the feedparser python module but when I try to run newsfeed I get this error message:

...

And the desklet doesn't appear on my screen.

I don't know what I have done wrong and how I can make the desklet work...

Thanks in advance for any help!


To frary

It should be possible to disable background and borders (thus having transparency) by deleting the line
self.draw_borders()
from newsfeed.py

Alessio

By syfou (Core Developer & Desklet Author), on Mon Sep 12 13:18:55 2005.

allessio.carenini wrote:


Or it can be that something has been changed in adesklets since when I wrote the code

The last update to newsfeed on this site (0.0.4) is dated 04/08; I just tested it against adesklets 0.4.7 (released 04/02), and I do experience the same problem than noxx (same trace output: same error at the same place), with feedparser 3.3 and python 2.4.1... Alessio: does this mean you do not experience this? If you are not, what version of adesklets, feedparser and python are you using?

By alessio.carenini (User), on Mon Sep 12 14:04:27 2005.

I have adesklets 0.4.10, python 2.4.1 and feedparser 3.3 but launching the official version of newsfeed cause me no problem.

syfou wrote:

allessio.carenini wrote:


Or it can be that something has been changed in adesklets since when I wrote the code

The last update to newsfeed on this site (0.0.4) is dated 04/08; I just tested it against adesklets 0.4.7 (released 04/02), and I do experience the same problem than noxx (same trace output: same error at the same place), with feedparser 3.3 and python 2.4.1... Alessio: does this mean you do not experience this? If you are not, what version of adesklets, feedparser and python are you using?

By syfou (Core Developer & Desklet Author), on Mon Sep 12 14:15:52 2005.

OK. Here is my trace output with freshly unpacked newsfeed 0.0.4, adesklets 0.4.10, python 2.4.1 and feedparser 3.3 (I pretty much get the same trace with every possible combination -- strangely, I am pretty confident I did not back in april, when I quickly tested the release):

Code:


./newsfeed.py 
Traceback (most recent call last):
  File "./newsfeed.py", line 419, in ?
    Events(dirname(__file__)).pause()
  File "./newsfeed.py", line 109, in __init__
    adesklets.Events_handler.__init__(self)
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 157, in __init__
    self.ready()
  File "./newsfeed.py", line 145, in ready
    adesklets.window_resize(self.x,self.y)
  File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 1437, in window_resize
    return comm.out()
  File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
    raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - did not resize window


I must say I am clueless.

By Borromini (User), on Sun Oct 16 19:52:54 2005.

alessio.carenini wrote:

Noobuntu wrote:

Hi,
How can you make it so that it sticks to the background like the other desklets?


Set 'managed':False in config.txt.
Alessio


Hi there, I tried this to remove the own window, but now the desklet just flickers and disappears... But it is still running; I can't get the CLI back. Is there anything to solve this? I run the latest aDesklets, on Xfce 4.2.2.

By allan (User), on Mon Oct 31 01:28:43 2005.

Quote:

$ ./newsfeed.py
Traceback (most recent call last):
File "./newsfeed.py", line 419, in ?
Events(dirname(__file__)).pause()
File "./newsfeed.py", line 109, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 159, in __init__
self._alarm()
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "./newsfeed.py", line 157, in alarm
self._display()
File "./newsfeed.py", line 180, in _display
self.draw_info()
File "./newsfeed.py", line 238, in draw_info
ret=self.draw_news_content(item,0)
File "./newsfeed.py", line 313, in draw_news_content
feed_lines= self.string_to_paragraph(feed_content)
File "./newsfeed.py", line 394, in string_to_paragraph
char_per_line=(self.x-2*self.borderX)/adesklets.get_text_size('x')[0]
File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 516, in get_text_size
return comm.out()
File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - syntax error


I had the same problem, and changed the default font into a font I have. Now it works :)

By syfou (Core Developer & Desklet Author), on Mon Oct 31 02:05:37 2005.

Thanks for pointing that out, allan! Turned out the size setting will fail with certain versions of "VeraBd", leading to the bug... So we just have to convince Alessio to change the defaults back to "Vera" (or add a warning in the README).

By MadOtis (User), on Fri Dec 2 08:36:48 2005: Is my newsfeed broken?.

I have no clue what I did, but, I had two newsfeeds on my desktop.. I made one go away by removing it from the .adesklets registry and editing the config.txt to remove the section for it. Now, my original newsfeed will not start at all... I have tried to re-register it, I have blown away the registry and re-registered ALL of my desklets, and still the same thing. Here is the output from doing a 'python ./newsfeed.py' and selecting Test:

Code:


Traceback (most recent call last):
  File "newsfeed.py", line 419, in ?
    Events(dirname(__file__)).pause()
  File "newsfeed.py", line 109, in __init__
    adesklets.Events_handler.__init__(self)
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 158, in __init__
    self._alarm()
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
    timeout=self.alarm()
  File "newsfeed.py", line 157, in alarm
    self._display()
  File "newsfeed.py", line 180, in _display
    self.draw_info()
  File "newsfeed.py", line 234, in draw_info
    if (self.draw_news_header(item)==0):
  File "newsfeed.py", line 266, in draw_news_header
    feed_title=str(self.feed['items'][item]['title'])
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 108: ordinal not in range(128)



Also, if it helps, my config.txt (and this was after I deleted the original and let the desklet re-create the default which I edited:

Code:


 cat config.txt
# -*- coding: ASCII -*-
#
#This is newsfeed.py desklet configuration file; for each desklet,
#you only have to write down the minimal delay between updates
#(in seconds: less than 300 will be ignored), the URL of the feed
#and the size of the desklet
#Details:
#       sizeX,sizeY: width and height
#       head_font, head_font_height: font for news title
#       item_font, item_font_height: font for news details
#       url: rss/atom newsfeed url
#       line_spacing: pixels between two lines
#       borderX, borderY: area reserved to borders
#       interactive: if True, enables highlighting of news details and calling
#               selected browser
#       browser: browser to call for viewing selected news
#
id0 = {'borderX': 0,
 'borderY': 0,
 'browser': 'firefox',
 'delay': 600,
 'head_font': 'VeraBd',
 'head_font_color': 'ffff00',
 'head_font_height': 8,
 'interactive': True,
 'item_font': 'Vera',
 'item_font_color': '02c601',
 'item_font_height': 8,
 'line_spacing': 5,
 'managed': False,
 'selected_font_color': 'ffffff',
 'sizeX': 400,
 'sizeY': 600,
 'title_font': 'VeraBd',
 'title_font_color': 'ffe600',
 'title_font_height': 12,
 'url': 'http://www.fark.com/fark.rss'}



I have tried looking in the config.txt for any odd characters (even converted a copy of it to windows and back) and still have the exact problem.

Can anyone help me find and fix this?

Oh, and I am running adesklets 0.4.12, Python 2.4.2, Newsfeed 0.0.4, and feedparser 3.3

Thanks in advance, and if there was any way to digitally send a beer to whoever helps, I would be the first in line to send you one!

By syfou (Core Developer & Desklet Author), on Fri Dec 2 15:17:44 2005.

Code:


'url': 'http://www.fark.com/fark.rss'


Hang in there, MadOtis... This could be a mere transient problem with the feed, and the fact that it manifests itself now just unfortunate timing. I cannot really help you further, since I do not know this desklet well enough (not my code)... :-(

By Noobuntu (User), on Tue Dec 6 07:43:55 2005.

Uumm.... I still get this error. What font can I change it to? Shall I change the config.txt file?

allan wrote:

Quote:

$ ./newsfeed.py
Traceback (most recent call last):
File "./newsfeed.py", line 419, in ?
Events(dirname(__file__)).pause()
File "./newsfeed.py", line 109, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 159, in __init__
self._alarm()
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "./newsfeed.py", line 157, in alarm
self._display()
File "./newsfeed.py", line 180, in _display
self.draw_info()
File "./newsfeed.py", line 238, in draw_info
ret=self.draw_news_content(item,0)
File "./newsfeed.py", line 313, in draw_news_content
feed_lines= self.string_to_paragraph(feed_content)
File "./newsfeed.py", line 394, in string_to_paragraph
char_per_line=(self.x-2*self.borderX)/adesklets.get_text_size('x')[0]
File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 516, in get_text_size
return comm.out()
File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - syntax error


I had the same problem, and changed the default font into a font I have. Now it works :)

By syfou (Core Developer & Desklet Author), on Tue Dec 6 15:00:53 2005.

Noobuntu wrote:


Uumm.... I still get this error. What font can I change it to? Shall I change the config.txt file?

Personally, I had this problem due to missing glyphs in VeraBd (so I guess): I just changed config.txt to rely entirely on Vera instead following the suggestion of allan, and it worked for the feed I wanted. Unfortunately, I am just a user of this desklet, not the author, hence I am not really knowledgeable enough to help you further.

If you do post your desklet config, I will gladly try it out and tell you how it goes on my side, though.

By Noobuntu (User), on Wed Dec 7 05:20:32 2005.

Thnx Syfou. This is my config.txt file:

Code:


id0 = {'borderX': 7,
 'borderY': 7,
 'browser': 'firefox',
 'delay': 600,
 'head_font': 'Vera',
 'head_font_color': 'ffff00',
 'head_font_height': 8,
 'interactive': False,
 'item_font': 'Vera',
 'item_font_color': '02c601',
 'item_font_height': 8,
 'line_spacing': 5,
 'managed': False,
 'selected_font_color': 'ffffff',
 'sizeX': 400,
 'sizeY': 600,
 'title_font': 'Vera',
 'title_font_color': 'ffe600',
 'title_font_height': 12,
 'url': 'http://slashdot.org/index.rss'}



I even copied the Vera font into the newsfeed directory. I just see a flashing window (if managed: True) and nothing if managed: False.

By Noobuntu (User), on Wed Dec 7 05:43:48 2005.

The problem seems to be in the line 394 of the script newsfeed.py

Code:


char_per_line=(self.x-2*self.borderX)/adesklets.get_text_size('x')[0]



I know almost nothing about Python. But if one changes 'x' by 'size.x' or some other variable, then it works, but it displays about 20 characters per line....not very readable. It seems 'x' is not defined?

By syfou (Core Developer & Desklet Author), on Wed Dec 7 15:22:47 2005.

Noobuntu, what can I say? In this context, 'x' is just a string. It doesn't matter what it is, as long as it is the same lenght as a single space.

By M.Hennecke (User), on Sun Jan 8 18:38:05 2006.

Hi

Noobuntu wrote:

Uumm.... I still get this error. What font can I change it to? Shall I change the config.txt file?


I had the same problem with the desklet. I tried to play around with my font settings but nothing helped.

I'm new to Python but not new to programming. I looked into one function (string_to_paragraph) that appeared in the trace log. There were a few unused vars. I deleted them and everything works now. I pinned it down to one call

Code:


string_size=adesklets.get_text_size(string)



string_size isn't used but the get_text_size('x') is working!? Any ideas why?

Nevertheless here is the patch

Code:


393d392
<               string_size=adesklets.get_text_size(string)
395,396d393
<               lines=len(string)/char_per_line
<               limit=char_per_line



Let me know if it solves the problem.

mfg
Marius Hennecke

P.S.: Could it be an adesklets problem related to the get_text_size function? Perhaps in case the string parameter is too long!?

By newbie (User), on Wed May 10 02:53:26 2006: Unable to run newsfeed..

Hi all,
I tried to install newsfeed-0.0.4. but it just displays some windows and nothing happens I get the following errors.

Code:

o you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
  File "./newsfeed.py", line 419, in ?
    Events(dirname(__file__)).pause()
  File "./newsfeed.py", line 109, in __init__
    adesklets.Events_handler.__init__(self)
  File "usr/local/lib/python2.4/site-packages/adesklets/events_handler.py", line 158, in __init__
  File "usr/local/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
  File "./newsfeed.py", line 157, in alarm
    self._display()
  File "./newsfeed.py", line 180, in _display
    self.draw_info()
  File "./newsfeed.py", line 238, in draw_info
    ret=self.draw_news_content(item,0)
  File "./newsfeed.py", line 313, in draw_news_content
    feed_lines= self.string_to_paragraph(feed_content)
  File "./newsfeed.py", line 394, in string_to_paragraph
    char_per_line=(self.x-2*self.borderX)/adesklets.get_text_size('size.x')[0]
  File "/usr/local/lib/python2.4/commands.py", line 516, in get_text_size

  File "usr/local/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
adesklets.error_handler.ADESKLETSError: adesklets command error - syntax error



and I have attached my config.txt file here.

Code:


id0 = {'borderX': 7,
 'borderY': 7,
 'browser': 'firefox',
 'delay': 600,
 'head_font': 'Vera',
 'head_font_color': 'ffff00',
 'head_font_height': 8,
 'interactive': False,
 'item_font': 'Vera',
 'item_font_color': '02c601',
 'item_font_height': 8,
 'line_spacing': 5,
 'managed': False,
 'selected_font_color': 'ffffff',
 'sizeX': 400,
 'sizeY': 600,
 'title_font': 'Vera',
 'title_font_color': 'ffe600',
 'title_font_height': 12,
 'url': 'http://slashdot.org/index.rss'}
id1 = {'borderX': 7,
 'borderY': 7,
 'browser': 'firefox',
 'delay': 600,
 'head_font': 'VeraBd',
 'head_font_color': 'ffff00',
 'head_font_height': 8,
 'interactive': False,
 'item_font': 'Vera',
 'item_font_color': '02c601',
 'item_font_height': 8,
 'line_spacing': 5,
 'managed': True,
 'selected_font_color': 'ffffff',



I had tried all options given in the forum . like changing the font to "Vera"
But still not able to succeed. I am able to run almost all other desklets.
I have problem only with this
can some one please help me.

By newbie (User), on Wed May 17 21:15:54 2006: scrolling in newsfeeds.

I want to make a new adesklet similar to newfeeds but i want it to be similar to what we see in BBC channel.

the headlines of news feeds keep scrolling at the bottom of the monitor
In fact a adeklet which would take any text and keep scroling the text.

Can we make such adesklet ?
I have seen a similar widget in yahoo widgets ..but there is no linux version fro yahoo widgets.

I am not sure of it is supported in gdesklets.

Your input would be very useful

regards

By InDenial (User), on Tue May 23 20:15:15 2006.

Hi all,

I removed most of the things I put in here because most of the problems were already solved in the previous topics. Here follow the remaining issues:

Some feeds do and some feeds don't work. This is not a desklet problem but a feedparser problem OR a feed problem itself. The previous might be debatable.

Second problem which still excists is hte right clicking on the desklet giving an error.

Code:


Traceback (most recent call last):
  File "./newsfeed.py", line 419, in ?
    Events(dirname(__file__)).pause()
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 228, in pause
    posix_signal.pause()
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 214, in _fire_event
    [x for x in
TypeError: menu_fire() takes exactly 4 arguments (5 given)


By Szift (User), on Thu Apr 19 12:57:10 2007.

is there a patch to the newsfeed-0.0.4 that would extend it's functionality to using a few rss feeds together?
I know it's possible to display a few newsfeed's with different rss feeds, but I want'em all in one window.

I mean like this: read all the rss feeds, sort titles by date, select 20 most recent and display.

I'm currently trying to do this, but I've got a lot to learn (mainly of python) to complete it on my own.


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.