[Po4a-devel][CVS] po4a html-build-upload.sh,NONE,1.1
Jordi Vilalta
jvprat@wanadoo.es
Thu, 12 Aug 2004 02:40:24 +0200 (CEST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1463811584-115137580-1092271224=:23890
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Sun, 1 Aug 2004, Martin Quinson wrote:
>> On Fri, Jul 30, 2004 at 01:56:46AM +0200, Jordi Vilalta wrote:
>>>
>>> The biggest issue I found with mpod2html is that it searches the modules'
>>> description in sections that begin with "NAME", but in translated
>>> documents it doesn't exist, and then it says those modules have no
>>> description. Everything else is fine.
>
> Never let a perl script stand on your way ;)
>
> The hack is crude, but I lack the time to implement a real option...
I've finaly implemented that. At least it works (it's used in the last
commited html-build-upload.sh).
I attach the diff for MarekPodHtml-0.49. Maybe I'll add some documentation
and send it to Marek.
Regards,
Jordi Vilalta
---1463811584-115137580-1092271224=:23890
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="mpod2html.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.60.0408120240240.23890@r2d2.localdomain.com>
Content-Description:
Content-Disposition: attachment; filename="mpod2html.diff"
ZGlmZiAtdXIgTWFyZWtQb2RIdG1sLTAuNDkvbGliL01hcmVrL1BvZC9IVE1M
LnBtIE1hcmVrUG9kSHRtbC0wLjQ5YS9saWIvTWFyZWsvUG9kL0hUTUwucG0N
Ci0tLSBNYXJla1BvZEh0bWwtMC40OS9saWIvTWFyZWsvUG9kL0hUTUwucG0J
MjAwMy0wMS0xNiAyMTo0OTowMC4wMDAwMDAwMDAgKzAxMDANCisrKyBNYXJl
a1BvZEh0bWwtMC40OWEvbGliL01hcmVrL1BvZC9IVE1MLnBtCTIwMDQtMDgt
MTIgMDI6MTA6NDEuMTQ1NzgyODcyICswMjAwDQpAQCAtMzE5LDYgKzMxOSw3
IEBADQogICAgIF9kZWZhdWx0KFwlb3B0cywgJy1zdHlsZXNo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