Re: How to use with drupal?

Andrew Lowe <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization Manildra Group
Message-ID <[email protected]>
On Mon, 19 May 2008 12:21:37 James Sinnamon wrote:
> Is there a simple way, using scripts, to integrate quanta with drupal so
> that a html file (less header and body tag) being edited, or (better still)
> parts of it, corresponding to the article body and the article teaser, can
> be inserted into the drupal 'edit page' form?
>
> See
>
> http://users.bigpond.net.au/jaymz/download/DrupalPageEditForm.png
>
> TIA
>
> James

What you want is to do a http post with the variables for title/body/teaser 
posted separately?

You should be able to write a script action for quanta in php, perl or another 
language that will do this for you, but separating the different parts could 
be challenging, as you might need to define these in your source file some 
way.  You would need to look at having them in separate files, and having you 
script determine (perhaps by filename) which parts to load into which 
variables.  It would be possible to do, and you would want to look at the 
documentation on quanta, in its scripting support.

I have not done anything with the scripting, but I am pretty sure it would be 
possible.

Have a look on the quanta website resources section:
http://quanta.kdewebdev.org/resources.php
for examples on how others have used scripting...
and if you end up writing something to do the task, it would be nice to see it 
added to the list, as it could be handy for others.

If you are not sure on how to go, contact the list, and someone will get back 
to you.

-- 
Andrew Lowe
    System Administrator & Programmer
        Information Technology
            Manildra Group

Email:   [email protected]
Phone:   02 4423 8270
Mobile:  04 1323 8270
Fax:     02 4421 7760
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.