04-22-2008
Three Linux HTML editors reviewed
Tue, 22 Apr 2008 18:00:00 GMT
Today's Web development tools offer capabilities that go beyond basic HTML editing. I compared three Web editors for Linux --
Screem 0.16.1,
Bluefish 1.0.7, and
Quanta Plus 3.5.7 -- to determine how well they handle today's Web editing needs.
Source...
6 More Discussions You Might Find Interesting
1. Programming
Just started out with C and are looking for a good editor
in *nix that marks the code with colors.
This is maybe a newbie thing to have the C code in colors
but i like it and you can almost always se when you are typing wrong. :)
Ive heard that emacs should have that option but i havent... (3 Replies)
Discussion started by: hexdoctor
3 Replies
2. UNIX for Dummies Questions & Answers
Where can i find editors for UNIX?
thanks (5 Replies)
Discussion started by: Inbal
5 Replies
3. UNIX for Dummies Questions & Answers
I was wondering what other mail utilities besides 'mutt, unix mail, PINE and elm' are available for unix.
Also, what other editors are around besides 'VI, pico, vim and emacs'... I've been searching the net looking for some answers, but nothing much has come up.. thanx! (1 Reply)
Discussion started by: Shonnie
1 Replies
4. Windows & DOS: Issues & Discussions
jEdit, Total Edit, EDXOR, all have one thing in common -- whatever they save in what they call "Unix" encoding and line endings inevitably shows up in a CLI text editor like pico or vim having garbage characters somewhere close to the beginning or, though this is more rare, somewhere in the body of... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am trying to generate a weekly HTML report using LINUX Scripting. This will have record counts of some files. (like below)
touch path/filename.html
echo "Weekly Summary Report for Business Date : $P_BUS_DT">path/filename.html
export A1=`cat path/filename1.txt |wc -l`
echo "A1... (6 Replies)
Discussion started by: dsfreddie
6 Replies
6. UNIX and Linux Applications
What is everyones opinions on these video editors?
PiTiVi
Avidemux
Cinelerra
Kdenlive
Kino
Linux Video Editing: Top Five Linux Video Editors (0 Replies)
Discussion started by: cokedude
0 Replies
LEARN ABOUT DEBIAN
html::rewriteattributes
HTML::RewriteAttributes(3pm) User Contributed Perl Documentation HTML::RewriteAttributes(3pm)
NAME
HTML::RewriteAttributes - concise attribute rewriting
SYNOPSIS
$html = HTML::RewriteAttributes->rewrite($html, sub {
my ($tag, $attr, $value) = @_;
# delete any attribute that mentions..
return if $value =~ /COBOL/i;
$value =~ s/rocks/rules/g;
return $value;
});
# writing some HTML email I see..
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
my $uri = shift;
my $content = render_template($uri);
my $cid = generate_cid_from($content);
$mime->attach($cid => content);
return "cid:$cid";
});
# up for some HTML::ResolveLink?
$html = HTML::RewriteAttributes::Links->rewrite($html, "http://search.cpan.org");
# or perhaps HTML::LinkExtor?
HTML::RewriteAttributes::Links->rewrite($html, sub {
my ($tag, $attr, $value) = @_;
push @links, $value;
$value;
});
DESCRIPTION
"HTML::RewriteAttributes" is designed for simple yet powerful HTML attribute rewriting.
You simply specify a callback to run for each attribute and we do the rest for you.
This module is designed to be subclassable to make handling special cases eaiser. See the source for methods you can override.
METHODS
"new"
You don't need to call "new" explicitly - it's done in "rewrite". It takes no arguments.
"rewrite" HTML, callback -> HTML
This is the main interface of the module. You pass in some HTML and a callback, the callback is invoked potentially many times, and you get
back some similar HTML.
The callback receives as arguments the tag name, the attribute name, and the attribute value (though subclasses may override this --
HTML::RewriteAttributes::Resources does). Return "undef" to remove the attribute, or any other value to set the value of the attribute.
SEE ALSO
HTML::Parser, HTML::ResolveLink, Email::MIME::CreateHTML, HTML::LinkExtor
THANKS
Some code was inspired by, and tests borrowed from, Miyagawa's HTML::ResolveLink.
AUTHOR
Shawn M Moore, "<sartak@bestpractical.com>"
LICENSE
Copyright 2008-2010 Best Practical Solutions, LLC. HTML::RewriteAttributes is distributed under the same terms as Perl itself.
perl v5.10.1 2010-11-18 HTML::RewriteAttributes(3pm)