That looks doeable. Yes, please provide an example.


-----Original Message-----
From: Tony Yarusso <tonyyarusso at gmail.com>
Sender: tclug-list-bounces at mn-linux.org
Date: Tue, 26 Oct 2010 16:39:28 
To: TCLUG Mailing List<tclug-list at mn-linux.org>
Reply-To: TCLUG Mailing List <tclug-list at mn-linux.org>
Subject: Re: [tclug-list] OT HTML Question

On Tue, Oct 26, 2010 at 4:27 PM, Mike Miller <mbmiller+l at gmail.com> wrote:
> Can he filter it through a perl script (or whatever) that finds a certain
> regexp that identifies the desired position in the page and adds a name
> tag at that point:
>
> wget -O - URL | perl -pe 's/(unique regexp)/<a name="position">$1/' > file.html
>
> Then load file.html#position

Absolutely.  I actually have some stuff I've written that does very
similar tasks in Python.  Poke me if I haven't produced some kind of
sample in the next 24 hours.

 - Tony

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list at mn-linux.org
http://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.