[RFC] GMail notifier dataengine/plasmoid

Diego Iastrubni elcuco at kde.org
Mon Jan 21 13:46:28 CET 2008


(stupid question)


Why not using IMap? (not always enabled)

Why not using POP3 (or pop4?) and keeping messages on the server...? (no 
real excuse here)


Stefano Rivoir wrote:

> Hi all.
>
> I'm writing a little dataengine/plasmoid couple to have a GMail new mail 
> notifier. Pretty trivial after all, but I have a problem with fetching 
> data through HTML requests.
>
> The fact is that I must retreive the XML source from a page, which is 
> the result of several (3?) redirections (gmail.com uses the 'refresh' 
> meta in HTML). These redirection must of course be followed within the 
> same browsing session.
>
> I've been trying KIO::multi_get, but it doesn't follow redirection, as 
> it stops at the original page.
>
> I can easily do it with cURL lib, but I suppose it's not very nice to 
> have such a dependency and I bet that it can be possible with other KDE 
> methods.
>
> Any hint?
>
>   



More information about the Panel-devel mailing list