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). > 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.
And then it'd document.write that into the web page at that point.
Alternatively it could be just done with SSI and cached.
Scott
--
Scott James Remnant
[EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
-- launchpad-users mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/launchpad-users
