🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.tcl
Article #192

Re: parsowanie stron www

#192
From: Wojciech Kocjan
Date: Wed, 12 Oct 2005 06:31
14 lines
1316 bytes
On Fri, 07 Oct 2005 17:11:23 +0200, Miszczu <Miszczu@ble.ble> wrote:

> Probuje napisac pareser stron www, mam jednak maly klopot, czy istnieje
> jakis prosty sposob zeby z danego kawalka strony pozbyc sie wszystkich
> znacznikow html typu <b> <p> <a href...> itp itd
>
> Fajnie by bylo gdybym mogl to zrobic np poprzez
> string map { <*> "" } $zrodlo
> Ale jakos nie dziala ;)

regsub -all "<.*?>" $zrodlo "" zrodlo

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Technical Details
Message-ID: <op.syisfjx1vty0o5@awk009-01>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news2.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <di5s49$1t7$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news2.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Wojciech Kocjan" <hceijcow.backward@najcok.backward.org>
Newsgroups: pl.comp.lang.tcl
Subject: Re: parsowanie stron www
Date: Wed, 12 Oct 2005 08:31:57 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 14
Message-ID: <op.syisfjx1vty0o5@awk009-01>
References: <di5s49$1t7$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: dq2.dataquest.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1129098725 4230 195.116.54.236 (12 Oct 2005 06:32:05 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 12 Oct 2005 06:32:05 +0000 (UTC)
User-Agent: Opera M2/8.50 (Win32, build 7700)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit