have a handy bash script that lets me download my gmail Inbox for processing - I'm looking for any similar script/command that lets me count (by some means) the total number of unread ideas in my google reader feed. Any Ideas?
Joe
|
have a handy bash script that lets me download my gmail Inbox for processing - I'm looking for any similar script/command that lets me count (by some means) the total number of unread ideas in my google reader feed. Any Ideas? Joe
| |||
feedback
|
|
You can use the following script substituting 'user' and 'pwd' with your google account credentials:
where you first obtain the Session ID, then obtain the atom feed of your subscriptions' unread items, and then extract the number of items in the fake subscription 'reading-list' that contains all the unread items. | ||||
|
feedback
|
|
I'd get the RSS feed, then parse that. Getting http://www.google.com/reader/atom/user/{USERID}/state/com.google/reading-list gives you your unread items as an atom feed. Counting the number of | |||
feedback
|
|
You could try the ruby 'mechanize' library. Tons of mechanize examples with screen scraping and then performing some subsequent action on the response. | |||
|
feedback
|