Even though this thread is a few months old, I thought I would share a solution I found. It is a shell script that is executed from conky. You will need a new file for the shell script and an execi line in conky. Of course, change "user" to your Google username and "pwd" to your Google password.
Here is the shell script:
Code:
#!/bin/sh
SID=$(wget --output-document=- --post-data 'Email=user@googlemail.com&Passwd=pwd' -q https://www.google.com/accounts/ClientLogin | grep -w SID);
unreadcountxml=$(wget --no-cookies --header "Cookie: $SID" --output-document=- -q http://www.google.com/reader/api/0/unread-count)
unreadcount=$(echo $unreadcountxml | awk 'BEGIN {RS="<object>";FS="count\">";sum=0} ; /reading-list/ {print $2}' | cut -d'<' -f1);
echo "$unreadcount"
I then execute it in conky with:
Code:
${execi 60 ~/scripts/greader}
Change the location to your script and "60" to however many seconds you want between each check.
I found the script here: http://superuser.com/questions/68159...he-bash-prompt
The only tweak I made was to trim the echo line to just the unread count.
Bookmarks