[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Generating HTML in a console application

Ubaldo Villaseca

4/8/2008 11:42:00 PM

I'd like to generate HTML in a console application and I found
http://amrita.sour...
Can you give me other alternatives?

Thanks in advance.

6 Answers

Phillip Gawlowski

4/8/2008 11:57:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ubaldo Villaseca wrote:
| I'd like to generate HTML in a console application and I found
| http://amrita.sour...
| Can you give me other alternatives?
|
| Thanks in advance.
|
|

RedCloth (gem install RedCloth) comes to mind.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan

~ - You know you've been hacking too long when...
...people talk to you while you're trying to work, and you think, "mesg n".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail....

iEYEARECAAYFAkf8BkAACgkQbtAgaoJTgL+QCgCdFjj905ouPiHfHANdfRCQ205v
L2EAoJRs/fJHbwWDEK5SW+ey0Prfqfxj
=sfN0
-----END PGP SIGNATURE-----

Trans

4/9/2008 1:39:00 AM

0



On Apr 8, 7:41 pm, "Ubaldo Villaseca" <villa...@gmail.com> wrote:
> I'd like to generate HTML in a console application and I foundhttp://amrita.sour...
> Can you give me other alternatives?

What are you trying to do?

T.

Marc Heiler

4/9/2008 7:06:00 AM

0

> I'd like to generate HTML in a console application
> Can you give me other alternatives?

This may be obvious, but since you can view a html page just as a
long string, you can generate it in plain ruby too on your own just as
well.

One problem amrita might have compared therein is that the html data
must pre-exist statically, and can not be generated via amrita.
--
Posted via http://www.ruby-....

Ubaldo Villaseca

4/9/2008 2:47:00 PM

0

On Tue, Apr 8, 2008 at 9:39 PM, Trans <transfire@gmail.com> wrote:
>
>
> On Apr 8, 7:41 pm, "Ubaldo Villaseca" <villa...@gmail.com> wrote:
> > I'd like to generate HTML in a console application and I foundhttp://amrita.sour...
>
> > Can you give me other alternatives?
>
> What are you trying to do?
>
> T.
>
>

It's to generate a report which is basically an HTML table. I know I
can generate the HTML using IO calls, but I just wanted to know if
something was made for the same purpose.

Phillip Gawlowski

4/9/2008 3:14:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ubaldo Villaseca wrote:

| It's to generate a report which is basically an HTML table. I know I
| can generate the HTML using IO calls, but I just wanted to know if
| something was made for the same purpose.


Did you take a look at Ruby Reports?

http://oreillynet.com/pub/a/ruby/2008/04/08/ruport-business-reporting-for...

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail....

iEYEARECAAYFAkf83SIACgkQbtAgaoJTgL8wYACghH8ezsHkMMifnSDAPWwU7pdt
6nMAn0aH9dcL24TE9K2vZTl516vcMeFJ
=O/Er
-----END PGP SIGNATURE-----

Julian Leviston

4/10/2008 6:47:00 AM

0


On 10/04/2008, at 12:46 AM, Ubaldo Villaseca wrote:

> On Tue, Apr 8, 2008 at 9:39 PM, Trans <transfire@gmail.com> wrote:
>>
>>
>> On Apr 8, 7:41 pm, "Ubaldo Villaseca" <villa...@gmail.com> wrote:
>>> I'd like to generate HTML in a console application and I foundhttp://amrita.sour...
>>
>>> Can you give me other alternatives?
>>
>> What are you trying to do?
>>
>> T.
>>
>>
>
> It's to generate a report which is basically an HTML table. I know I
> can generate the HTML using IO calls, but I just wanted to know if
> something was made for the same purpose.
>

How about HAML?

Julian.


Learn Ruby on Rails! Check out the FREE VIDS (for a limited time)
VIDEO #3 out NOW!
http://sensei.ze...