Anton Aylward wrote:
It is possible to use Win32OLE + Word Automation + a well-written Word
document to create pages using scripts that run in your Radiant
application's script directory to insert pages into the CMS.
I'm sorry this isn't a very precise question, but I'm also searching for
I'm trying to automate a site. The use of CMS rather than crafted pages
is great, and would be better if I could get the staff concerned to use
Textile instead of their buggy html or importing html from Microsoft word!
But what I'd really like is some way to create new pages without them
actually having to log in. A sort of shell script Q&A session. I
realise it will need a lot of development, and I'd appreciate ideas.
Templates are good, if I can figure out creating page parts.
One of the problems I'm looking at is how to figure out the appropriate
I did just that to create most of the pages on this site:
http://www.t-engine.info/en/spec - entire specifications were inserted
(currently a total of about 500 pages) after extraction from the Word
documents. Of course, it requires that the Word document follow a set
of rules (like Headings are of the style Heading 1, Heading 2, etc.) and
if there are special styles used, your script needs to consider that.
But, it is not very difficult (a bit difficult, not VERY difficult) to
do. I created scripts to generate the Textile from the Word documents.
If you can't run all of it on Windows, you could even do something like
extract on a particular Windows PC to files and have scripts that insert
these files into the CMS.
Does this sound like something you would want to do?
As for figuring out the appropriate parent page, hmm.. well, in my case,
it was easy. I designated a starting page and then followed the
hierarchy of the Word document.
3/20/2009 | 1:29 AM.
Radiant mailing list