[GeoNetwork-devel] How to write URL in Geonetwork 2.6.4?

Hi,

Please could anyone guide how to write url in geonetwork 2.6.4?
I want to create a new page for home page, so for this i want to understand
the flow of the url in GN.
I couple of .xsl file i have seen
action="{/root/gui/locService}/main.search", i cannot understand what is
locService and how this url works?

Best Regards,
Saher

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Well in geonetwork each service returns a block of XML. Geonetwork defines some xml elements to add to the XML the result and each service can add extra XML as well. The basic structure is:

/root
/ gui
/ strings
/
/ session
/ env
/ language
/ reqService
/ url
/ locUrl
/ service
/ locService
/
/ request

You can usually see the xml before the xsl change by adding a ! to the service name for example:

http://localhost:8080/geonetwork/srv/en/admin!

Back to your question. The locUrl, url, locService,etc… allow you to create relative urls to invoke other services. the locUrl had the language code so that when you go from one service to another you will keep the same local. url is essentially the servlet name. Normally it is geonetwork.

Not sure this answers your question but hopefully it helps you find the answer.

Jesse

On Mon, Oct 8, 2012 at 8:45 AM, Saher Murad <sahermurad@anonymised.com> wrote:

Hi,

Please could anyone guide how to write url in geonetwork 2.6.4?
I want to create a new page for home page, so for this i want to understand
the flow of the url in GN.
I couple of .xsl file i have seen
action=“{/root/gui/locService}/main.search”, i cannot understand what is
locService and how this url works?

Best Regards,
Saher


View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-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

Dear Jesse,

Thank you, but still things are not very clear as up to now i have only
worked on GN configuration and the flow is also not described in developer
manual. Now I want to create my on pages/services and for that i need to
understand the flow of services and url in gn.
I have installed GN 2.6.4 from .exe file.

Please could you help me little in detail that from where i have to take the
start, and is there any such document which describe gn implementation in
detail.

Best Regards,
Saher

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019p5007056.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

hi,

GeoNetwork uses a MVC-style framework called Jeeves. Some documentation about that is in this document: https://github.com/geonetwork/core-geonetwork/blob/2.6.x/jeeves/docs/jeeves.doc.

That should give you an idea of how these things work, hopefully.

Kind regards
Heikki Doeleman

On Mon, Oct 8, 2012 at 10:41 AM, Saher Murad <sahermurad@anonymised.com> wrote:

Dear Jesse,

Thank you, but still things are not very clear as up to now i have only
worked on GN configuration and the flow is also not described in developer
manual. Now I want to create my on pages/services and for that i need to
understand the flow of services and url in gn.
I have installed GN 2.6.4 from .exe file.

Please could you help me little in detail that from where i have to take the
start, and is there any such document which describe gn implementation in
detail.

Best Regards,
Saher


View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019p5007056.html

Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-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

Hi Heikki,

Thank you, Jeeves document is very helpful. I'm studying it & hope it helps
me to create new services/pages according to the requirement of our portal.

Kind Regards,
Saher

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019p5007308.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.