I've done this successfully with:
http://localhost:8080/magnoliaAuthor/.magnolia/mgnl-export?mgnlRepository=website&mgnlPath=/&mgnlKeepVersion=true&exportxml=Export
This is with magnolia 2.1.5. It may have changed with 3.0RC2.
Essentially just look through the html form source and encode all the
form fields in your GET request. Per html spec, a form with out an
action (or a blank action) will submit to the same url used to generate
the form page.
--David
Bernd Brenner wrote:
Hello everybody,
to download and backup the website in XML there is the link:
http://localhost:8080/magnoliaAuthor/.magnolia/mgnl-export
with a little HTML-form to start the export. I want to download this
automatically (using <get> with ant), so I wonder, why the "action"
attribute of the "form"-tag is empty. I would need a whole URL. I
thougt maybe the form calls itself and I tried
http://localhost:8080/magnoliaAuthor/.magnolia/mgnl-export?selected=users&mgnlPath=/&mgnlKeepVersions=true&mgnlFormat=true
but it didn't work. It just loads the Export-Form and ignores the
given parameters.
My Question: which URL will be called when I press the submit-button?
Thanks for any hints,
Bernd
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------