Thanks for your email!
I'm a bit surprised about the behaviour you're seeing. We don't remove
a raplet automatically, even if it is failing; currently the only way
to remove a raplet is to click the 'remove' button on
rapportive.com/raplets.
If you're logged out, it's fine for the raplet to return a bit of HTML
asking the user to log in (with a link to the login page). As long as
that comes in a valid JSONP response, it should be rendered as usual.
So if you're not seeing anything appear when logged out, my first
suggestion would be to check whether the raplet is still returning a
valid JSONP response. (You can open the Chome developer tool or
Firebug to inspect the responses from your raplet endpoint.)
Does that help?
Best,
Martin
--
Martin Kleppmann
Co-founder, Rapportive
http://rapportive.com
> --
> You received this message because you are subscribed to the Google
> Groups "Raplet developer discussion list" group.
> To post to this group, send email to raple...@googlegroups.com
> To unsubscribe from this group, send email to
> raplet-dev+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/raplet-dev?hl=en
>
Yes, because of the way that JSONP works, if your response doesn't
have the JSONP format, we unfortunately have no way of detecting it.
That is a deliberate security feature in browsers. By formatting your
response as JSONP, you're explicitly saying that it's ok for another
domain (in this case, mail.google.com) to see the response.
Fortunately the raplet isn't actually getting dropped; it just has no
way of showing your content. As soon as your server starts returning
valid JSONP responses again, it will reappear. Does that make sense?
By the way, I should have explained this better: when you're logged
out of Rapportive, we show no raplets at all (because raplets are
stored on your user account and shouldn't be accessible unless you
have authorised). However, as soon as you log in to Rapportive, all
raplets should appear again as normal.
Best,
Martin
--
Martin Kleppmann
Co-founder, Rapportive
http://rapportive.com