11-26-2019
FYI:
Quote:
The border attribute of <table> is not supported in HTML5. Use CSS instead.
In other words, as I mentioned earlier, the "border" attribute is obsolete.
You should use CSS, not obsolete HTML elements.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
2. Shell Programming and Scripting
shell script to send email with usage of space in the directory as description :
Please any one help me in writing a script to send email with usage of space in the directory as description . (3 Replies)
Discussion started by: sakthifire
3 Replies
3. UNIX for Dummies Questions & Answers
Hi every one,
I have a file of ten lines in unix i want to send the file to my mail as .xls and the clause over here is it should send in only one cell ..
I am aware of
uuencode rest rest.xls | mail -s "testing" mailid
But this would send me data into seperate cells (5 Replies)
Discussion started by: rakesh_pagadala
5 Replies
4. Shell Programming and Scripting
Hi,
I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit.
I have written the followng code;
#!/bin/ksh
ADMIN="me@somewhere.com"
# set alert level 80% is default
THRESHOLD=80
df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies
5. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
6. UNIX for Dummies Questions & Answers
hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version).
i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010).
a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies
7. Shell Programming and Scripting
Hi !
I am a newbie and never officially wrote a shell script before.
The requirement for this script is :
1) Read a file called 'bpm.log' and identify if it has a specific text such as 'this is the text'. Its a static value and that is the only text we need to read.
2) If that... (2 Replies)
Discussion started by: atechcorp
2 Replies
8. UNIX for Dummies Questions & Answers
:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux.
I am working in Linux terminal.
I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
2 Replies
9. Shell Programming and Scripting
Hi,
If I am asking this question, you must have already figured out , that I am new to Unix, so here it goes
I was trying to read a file, add some user defined content to it and send out an email , I did find out a way to achieve this, but looking at the code, it looks a bit crude to me, can... (3 Replies)
Discussion started by: karthikbhuvana
3 Replies
10. Shell Programming and Scripting
Hi Guys,
Is there any way I can write a script that sends DISK SPACE USAGE STATUS via email once a week?
Thanks, (5 Replies)
Discussion started by: g4v1n
5 Replies
LEARN ABOUT DEBIAN
html::rewriteattributes::resources
HTML::RewriteAttributes::Resources(3pm) User Contributed Perl Documentation HTML::RewriteAttributes::Resources(3pm)
NAME
HTML::RewriteAttributes::Resources - concise resource-link rewriting
SYNOPSIS
# 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";
});
# need to inline CSS too?
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
# see above
},
inline_css => sub {
my $uri = shift;
return render_template($uri);
});
# need to inline CSS and follow @imports?
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
# see above
},
inline_css => sub {
# see above
}, inline_imports => 1);
DESCRIPTION
"HTML::RewriteAttributes::Resources" is a special case of HTML::RewriteAttributes for rewriting links to resources. This is to facilitate
generating, for example, HTML email in an extensible way.
We don't care about how to fetch resources and attach them to the MIME object; that's your job. But you don't have to care about how to
rewrite the HTML.
METHODS
"new"
You don't need to call "new" explicitly - it's done in "rewrite". It takes no arguments.
"rewrite" HTML, callback[, args] -> HTML
See the documentation of HTML::RewriteAttributes.
The callback receives as arguments the resource URI (the attribute value), then, in a hash, "tag" and "attr".
Inlining CSS
"rewrite" can automatically inline CSS for you.
Passing "inline_css" will invoke that callback to inline "style" tags. The callback receives as its argument the URI to a CSS file, and
expects as a return value the contents of that file, so that it may be inlined. Returning "undef" prevents any sort of inlining.
Passing "inline_imports" (a boolean) will look at any inline CSS and call the "inline_css" callback to inline that import.
This keeps track of what CSS has already been inlined, and won't inline a particular CSS file more than once (to prevent import loops).
SEE ALSO
HTML::RewriteAttributes, HTML::Parser, Email::MIME::CreateHTML
AUTHOR
Shawn M Moore, "<sartak@bestpractical.com>"
LICENSE
Copyright 2008-2010 Best Practical Solutions, LLC. HTML::RewriteAttributes::Resources is distributed under the same terms as Perl itself.
perl v5.10.1 2010-11-18 HTML::RewriteAttributes::Resources(3pm)