Re: Will htmltidy also convert the pages it analyses?

"Greg Rundlett" <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
On 6/12/07, Erik Heyl <[email protected]> wrote:
> Hi all. I love what I've seen with Quanta but one thing puzzles me: I use
> html tidy and it does a fine and fast job of analysing the given page but is
> there a way to have it convert the page to the results?

You want to create a user-defined action in Quanta.  With a
user-defined action, you can call any command or script you like such
as
tidy -m -i -wrap 120 -clean -bare -asxhtml myfile.html

That action can be assigned to a toolbar and/or keyboard shortcut; can
operate on a selection, document, etc.  special 'variables' can be
used in the command.  For example %f represents the current (saved)
file.

See http://docs.kde.org/stable/en/kdewebdev/quanta/user-actions.html
for information about Custom Actions.

What configuration options do you have with Tidy?

tidy -help-config

See also:
customizing Quanta with script-actions to your specific needs
http://www.hoernerfranzracing.de/kde/script-actions.html

DocBook toolbar
http://l10n.kde.org/docs/doc-primer/quanta.html

How do I use a Kommander dialog with Quanta?
http://kdewebdev.org/faq.php#faq20


-- 
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
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.