html

Some LaTeX examples (line spacing, vertical fonts, list)

Well, on my "day off" yesterday, I spent a little time getting some LaTeX code samples out here so I could find them more easily. Here's a list of the examples I created:

Fri, Sep 5, 2003

Today I ran into a situation where an old program I wrote is useful once again, but this time in a different context than the original need. At first I needed this utility method to convert extended characters to their ISO Latin equivalents for the HTML world, but today I need it to convert things in the XML world. I can't say I ever anticipated this need, because XML was but a dream back then, but it's good to know that it's still useful.

Java HTML character conversion method

Here's the source code for a Java method that converts a given String into an equivalent new String, where characters that cause problems when rendered as HTML have been converted to their ISO Latin equivalent:

 

Tue, Jan 14, 2003 (anti-spam software)

Find of the day yesterday: probably nothing new to others who are familiar with the spam industry, but while working on a different problem, I noticed yesterday that spammers are embedding HTML comments in the middle of almost every word in some of the spam email I receive! (At some point, why don't these people look in the mirror, and see that they're stooping so low, and doing something so wrong?)

Looking at the raw text of one message I received, sent to my "unix" email account, the raw text looked like this:

Tue, June 18, 2002

I'm still living in the Perl world, and that's a good thing. Did I mention that Perl rules for text processing?! Perl is the technology that enables "smart news", or whatever I choose to call it (other name candidates: filtered news, robonews, newsbot).

Mon, June 17, 2002

Perl continues to rule the world, at least the text-processing world. The latest example is HTML::TokeParser, which lets me easily extract HREF's from documents. With this much-improved document parser and the search engine set up, I hope some form of smartnews/robonews will be available soon.

HTML Validation Service (Wed, Apr 24, 2002)

If you haven't seen it, w3.org offers an HTML Validation Service for free that is pretty cool. Give it a URL, and it calls the URL and checks the document for errors and HTML validity. Of course this page bombed the big one, but I'm still in a major rebuild process here, so I'm not sweating too much as long as it renders in IE and Mozilla. They also offer a CSS Validator that I haven't had a chance to test yet. That one also appears to offer a download.

Syndicate content