[Developers] Using the Freebase.com client as an IFRAME your own web app
John Giannandrea
jg at metaweb.com
Wed Mar 26 23:25:35 UTC 2008
Will Moffat wrote:
> It seems a pity that there's no way to get the value of
> mwLastWriteTime from a Javascript app.
You are trying to share state between two sandboxes (the iframe and the enclosing window) that are trying really hard to not let you share state!
I believe there are ugly ways to do this such as appending the parent's url with #<data> or using .swf
But the other solution is to use the shared state in freebase. Assuming you know that the iframe has changed state (closed?) you could do a tiny MQL query to the graph to check the timestamp of the last link written by that user.
-jg
More information about the Developers
mailing list