Community & Support

How to covert nodes to xml or html

Hi there,

I am trying to convert nodes to XML or HTML.

I have tried HTML export module that converts even blocks to HTML

Is there anyway or anymodules that drupal does it?

Thanks in advance.

Comments

If I'm understanding you correctly...

...you want to export the content of your nodes with complete HTML markup? If so, what are you exporting it to?

It seems like it would be fairly simple to write a PHP script to do this using the API.

For example, I have to store HTML markup from some of my CCK fields in an external database for legacy reasons, so I have a little custom module that uses the CCK content_format() function to export the markup for that field.

More generally, take a look at the core check_markup() function.

nobody click here