Greasemonkey Script: Gmail and Reader Integrator
Update on 11-11-2006:
Previously, if your default start-page in “Settings” was “Home”, it was redirected to “All”. This has now been modified such that no redirection occurs, and “Home” is displayed.
Thanks to David for pointing this out. Download the updated script.
Update on 09-11-2006:
There is a programming bug, specifically a variable name error on Line 304 in the script. The variable name for the Google Reader shared items URL should be READER_BROADCAST_URL and NOT READER_SHARED_URL. Sorry for the mistake! Download the updated script, again.
Update on 06-11-2006:
I removed the Reader view when “Contacts” link is clicked as it “damages” the interface. Download the updated script. No other changes to the rest of the script logic.
The short story..I wrote a Greasemonkey script that integrates Gmail with Google Reader.
Features
- Spilt-window view of Gmail and Reader on a single page
- Links to collapse|expand either Gmail or Reader
- Integrated Reader uses start-page as specified in Reader’s “Settings”
- Labels selector
- Key ‘v’ to open Reader links in a new Window
- Automatic resize of Gmail and Reader views
Requirements
Installation Instructions
- Install Greasemonkey Extension
- Click on THE SCRIPT (gmailreaderintegrator.user.js)
- Click “Install”
- Open Gmail and ENJOY!
The not-so-short story..
Recently when Google reintroduced Google Reader with a new look, new features and improved usability, they marketed it as the “Inbox for the Web”. Immediately, the word “inbox” associates the Reader to emails, and Chris Wetherell - Google Reader Engineer, explained that using the Reader to obtain the latest updates of your favourite websites is similar to reading your emails. You just wait for the updates to be sent to your inbox.
Within the same day, the Reader created a huge buzz and I gave it a try. Previously, I wasn’t accustomed to the not-so-intuitive interface of the historical version and so chose to use Rojo as my RSS aggregator instead. But after exploring the new Reader, I was excited about the changes which Google introduced and have started using it as my default RSS reader.
Then, I found this Greasemonkey script by Mihai Parparita, from a post in Lifehacker, which embeds the Reader into Gmail. This makes perfect sense! They both are inboxes and ideally, they should belong on the same page. Moreover, I use Gmail frequently at work and the interface integration is an amazing productivity hack.
However, I felt that it wasn’t adequate for my use, and that my wish-functionalities were similar to comments left on Mihai’s Blog and Lifehacker. Therefore, I decided to write my own script to integrate Gmail and Google Reader; even though I have never written a Greasmonkey script before.
By examining Mihai’s code, I was able to learn and understand how a Greasemonkey script is written with Javascript. Then, I took about 1.5 weeks to complete coding my version of the Gmail and Reader Integrator, with a list of features that brought more functionalities to the integration. Importantly, I should bring to attention that I reused certain functions written by Mihai for convenience, and I acknowledged these functions clearly in my script. Thank you Mihai for the inspiration and wonderful code.
Lastly, please do report any bugs encountered or feedback any suggestions for possible improvements. I hope that you would find my Gmail and Reader Integrator script useful, as much as I do.
I like the concept of this script a lot, unfortunately, it’s a little slow an not as responsive as I would like. Is there some reason for this that you’re working to correct? For now I think I’ll stick with Mihai Parparita version.
Nice script, much better and faster than previous version.
However, is there anyway to tweak the script so the view for “Reader” is larger than what it is currently?
In list view its fine, but when switching to Expanded view, the viewable space is very confining, especially on a larger screen.
Even with GMail collapsed…its a small view.
EDIT: As I’m typing this I tried something and if I minimize Reader and then expand it…the view is bigger..but not as big as it could be.
Hope this makes sense without images.
Cheers
[…] RequirementsFirefox Greasemonkey Extension (Official Site) Installation InstructionsInstall Greasemonkey Extension Click on THE SCRIPT (gmailreaderintegrator.user.js) Click “Install” Open Gmail and ENJOY! Screenshots from:The Next Phase […]
[…] When we met with the Google Reader team before they relaunched their product, I asked them why they didn’t combine their RSS reader with Gmail. The product manager’s response was, ‘what about blogs that update all the time, wouldn’t that crowd your email inbox?’ It didn’t seem like they had seriously considered including the reader as part of another pane, below the regular inbox. But since the official release, people from inside the company and out have been releasing Greasemonkey scripts to do just that. Today Download Squad writes about a new one that they think is great; I will have to try it out. No comments […]
Thanks very much! Love it! Now all we need is spanning sync
Wow. Really nice implementation! Just like using reader in it’s own window, only… The same! Thankyou.
[…] Aquí podéis ver los ejemplos e instalar el script […]
[…] The Next Phase » Article » Greasemonkey Script: Gmail and Reader Integrator (tags: greasemonkey firefox) 归类于: Uncategorized — pansin @ 2:23 pm […]
Glad to see that you all find the script useful.
Allyn: For now, I believe that the bottle-neck in performance is because the script is actually checking a few “sites” or api to get all the required information:
1. The main Reader site
2. API: Feeds count
3. API: Default start-page
4. API: Labels
I would try to see if I am able to get all the information by just querying a single site alone.
I wonder if there’s such a thing call javascript optimization?
GregW: I am not sure if I understand you correctly. But you can manually edit the size of the windows for both Gmail and Reader in the script.
Refer to lines 54 and 55 in the script:
const READER_EMBED_HEIGHT = 400;
const GMAIL_SPLIT_HEIGHT = 220;
Change these values to suit your needs? Does this help?
Maybe you might want to send me some screenshots? Sorry.
I don’t get it - it’s not working for me. When I try to expand the reader pane, the page simply refreshes, sometimes it goes back to the previous history item in the tab, all sorts of weird stuff. WTF?
Hmm sorry to hear that..
Are you using some other Greasemonkey scripts which are causing conflict?
Is your Firefox and Greasemonkey extension of the latest version?
Hope to get some more details other than WTF?
Thanks in advance!
[…] link […]
[…] Und über Möglichkeit 2 Dieses Greasemonkey-Skript basiert auf dem vorhergehenden, macht die Benutzung des Feed-Readers innerhalb von Gmail aber um einiges benutzerfreundlicher. Die wesentlichen Unterschiede zum eben genannten Greasemonkey-Skript sind: Mann kann sich auf Wunsch Gmail und den Google Reader gleichzeitig in einem vertikal aufgeteilten Browser-Fenster anschauen. In diesem Fall wird Gmail im oberen Teil des Bildschirms angezeigt und der Google Reader im unteren Teil. Wenn man sich den Google Reader innerhalb von Gmail anzeigen lässt, wird praktischerweise die im Google Reader eingestellte Standard-Ansicht angezeigt, und nicht die recht unübersichtliche Listenansicht, wie im ersten Greasemonkey-Skript. Außerdem kann man sich selektiv Feeds anzeigen lassen, die mit bestimmten Labels gekennzeichnet. […]
[…] The Next Phase » Article » Greasemonkey Script: Gmail and Reader Integrator A Greasemonkey script (FIREFOX!) that combines GMail and Google Reader. It wont work outside of that machine it is installed on (you can check gmail from anywhere and now you can watch your feeds from anywhere as well). Great for RIVER OF NEWS Aggregating (tags: RSS Aggregator Gmail) […]
[…] Greasemonkey Script: Gmail and Reader Integrator (tags: google gmail greasemonkey rss) […]
[…] The Next Phase » Article » Greasemonkey Script: Gmail and Reader Integrator (tags: gmail rss web20 google) […]
Way better than the previous. Congratulations !
… and thanks!
Raul
[…] Winston has written another Greasemonkey script to integrated Reader into GMail. Some of the new features are: […]
[…] Suppose you wish to edit the size of the split-windows for Gmail and Google Reader, this is possible and easy to accomplish. Follow these steps to customize the Gmail or Reader window sizes to your preference: […]
Great script, it has got me using Reader finally! This coupled with the new UI makes Reader now my fav RSS client.
One small thing the Reader pane does not seem to automatically reload with new items unless I press Refresh, is this a bug in your code or the Reader product?
[…] The Next Phase Article Greasemonkey Script: Gmail and Reader Integrator […]
[…] The Next Phase » Article » Greasemonkey Script: Gmail and Reader Integrator (tags: greasemonkey gmail google rss firefox reader scripts extensions) […]
I seem to be missing something.
When I open the reader via the “reader” link I get a listing of all my unread feeds not the “default start page” as stated above.
Any ideas?
Thanks
Michael: According to the Google Reader Blog, the refresh should be automatic at intervals of a few minutes.
My script did not change anything to do with the refresh of the Reader, but I am not sure if it did broke it? I would need to investigate. Thanks for bringing out this point.
David: What is the \”default start page\” which you have specified in Reader\’s (www.google.com/reader/view/) Settings > Preferences > Start Page?
Did you use the Shared items as the default start page which had a bug earlier? Thank you.
Winston,
Thanks for the reply.
I have my Start Page set to Home. That allows me to get a summary of new topics, etc.
As far as the “Shared Items” I’m not really sure, but I don’t think so.
Thanks, and feel free to email me with any questions. If needed I can get you a screen shot of my start page.
David
David,
I believe I solved your issue? Check out the updated script.
Thank you.
Will do, thanks again!
Winston,
Would you be able to code the expanded view/list view tabs into this script? Other than that, its a great script and has worked very well for me.
thanks
josh
Hi Josh,
Thank you!
I am currently working on adding more functionalities to the script, and I will try to include this if possible.
Anyway, you may like to try keyboard shortcuts for now?
Key “1″: Expanded View
Key “2″: List View
[…] […]
this is good, but i’m not sure i wouldnt have preferred to have the entire google reader menu available (as in the list of feeds sidebar) rather than just the “river of news” summary. ideally i think all the integration i need would be to have both services 50/50 on the page in their entirety, with either collapsable.
Hi Winston,
I’ve been using this for the last few hours now and I really like it! However, it would be great if I could access the Google Reader features settings menu within the script. It’s a bit of a pain needing to log onto the Google Reader page to change tags or preferences. Also, it would be good if there was less space between Collapse/Expand Gmail and Reader, just so it intergrates a bit better. Keep up the good work.
So, no one has reported any problems with Google/Gmail account lockdowns, huh? I love the script, and tested it on a non-essential account, but I’d like to use it on my main account — but who can afford to have their main email locked down for 24 hours?
Any input would be appreciated.
Also, is there any way to keep Reader open by default? For example, if you check email, or go into a label, the reader closes and one must waste a lot of clicks going back and forth.
Thanks!
When I right click on an inbox line, I’m seeing the mail from the next line in the inbox rather than the one I click on.
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
Hi,
I’ve written a new script based on yours. This new script features a sidebar tree menu to conveniently browse feeds and notifications for newly arrived entries.
You can have a look at the script @ http://chandiramani.info/software/gmail-reader/
-Pradeep
[…] Finally, its over! Couple of late nights and the script is finally ready (atleast it looks like ). This new integrator is based on a greasemonkey script by Winston Teo (http://www.winstonyw.com/2006/11/03/greasemonkey-script-gmail-and-reader-integrator/) […]
[…] Gmail and Reader Intergrator […]
[…] For a more feature-laden mashup of Gmail and Google Reader, try Winston Yongwei’s Gmail and Reader Integrator. He has provided split screen capability, folder/tag access, and collapsing of one service in favor of the other. I imagine the official Google integration of these two products will incorporate some of Winston’s features in addition to the sleek simplicity of Mihai’s hack. Filed under: feeds, gmail, google | […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
hi nice site.
[…] Now i’s using this new Greasemonkey script from Winston, it is better in many ways. It features a split-window view of your Gmail and Google reader on the same page (Gmail on top, Reader on bottom), adds a new link in Gmail: Reader. […]
It seems that in the last few days, the ‘v’ keyboard shortcut has stopped working: i.e. it’s not opening the article in a new window. Has anyone else noticed this?
[…] http://www.winstonyw.com/2006/11/03/greasemonkey-script-gmail-and-reader-integrator/ Tags: greasemonkey, gmail, google, reader, firefox, extension, feeds, email(del.icio.us history) […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
This one makes sence “One’s first step in wisdom is to kuesstion everything - and one’s last is to come to terms with everything.”
hi all.
I’ve been a happy user of this for months - thanks.
I’m sure you already know, but the GReader update today broke the script :-/ Any plans on fixing?
Hello
great job!!!
Bye
Good Day: Thank you for the script! However, the content in the GReader pane does not line up like it should (the content is shifted up and to the right). Is this what Steven mentioned in his post below, regarding the GReader update?
Thanks again for your work!
[…] Először persze furcsa volt, hogy eltűntek a mappák, hiányzott a címkék hierarchiába szervezése. De kárpótolt a gyors működés, a letisztult felhasználói felület, a gyakorlatilag végtelen kapacitás (végtelen, mivel folyamatosan növekszik, nemrég szinte meg is duplázták nagyjából 4,7 gigára), a szinte szünetmentes működés és a profi keresési funkciók. Aztán persze jöttek a tweak-ek greasemonkey szkriptek formájában: GMail+Reader, GMail Label Colorer, GMail unlabelled. Ezek mind segítették a munkámat, de összességében nem adtak sok pluszt a GMail-hez. Aztán összefutottam a GTDInbox-szal és ha nem is rögtön, de szépen, fokozatosan minden megváltozott. […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
just tried out your script, but I must be too dumb or an update has disabled it.. or something. when I open gmail (greasemonkey in installed and enabled) it looks the same - not at all like your fabuluos screenshots. any help would be appreciated.
/g
just tried out your script, but I must be too dumb or an update has disabled it.. or something. when I open gmail (greasemonkey in installed and enabled) it looks the same - not at all like your fabuluos screenshots. any help would be appreciated.
/g
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
[…] GMail and Reader Integrated - Integrates Google Reader into your GMail account. […]
Hi, my name is Tatyana Voip. It is good that someone writes articles which really matters something. Thank you for this article, it’s full of knowledge which is hard to find in tons of rubbish in our famous world wide web. Regards and good luck!
[…] השילוב בינו לבין רסס פחות מקובל. למרות שיש מי שכתב תוסף Greasemonkey למאש-אפ בין Gmail ל-Greader, עבור הגולש הסביר אפשרות זו אינה […]