hi,

I have this html:

<table border="0" cellpadding="2" width="100%">
<tr><td bgcolor="#777777" width="50%"><b>Server Name </b></td><td 
bgcolor="#777777" width="20%"><b>Server Status</b></td><td 
bgcolor="#777777" width="15%"><b>Active Connections</b></td><td 
bgcolor="#777777" width="15%"><b>Idle Connections</b>
</td></tr><tr>
<td align="char" bgcolor="#DDDDDD" width="50%"><a 
href="/dbservers/edit/documents">documents</a></td><td bgcolor="#DDDDDD" 
width="20%"><font color="green">Online</font></td><td bgcolor="#DDDDDD" 
width="15%">0/20
</td><td bgcolor="#DDDDDD" width="15%">1/10
</td></tr><tr>
<td align="char" bgcolor="#BBBBBB" width="50%"><a 
href="/dbservers/edit/flexplan">flexplan</a></td><td bgcolor="#BBBBBB" 
width="20%"><font color="green">Online</font></td><td bgcolor="#BBBBBB" 
width="15%">0/20
</td><td bgcolor="#BBBBBB" width="15%">2/10
</td></tr><tr>
<td align="char" bgcolor="#DDDDDD" width="50%"><a 
href="/dbservers/edit/repository_server">repository_server</a></td><td 
bgcolor="#DDDDDD" width="20%"><font color="green">Online</font></td><td 
bgcolor="#DDDDDD" width="15%">0/20
</td><td bgcolor="#DDDDDD" width="15%">3/10
</td></tr></table>

and using mojo I can (very) easily fetch one field like this:

$ mojo get http://user:[email protected]:8000/dbservers 'td 
[color=green]' text
Online
Online
Online

But how can I get all the fields of every row? Is it possible? Or do I need 
to use something like HTML::TableExtract for this?

Thanks in advance for hint.

-- 
natxo


-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to