Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006....

15
Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of Unicon, Inc. To disseminate otherwise or to republish requires written permission from Unicon, Inc.

Transcript of Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006....

Page 1: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Lightning Talks

Drew WillsJA-SIG Unconference, October 6-8, 2008

© Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of Unicon, Inc. To disseminate otherwise or to republish requires written permission from Unicon, Inc.

Page 2: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

1. ImportExportPortlet

2. Import/Export for BookmarksPortlet

Page 3: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

ImportExportPortlet

Portlet Front-End for Import/Export

Page 4: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

ImportExportPortlet

• Developed with the University of Illinois in early September

• Supports all existing Import/Export/Delete operations except those that start with all- (e.g. all-users, all-layouts, etc.)

• Use portlet preferences (at publish time) to restrict allowable operations

Page 5: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Import Screen Shot

Page 6: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Export Screen Shot

Page 7: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Delete Screen Shot

Page 8: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Success Screen Shot

Page 9: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Status

• It's not pretty (could use UE work)

• Prototype developed for uP 2.6

• Tracked as UP-2182 in JIRA

• UP-2181 (Refactor crn-export XML to move responsibility for writing documents out of the individual export scripts) is a blocker

Page 10: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Loose Ends

• Better error handling

– No stack trace

– User-friendly message

• Better user feedback

– Report operation details on success

• Launch download automatically

• Pretty-print exported files

Page 11: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Import/Export for BookmarksPortlet

Page 12: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Import/Export for BookmarksPortlet

• Anthony Colebourne (University of Manchester) organized Cernunnos-based Export for Cbookmarks in late November

• Document format is XBEL

• Afterward I developed XBEL Import for BookmarksPortlet

• Not precisely “Import/Export” (not yet), but it's a migration path from the channel to the portlet

Page 13: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

XBEL Example

<xbel>

<title>My Bookmarks</title>

<info>

<metadata owner="admin"/>

</info>

<folder folded="yes" id="n1168638030077">

<title>Internet Giants</title>

<bookmark href="http://www.google.com/" id="n1168638095707">

<title>Google</title>

<desc>Find exactly what you're looking for</desc>

</bookmark>

</folder>

</xbel>

Page 14: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Status

• Cbookmarks export always specifies “Default user” as owner

• Tracked as PBOOK-

• Import doesn't support XBEL aliases

• Command line invoker needs work to play with Maven more nicely

• Currently requires Cernunnos SNAPSHOT build

Page 15: Lightning Talks Drew Wills JA-SIG Unconference, October 6-8, 2008 © Copyright Unicon, Inc., 2006. This work is the intellectual property of Unicon, Inc.

Presenter [email protected]

www.website.com

Questions?