--Apple-Mail=_694CA39B-2B61-45A5-8934-3BAC338B6F2A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

On 9 =CE=91=CF=85=CE=B3 2013, at 09:21 , Mak K. <lists / ruby-forum.com> =
wrote:

> Dear Professionals !
>=20
> HTML-page has a tag:
>=20
> <li>
> <div class=3D"itemLabel">NAME</div>
> <div class=3D"itemValue"><%=3D @fmod.NAME %></div>
> </li>
>=20
> How to insert(in the Ruby program) almost same tags after this tag =
with
> other parameters than NAME ?

Not sure what are you trying to do, create the example above or scrap =
it? If you want to scape it use Nokogiri, if you want to create it, you =
can use many languages that produce HTML: ERB, HAML, SLIM, etc.

in HAML would be:

%li
  .itemLabel NAME
  .itemValue=3D @fmod.NAME


See here: http://haml.info/tutorial.html and http://html2haml.heroku.com

>=20
> Warm Wishes
>=20
> --=20
> Posted via http://www.ruby-forum.com/.


Regards,

Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5
--
The wise man said: "Never argue with an idiot. They bring you down to =
their level and beat you with experience."


--Apple-Mail=_694CA39B-2B61-45A5-8934-3BAC338B6F2A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJSBKAvAAoJEPy01a8ae/7F+XUP/RTH3U5Zx4b+Pkj+QcJgJ2F0
V2TCiy/NQqTGUKg/fofc/R+6IRIWMcydkn8qFMypkFtiqFz1GIaY9w4QM29UkfED
QGfTgGmtSBkdjQ0asmb2mk9ldO71Kp91v2W0u1xLt2hgoCoPHgfSXkQGgpqD2oFJ
lXif2uc+pcguAKFampw4/PosC6V2w2rNDU+4rh4hLUQneLgJYGIKNOPsWfT6BKOj
pZHz8S3TkahY/KltyGHQ6YfCvZrIaAmdLvPAVFKIsMl/lC9r2QBCw33a98P2Nh3e
vRbxXZl00qthcqe1IpktZ3y8ozoqM+NcThRQQht3Fk87XnK3MDkqKasPo6eHeCB+
q/fzNZCTKMwCebtuJ2r4vWhjha9UvHuWvLZaljLwPCczrZU0rJbVGcoIRtOcDvcO
wMFShKnkr+Z/n6wBSerQcqGUkzze9I0fwKnD33f44ShUmL7WfHng2jh7COI4JjD5
IiLvlUuNxMVPUxn959RETda1qV4KlDAzEgb0hLsC+3AkqHiqnTKK7QFPED1IhZDL
sEuk/6KV0kMgC/b5+GwWsT4pFUoJAqtNiNCAgHO09y8bfi4vlCBdzI9OewwWgMmI
9VN1VE9mQpVtzriSzntn2eAJvIW89FXTVGrxuAOWZYep2du0Z8JKjDSJYmnpEsNK
VFYs3dliKRQLTN5u1K6U
=CT6B
-----END PGP SIGNATURE-----

--Apple-Mail=_694CA39B-2B61-45A5-8934-3BAC338B6F2A--