Hi,

I am playing with this module 2 weeks now. It seems to be more stable and powerful than it 's alternatives and maybe better for heavy and regular imports. So, I have 2 minor questions which I could not find the answer on the documentation. Here are they:

1) Is there a way to attach an importer to an Entity (eg a Node) so I can use the same importer every time and only change/override settings (such as the feeds link)?
2) Is there a way to inherit from an existing importer. Eg use a main importer as base and then extend it with minor changes per case.

Thanks a lot and a wish you a happy new year!

Comments

Sorin Sarca’s picture

Hi,

1) Is there a way to attach an importer to an Entity (eg a Node) so I can use the same importer every time and only change/override settings (such as the feeds link)?

Yes, this is an easy task but, currently, can only be done programmatically. If you need some code examples I will post them.

2) Is there a way to inherit from an existing importer. Eg use a main importer as base and then extend it with minor changes per case.

Please provide a simple example/use case of what are you trying to achieve.

theodorosploumis’s picture

This response was so fast!

2) We 'd like to use a basic importer and then add extra mappings per case. Of course, if (1) can be done then (2) is too much to have.

Wait for the moment until I do some research.

Thanks again.

theodorosploumis’s picture

Well, I am back and looking for a way to Attach an importer to a Node. So each node may create a new import by changing only the "Feed Name", "Source (URL to a valid XML resource)", "Hash Manager Group".

I am looking for a programmaticaly way to do this but could not find anything on the module documentation of files.

Thanks a lot for any help.