[Israel.pm] web forum markup language
Yosef Meller
mellerf at netvision.net.il
Tue Jun 15 02:51:11 PDT 2004
Ishay Inbar wrote:
> Hi,
> I think you should look into www.perlmonks.com. Writing messages there includes HTML abilities, but when you want to write code you
> wrap it with <CODE></CODE> and it looks like code.
However, in Perl Monks you also have to escape HTML yourself (i.e.
replace <> with <>) unless it's inside <code> tags.
You could try a diostinction between two kinds of parens. Many web
forums use brackets for markup ( [code] [/code] [b] [i] [/i] [/b] ) and
escape all the rest (But I don't remmember how they escape [] ). You
should look at forums using "vB forums" - I think www.gentoo.com is one
of them.
And from my experience with PM, you really don't need that much tags
because the content is what matters anyway. You just need enough
formatting to make it convenient to read.
--
perl -e'$b=unpack"b*",pack"H*","59dfce2d6b1664d3b26cd9969503";
for(;$a<length$b;$a+=9){print+pack"b8",substr$b,$a,8;}'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://perl.org.il/pipermail/perl/attachments/20040615/8fe72aff/attachment.pgp
More information about the Perl
mailing list