🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #1230

obróbka html

#1230
From: Wojciech Frybyśu
Date: Mon, 23 Mar 2009 13:57
17 lines
1176 bytes
Mam pytanie, czy są jakieś proste sposoby obróbki html?
ściągam stronę i chce wyizolowac np.:

<td class="slon">
...
</td>

albo

nastepujace po sobie
<a href="(.*)">
.*
<img src=".*">

i oczywiście wyizolowac nazwy grafik i url.

Może jest jakies zwierze co przeszukuje DOM albo coś w tym guście?
Technical Details
Message-ID: <gq84k4$af1$1@atlantis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: Wojciech Frybyśu
 <wfru8548222@pocztaNO-SPAM.iUSUNTOnteria.pl>
Newsgroups: pl.comp.lang.ruby
Subject: obróbka html
Date: Mon, 23 Mar 2009 14:57:34 +0100
Organization: TP - http://www.tp.pl/
Lines: 17
Message-ID: <gq84k4$af1$1@atlantis.news.neostrada.pl>
NNTP-Posting-Host: afci61.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.neostrada.pl 1237816772 10721 95.49.60.61 (23 Mar 2009 13:59:32 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Mon, 23 Mar 2009 13:59:32 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (X11/20070728)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit