Re: How to use with drupal?
Andrew Berry <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
On 18-May-08, at 10:21 PM, 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? I found the simplest solution was the best: just use copy and paste! There's a few reasons why scripting this might be painful: - You are almost guaranteed to be using CCK to create additional fields for content types. So, you'd have to write a different script to POST the proper fields for each individual content type. - You would need some way to parse some fields, such as taxonomy terms, from the HTML, so you could submit the proper ID for your selection. If all you want is an editor for large chunks of HTML, it really is quite quick just to copy, paste, and preview in your browser. If this feature is really important to you, then I would look at integrating with an API instead of hacking the forms. Drupal core comes with the standard XML-RPC blog editing API, so if your site is using the blog module that could work. There are probably other modules, but mailhandler might be easiest to work with as you would just have to generate and send an email from Quanta: http://drupal.org/project/mailhandler HTH, --Andrew _______________________________________________ Quanta mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta
smime.p7s
(application/pkcs7-signature, 2.6 KB) - not displayed