Great communication around Upstart
Martin Pool
mbp at canonical.com
Fri Oct 6 00:49:13 BST 2006
On 05/10/2006, at 23:43 , Scott James Remnant wrote:
> On Thu, 2006-10-05 at 12:20 +0100, Mark Shuttleworth wrote:
>
>> I really like the upstart website. It's under ubuntu.com but it's
>> very clearly about it's own project. It is very "crisp and clean".
>> The
>> only thing I would add is some sense of activity (we should make it
>> possible to fetch that from LP easily and integrate it with a
>> mostly-static site).
Yes, it looks great.
> The recent launch of the Google Gadgets gives me an idea...
>
> Launchpad URLs that only return the pure XHTML of a portlet
>
> Sites like upstart.ubuntu.com can then just have a piece of JS to
> fetch
> that portlet code, and write it into the document; and use its own CSS
> to style it.
>
> So I could just do something like:
>
> <script>
> include_portlet ("/products/upstart", "latest_bugs")
> </script>
>
> That could expand to an AJAX fetch of
> https://launchpad.net/products/upstart/@@portlet/latest_bugs (invented
> URL) which would return just the "Latest 5 bugs in upstart" portlet
> XHTML code.
I'm not sure but I think Javascript can only open connections back to
the origin server for security reasons? So we may need to host the
javascript ourselves and/or give them the XHTML for use in an IFRAME,
or supply XML that's transformed by the site's server side code.
At any rate it would be a nice feature. I would like if it was
possible to embed something about this into a spec page.
--
Martin
More information about the launchpad-users
mailing list