HTML5 Elements for UNIX.COM


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? HTML5 Elements for UNIX.COM
# 8  
Old 11-29-2018
Status: Making progress on the "showthread" template.... currently 34 HTML Validator warnings and errors.

Early, I have fixed all of these errors, but some errors I fixed caused the quick reply function to break (changing name= to id= tags), so I had to revert about a hours worth of work Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to declare an array in UNIX and print the elements with tab delimits?

Hello, In a shell script, I want to declare an array and subsequently print the elements with tab delimits. My array has the following structure and arbitrary elements: myArray=('fgh' 'ijk' 'xyz' 'abc'); Next, I would like to print it with a '\n' at the end. Thanks for your input! ... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

2. Programming

Array Elements Check

Hi everyone, :) I'm trying to make a simple C program that scans an array of chars to see if its elements are similar. I can't understand what's wrong. Could you help me to fix this? Here is the code. Thanks! #include<stdio.h> int main() { int arr; int i, len; int flag =... (10 Replies)
Discussion started by: IgorGest
10 Replies

3. Shell Programming and Scripting

How to delete first elements from files?

Hello, I want to select first element from 2 to 3 files how I would do that. e.g my input files are:- file1=(1,2,3,4) file2 =(1,2,3,4) file3=(1,2,3,4) output should be outputfile=(1,1,1,1) (12 Replies)
Discussion started by: shazo
12 Replies

4. IP Networking

testing network elements

for testing network elements which of the below is TRUE a)Thorough understanding of RFC s/ IETF standards is enough. b)One has to know design specifications along with standards and specification. c)Understanding customer requirements is required for acceptance test only and not for... (0 Replies)
Discussion started by: venkatadilip
0 Replies

5. UNIX for Dummies Questions & Answers

Help with editing string elements

Hi All I have a question. I would like to edit some string characters by replacing with characters of choice located in another file. For example in sample file>S5_SK1.chr01 NNNNNNNNNNNNNNNNNNNCAGCATGCAATAAGGTGACATAGATATACCCACACACCACACCCTAACACTAACCCTAATCTAACCCTGGCCAACCTGTTT... (9 Replies)
Discussion started by: pawannoel
9 Replies

6. UNIX and Linux Applications

graphical elements under Control-M

Hello Guys... My customer is trying to use Control-M to schedule a batch file that runs my application and executes one Javascript, but he is facing problems with the graphical ellements from my application, that has a splash screen showing the name of the application, the license used and a... (0 Replies)
Discussion started by: ftrapnell
0 Replies

7. Shell Programming and Scripting

just want certail elements

I just want to be able to take every 6 value out of an arrays can someone tell me what i'm doing wrong? the data looks like 1500680,Treverbyn,397,1,2136,4420 and i want the 2 element treverbyn out of every row #hour0.pl my $url = 'http://en19.tribalwars.net/map/tribe.txt'; use... (1 Reply)
Discussion started by: frenchface
1 Replies

8. Shell Programming and Scripting

To return the elements of array

Hi, Please can someone help to return the array elements from a function. Currently the problem I face is that tempValue stores the value in myValue as a string while I need an array of values to be returned instead of string. Many Thanks, Sudhakar the function called is: ... (5 Replies)
Discussion started by: Sudhakar333
5 Replies
Login or Register to Ask a Question
HTML::HTML5::Entities(3pm)				User Contributed Perl Documentation				HTML::HTML5::Entities(3pm)

NAME
HTML::HTML5::Entities - drop-in replacement for HTML::Entities SYNOPSIS
use HTML::Entities; my $enc = encode_entities('fish & chips'); print "$enc "; # fish &amp; chips my $dec = decode_entities($enc); print "$dec "; # fish & chips DESCRIPTION
This is a drop-in replacement for HTML::Entities, providing the character entities defined in HTML5. Some caveats: o The implementation is pure perl, hence in some cases slower, especially decoding. o It will not work in Perl < 5.8.1. Functions "decode_entities($string, ...)" This routine replaces HTML entities found in the $string with the corresponding Unicode character. If multiple strings are provided as arguments they are each decoded separately and the same number of strings are returned. If called in void context the arguments are decoded in-place. This routine is exported by default. "_decode_entities($string, \%entity2char)" "_decode_entities($string, \%entity2char, $expand_prefix)" This will in-place replace HTML entities in $string. The %entity2char hash must be provided. Named entities not found in the %entity2char hash are left alone. Numeric entities are always expanded. If $expand_prefix is TRUE then entities without trailing ";" in %entity2char will even be expanded as a prefix of a longer unrecognized name. $string = "foo&nbspbar"; _decode_entities($string, { nb => "@", nbsp => "xA0" }, 1); print $string; # will print "foo bar" This routine is exported by default. "encode_entities($string)" "encode_entities($string, $unsafe_chars)" This routine replaces unsafe characters in $string with their entity representation. A second argument can be given to specify which characters to consider unsafe (i.e., which to escape). This may be a regular expression. If called in void context the string is encoded in-place. This routine is exported by default. "encode_entities_numeric($string)" This routine works just like encode_entities, except that the replacement entities are always numeric. This routine is not exported by default. "num_entity($string)" Given a single character string, encodes it as a numeric entity. This routine is not exported by default. The following functions cannot be exported. They behave the same as the exportable functions. "HTML::Entities::decode($string, ...)" "HTML::Entities::encode($string)" "HTML::Entities::encode($string, $unsafe_characters)" "HTML::Entities::encode_numeric($string)" "HTML::Entities::encode_numeric($string, $unsafe_characters)" "HTML::Entities::encode_numerically($string)" "HTML::Entities::encode_numerically($string, $unsafe_characters)" Variables $HTML::HTML5::Entities::hex This variable controls whether numeric entities will use hexadecimal or decimal notation. It is TRUE (hexadecimal) by default, but can be set to FALSE. It only affects the encoding functions. Decoding always understands both notations. %HTML::HTML5::Entities::char2entity %HTML::HTML5::Entities::entity2char There contain the mapping from all characters to the corresponding entities (and vice versa, respectively). These variables may be exported. Note that %char2entity is a more conservative set of mappings, intended to be safe for serialising strings to HTML4, HTML5 and XHTML 1.x. And for hysterical raisins, %entity2char does not include the leading ampersands, while %char2entity does. BUGS
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-Entities <http://rt.cpan.org/Dist/Display.html?Queue=HTML- HTML5-Entities>. SEE ALSO
HTML::Entities, HTML::HTML5::Parser, HTML::HTML5::Writer. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT AND LICENCE
Encoding and Decoding Functions Copyright (c) 1995-2006 by Gisle Aas. Copyright (c) 2012 by Toby Inkster. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Entity Tables Copyright (c) 2004-2007 by Apple Computer Inc, Mozilla Foundation, and Opera Software ASA. Copyright (c) 2007-2011 by Wakaba <w@suika.fam.cx>. Copyright (c) 2009-2012 by Toby Inkster <tobyink@cpan.org>. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-06-26 HTML::HTML5::Entities(3pm)