Hello,

I was excited to find this XML content type module. Since I am planning a new Drupal 6 site, just wanted to know if a Drupal 6 port is going to out any time soon?

If not, would you have rough estimate of how much work it would be port it to v6?

Thanks
Sid

Comments

weam’s picture

Yes it is planned, and I'm working on it. Stay tuned in

youngbuddha’s picture

Thank you very much, I am looking forward to the updates.
(dropping in the existing v6 DEV tarball didn't add a new XML Input Type in Drupal 6, so it seems I will have to wait a bit for your updates. My PHP v5 install is detecting libxslt version 1.1.11 just fine.)

My intention is to use the module as follows, do you think it is reasonable?

I am making a new site which will allow end-users to make something like Google Gadgets (http://www.google.com/ig/directory?synd=open). Each gadget would be a small XML file that describes the layout and skin of a given widget. Complementing the XML, will be attributes like who create the widget, how popular it is, and tags. So my CCK "gadget" will be defined as:
- name of gadget
- link to a node of the XML input type ("skin" of the gadget)
- author id
- last updated time
- popularity measure
...

Appreciate your time and assistance,
Sid

youngbuddha’s picture

Sorry, my mistake. I some how forgot to enable the Module first. I can now make a new Input Type.
Thanks!

weam’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

OK great that it works now.

Your use case seems interesting, and I would care to see the results of using XML Content on your site.

I would like to point you to 2 things however; XML Content does not currently do any caching of XSLT scripts, nor of transformation results (say the resulting HTML), and hence the scripts are loaded, and transformations are run on every request, which might be a performance problem on a heavy-load website. I am planning to work on a caching structure for the module soon, but it will take some serious work and time.

The second point is that there are plans to integrate XML Content with CCK and Views somehow, and not only depend on input formats to do XML. This might prove useful to your use-case later.

On both regards, stay tuned in, and good luck with your site :-).

Weam

weam’s picture

Assigned: Unassigned » weam
Status: Active » Closed (fixed)

Changed status to closed.

Bensbury’s picture

A lot of people have been asking how to do this and there are no real answers.

Views2 RSS and CCK doesn't show custom fields in the RSS XML output.
People use the Contemplate Module to try and force the CCK fields but they don't return as XML elements (at least for many of us)

The best way to get this to happen is to go here and add your comments to get it a priority feature request.

http://drupal.org/node/316107

Hopefully the right people will see it and either at the feature or a clever chap will provide a patch.

This is for Drupal 6 by the way.
Apparently there has been a patch written for Drupal 5 that does this. you can read about that in the above link