You are not logged in.

#1 2007-09-11 09:44:27

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,221
Website

Trying out the new conky rss variable - problem

I'm trying out the rss variable included in Conky 1.4.7, which you have to enable yourself before compiling, with --enable-rss flag.

I can get it to show the title of the feed, but none of the items.. I have no idea why. Here's my .conkyrc:

background yes
use_xft yes
xftfont bitstream vera sans:size=9
xftalpha 0.8
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
update_interval 5.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_colour grey10
#e18a51
#skip_taskbar,skip_pager
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 500 500
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# stippled_borders 8
border_margin 2
border_width 1
default_color white
default_shade_color grey16
default_outline_color black
alignment top_left
# alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
gap_x 1
gap_y 50
maximum_width 1024
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
#max_port_monitor_connections 256
#max_specials 512
#max_user_text 16384
TEXT
${color white}${rss http://www.archlinux.org/feeds/packages/ 1 feed_title 50 item_title 50 item_titles item_desc 50}

Can somebody help?

Offline

#2 2007-09-11 15:11:32

uberGeek
Member
From: Near Chicago
Registered: 2004-01-07
Posts: 65
Website

Re: Trying out the new conky rss variable - problem

This works for me, but it does not seem to update.  I just set it up last night, tonight I'll figure out why it's not updating.

I think you might also need to enable curl in your PKGBUILD.

Update: it is updating properly, I just needed to use http://rss.slashdot.org/Slashdot/slashdot/to instead of http://rss.slashdot.org/Slashdot/slashdot/

Arch Linux PackageUpdates
 ${rss http://www.archlinux.org/feeds/packages/ 30 item_title 0}${goto 215}${rss http://www.archlinux.org/feeds/packages/ 30 item_title 1}
 ${rss http://www.archlinux.org/feeds/packages/ 30 item_title 2}${goto 215}${rss http://www.archlinux.org/feeds/packages/ 30 item_title 3}
 ${rss http://www.archlinux.org/feeds/packages/ 30 item_title 4}${goto 215}${rss http://www.archlinux.org/feeds/packages/ 30 item_title 5}
 ${rss http://www.archlinux.org/feeds/packages/ 30 item_title 6}${goto 215}${rss http://www.archlinux.org/feeds/packages/ 30 item_title 7}
 ${rss http://www.archlinux.org/feeds/packages/ 30 item_title 8}${goto 215}${rss http://www.archlinux.org/feeds/packages/ 30 item_title 9}
Arch Linux News
 ${rss http://www.archlinux.org/feeds/news/ 60 item_title 0}
 ${rss http://www.archlinux.org/feeds/news/ 60 item_title 1}
 ${rss http://www.archlinux.org/feeds/news/ 60 item_title 2}
/.
 ${rss http://rss.slashdot.org/Slashdot/slashdot/ 10 item_title 0}
 ${rss http://rss.slashdot.org/Slashdot/slashdot/ 10 item_title 1}
 ${rss http://rss.slashdot.org/Slashdot/slashdot/ 10 item_title 2}
 ${rss http://rss.slashdot.org/Slashdot/slashdot/ 10 item_title 3}
 ${rss http://rss.slashdot.org/Slashdot/slashdot/ 10 item_title 4}

Last edited by uberGeek (2007-09-11 18:37:33)


carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days,  9:24,  1 user,  load average: 1.00, 1.00, 1.00

Offline

#3 2007-09-11 19:19:54

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,221
Website

Re: Trying out the new conky rss variable - problem

Thank you!

It works now. I guess I misunderstood how the item_title worked.

I guess the curl was enabled in the abs PKGBUILD where I enabled rss.

Cool new feature.

Offline

Board footer

Powered by FluxBB