r341 - scripts/trunk

Anderson Lizardo lizardo at linuxfromscratch.org
Tue Jun 28 15:39:28 PDT 2005


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

lizardo at linuxfromscratch.org wrote:
> Author: lizardo
> Date: 2005-06-28 00:26:14 -0600 (Tue, 28 Jun 2005)
> New Revision: 341
> 
> Added:
>    scripts/trunk/manage_news2.pl
>    scripts/trunk/sample_news.txt
> Log:
> [www2] Committed very initial version of manage_news2.pl (and a sample news item to play with :).

Ok guys, here's the first version of manage_news2.pl. The highlights:

- - It uses HTML::TextToHTML instead of HTML::FromText for news content
parsing. I've found TextToHTML's syntax simpler and more readable than
other Wiki-like text parsing tools, specially regarding lists (it aims
to convert unmodified text to HTML). Besides that, TextToHTML is more
powerful (e.g. it's able to parse files, instead of only $strings as
FromText) and is currently maintained.

- - Use of Text::Header for parsing news headers as RFC 822/2068 headers.
It's more flexible than using MIME-Tools.

- - No code for news archiving. That's on purpose, because the news
archiving mechanism has not proven useful (and the news announcements
are archived on mailing lists anyway, as Archaic pointed out).

TODO for the next days:

- - Write documentation for it (allowed syntax, how to post a news item).
- - Integrate it with www2.

Please test it some more and send suggestions/comments. Patches are also
welcome.

BR,
- --
Anderson Lizardo
lizardo at linuxfromscratch.org
http://www.linuxfromscratch.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCwdGgkzNmn+NRHHoRAgwSAKCIaCyP4wwWXMq9FoE97YyK5ulLAQCfRwLE
99ppA9650scxgqBGyspsYIg=
=alUy
-----END PGP SIGNATURE-----

	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/



More information about the website mailing list