[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] How to use with drupal?
From:       Andrew Lowe <andrew.lowe () manildra ! com ! au>
Date:       2008-05-19 3:06:08
Message-ID: 200805191306.08555.andrew.lowe () manildra ! com ! au
[Download RAW message or body]

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:   andrew.lowe@manildra.com.au
Phone:   02 4423 8270
Mobile:  04 1323 8270
Fax:     02 4421 7760 
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic