...but only if you don't care about end-users being able to edit things in the UI. That's the one thing the method in the article has the advantage of (e.g., create the node with the tools of your choice in a file, but in the end make it editable via the UI). I guess you could always take the stuff out of your tpl.file and put it in the node, but at that point it's kind of a potatoe/potato thing.
Please come back and share your code though - I'm sure there are people who would be interested to be able to use it.
Update: if this is the method you are talking about, and I think it probably is, it's better suited for different purposes than what I am describing in the article.
It could be an alternative way
...but only if you don't care about end-users being able to edit things in the UI. That's the one thing the method in the article has the advantage of (e.g., create the node with the tools of your choice in a file, but in the end make it editable via the UI). I guess you could always take the stuff out of your tpl.file and put it in the node, but at that point it's kind of a potatoe/potato thing.
Please come back and share your code though - I'm sure there are people who would be interested to be able to use it.
Update: if this is the method you are talking about, and I think it probably is, it's better suited for different purposes than what I am describing in the article.