Yahoo Groups archive

Homebrew PCBs

Index last updated: 2026-04-05 19:38 UTC

Message

RE: [Homebrew_PCBs] creating webpages (was: Re: Anybody - - Laser printer fuser method)

2004-07-16 by Dave Hylands

Hi Stefan,

> How do you guys make webpages?
> I speak HTML but i'd like to cut corners.
> I need and want no fancy stuff, plain, even frameless html is 
> wanted. saving as html out of a word procssor creats junk 
> code, i do not like that. Is there a simple editor that 
> allows me to enter the text, and easily place headlines and 
> pictures, maybe inserting a simple table here and there? It 
> MUST produce clean code. I know it is OT but some of you have 
> pages and surely know how to do it 
> efficiently.
> In the end it benefits PCB_making.

I use Microsoft FrontPage for some stuff
(http://www.vancouverroboticsclub.org/)

For my personal web site: Http://www.DaveHylands.com/ I wrote a perl
script which parses a text file containing stuff like this:

---- Start of snippet ----
Title: Stinger
   Stinger is my first attempt at building a low profile mini-sumo. I
would say that
   it was successful, as Stinger came in 2nd place at the 
   <a href="http://www.robotgames.com/">Western Canadian Robot Games</a>
in Calgary.

Image: 01-Base.jpg      Base
     The Base is machined out of PVC. I happened to have some on hand
and decided
    to try it out. The notch in the front was a goof where I didn't have
the material
    clamped tightly enough during machining. The big holes in the middle
are to allow 
    air cooling of the motor drivers and CPU board.
---- End of snippet ----

You can see the result of the above by looking here:
http://www.DaveHylands.com/Robotics/Stinger/

And you can see the entire text file that made the set of pages here:
http://www.DaveHylands.com/Robotics/Stinger/Pages.txt
You'll probably need to use wget or something similar to download it and
preserve the line endings.

It uses a package called ImageMagick http://www.imagemagick.org/ to
downsample my full sized photos and create 50% versions and thumbnails.
I use cygwin under Windows and there are references to a couple of
cygwin apps in the script as well (cp, cmp, cygpath, mkdir)

I've always meant to write up something that describes how it works and
make the script available on my web site, but I haven't done so yet. In
the meantime, I'd be happy to send you the script along with some
samples and stuff.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.