[GeoNetwork-devel] Embeddable Editor

Hi,

I have a task to create a split similar to metadata.show and metadata.show.embedded for the editor. I want to create metadata.edit.embedded that allows the editor to be embedded into a page. In my case the client wants a dialog with a viewer which can switch to the editor with a press of the button.

My question is: Is the geonetwork community interested in having these changes so this use case can be implemented easier by other implementations.

A second option is accept the refactorings to metadata-edit.xsl that allow metadata-edit-embedded.xml to be implemented without too much code duplication. That way you would not be maintaining the metadata-edit-embedded.xsl but would be making it easy for third parties (like me) to add the functionality to new custom apps based on geonetwork.

Jesse

Maybe no changes are needed. I see there is already a metadata-edit-embedded.xsl for performing updates. Perhaps that is sufficient for my needs.

On Fri, Oct 29, 2010 at 9:25 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Hi,

I have a task to create a split similar to metadata.show and metadata.show.embedded for the editor. I want to create metadata.edit.embedded that allows the editor to be embedded into a page. In my case the client wants a dialog with a viewer which can switch to the editor with a press of the button.

My question is: Is the geonetwork community interested in having these changes so this use case can be implemented easier by other implementations.

A second option is accept the refactorings to metadata-edit.xsl that allow metadata-edit-embedded.xml to be implemented without too much code duplication. That way you would not be maintaining the metadata-edit-embedded.xsl but would be making it easy for third parties (like me) to add the functionality to new custom apps based on geonetwork.

Jesse

Hi Jesse,

It could be great to improve the editor on that topic. I had a quick
look for that when working on the JS widgets [1]

2010/10/29 Jesse Eichar <jesse.eichar@anonymised.com>:

Maybe no changes are needed. I see there is already a
metadata-edit-embedded.xsl for performing updates. Perhaps that is
sufficient for my needs.

I don't think too much changes are required, at least :
* remove HTML page header to be embedded in an existing DOM element
* clean JS to update the appropriate element instead of document.body.

If you do some cleaning on the metadata-editor.js to move to Ext, I'm
interested.
Later, I could probably integrate that in the widget examples ?

Cheers.

Francois

[1] http://trac.osgeo.org/geonetwork/wiki/proposals/componentsBasedGui

On Fri, Oct 29, 2010 at 9:25 AM, Jesse Eichar <jesse.eichar@anonymised.com>
wrote:

Hi,
I have a task to create a split similar to metadata.show and
metadata.show.embedded for the editor. I want to create
metadata.edit.embedded that allows the editor to be embedded into a page.
In my case the client wants a dialog with a viewer which can switch to the
editor with a press of the button.
My question is: Is the geonetwork community interested in having these
changes so this use case can be implemented easier by other implementations.
A second option is accept the refactorings to metadata-edit.xsl that allow
metadata-edit-embedded.xml to be implemented without too much code
duplication. That way you would not be maintaining the
metadata-edit-embedded.xsl but would be making it easy for third parties
(like me) to add the functionality to new custom apps based on geonetwork.
Jesse

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork