0
votes

I have a module in Drupal 6 that parses an XML feed and creates HTML output. Essentially, I have a long string of the HTML that should populate that page. This is being done on a local server at the moment.

What I would like to do is take that output and create new nodes with it. I've seen that, with the Feeds module, I can import content. What I would like to do is have the following procedure:

  1. Run script (cron or user-instigated)
  2. Generate HTML content and put it to some sort of local file
  3. Import that content with a module on my production server (Feeds or otherwise)

As I mentioned, my HTML content is currently exactly as I want it. However, it needs to become static nodes (for posterity's sake). I can programmatically generate the HTML for each node, however I'm not sure what the best way to do this would be.

2
voting to close as this question isn't relevant to my problem anymore (and i have no experience with the answer) - the_e

2 Answers

1
votes

Have a look at the Import HTML module.

0
votes

I simply created Drupal nodes programmatically. Turned out to be easiest.