Hello

I need to export menu (primary links) to xml for use with flash menu

I have the flash part covered, but have no luck with exporting menu to xml

Is there any module that can do that?

I was searching on drupal.org, but have not foud anything that would do what I want.

If there is nothing that I could use, can somenone write a module that would export menu to xml?

thank you

mog

Comments

tasiak’s picture

Hi! Did you find out solution for this issue?

kardave’s picture

I search the solution now for weeks. I just cannot believe that this menu->xml is still that hard.... :(

I nearly have a solution with http://drupal.org/project/menu_node_views but the xml part is still a pain.

dealancer’s picture

This problem has been solved. You could use Export menu to XML module: http://drupal.org/project/export_menu_to_xml.

If you are going to commit my patches, please use a following authorship info as my previous username was `vackar` on drupal.org and it is still used in the D.O. Git system:

--author="vackar <vackar@243418.no-reply.drupal.org

polishyourimage’s picture

export_menu_to_xml does not appear to export the Primary Links menu or make menu.xml available to unauthenticated users - which is what I am looking for.

mcfilms’s picture

Why does it have to be the actual menu? Couldn't you generate the equivalent list of links in Views and then create an XML document at a url using the views datasource module? http://drupal.org/project/views_datasource

The advantage of this is that any update to the site can instantly update your xml and then the Flash. I have something like this running at http://folonisarchitects.com The combination of a Drupal back-end and a Flash user-facing display can be pretty awesome under the right circumstances.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com