|
Posted by John Bokma on 12/15/77 11:56
axel@white-eagle.invalid.uk wrote:
> In uk.net.web.authoring John Bokma <john@castleamber.com> wrote:
>> axel@white-eagle.invalid.uk wrote:
>
>>>> See: <http://johnbokma.com/windows/apache-virtual-hosts-xp.html>
>>>> on how to create local versions of your site(s). (Windows XP).
>
>>> A good guide.
>
>> Thanks Axel, I have been working today like crazy to update it to 2.0
>> and fix some minor issues with the 1.3.x version.
>
> Niks te danken :)
:-) I should try to reply to messages when I mark them as todo at least
within a short time frame :-) Anyway, the 2.0 version is up, still
working on PHP though.
[..]
>> Ditto. I use XML for the content, and parse and process it with
>> Perl into HTML. All things that the Perl script can solve it does
>> (like finding out the values for width and height attributes for
>> the img element).
>
> I suppose my approach came from something I originally some years ago.
:-) I once started my own macro language based on LaTeX somewhere in
1997. Later I dropped that approach, and used mostly plain text with
subtle hints, and a smarter parser. Much later (2003) I started to move
to XML but for various reasons it took me almost a year to start using
it in combination with Perl for my johnbokma.com site. The
castleamber.com site still uses the plain text approach.
[..]
> That was interesting especially when someone, ok, mea culpa, was
> rushed/lazy and forget to replace the text 'XXX' markers that had
> been set up for cut-and-paste. The result: Many hits from over the
> world on a press release of little interest to anyone outside a
> limited audience from all over the world and offers to buy the
> URL... not the domain, but specifically the individual deep URL.
> We were bemused, but then found out why... on a search engine search
> for 'XXX' (I think it was Yahoo... it might have been Alta Vista)
> it was turning up in the top ten results.
:-) I have a picture with a horse on my site, and one of the comments
has xxx (as kisses). And yes, I get people looking for horse xxx (I
guess that's special pr0n to get stallions in the mood in horse breeding
programs?)
>> Another script creates the RSS feed (it extracts the title from the
>> page, and uses it as the title for the feed, etc.).
>
>> And another script uploads the stuff using plink (part of PuTTY).
>
> I use scp (well, we use different OS's)... I make an initial copy and
> then ssh in and run an update (delete and move files) script.
Somewhere on my todo list is: find new files, tar those, gzip, and use
plink to tar zx them in the web directory. Currently quite some time is
wasted in building up the connection and breaking it. Not a big issue
though with 10 files, but with 30+ it eats up a lot of time.
>> And all is kicked into action using ant :-)
>
> Yes... that makes a lot of sense.
Ant is weird at first, but it has some nice things. I also use it to
pack perl modules + script(s) + other files into a zip file and mail it
to a customer in one go.
> Although where do you find the time to do all this!? I'm still behind
> uploading a few cat photos taken over a month ago... ag, I'm just a
> lazy toad (my tutor at university always called me that).
By trying to post less on Usenet. But I have a huge "stack" of digital
photos that I have to put on line some day, and countless of pages I
still have to write.
And lazy is good, makes excellent programmers or scientists/engineers in
general. Always looking for shortcuts, so there is more time to do fun
things.
--
John Experienced Perl programmer: http://castleamber.com/
Textpad quick reference card (pdf): http://johnbokma.com/textpad/
Navigation:
[Reply to this message]
|