Re: Extended CHM redux?
| From: | Richard Quadling | Date: | Fri, 18 Feb 2011 13:48:06 +0000 |
| Subject: | Re: Extended CHM redux? | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382516@lists.php.net to get a copy of this message | ||
On 18 February 2011 12:46, Richard Quadling <rquadling@gmail.com> wrote:
> On 17 February 2011 14:24, Richard Quadling <rquadling@gmail.com> wrote:
>> On 17 February 2011 03:44, Philip Olson <philip@roshambo.org> wrote:
>>> Hello everyone,
>>>
>>> Are people here interested in working on the extended CHM? I think the main feature
>>> people liked about it were the user comments... so if that's the case then maybe we can simply
>>> merge them into the CHM HTML and offer it as a "with user comments" version, or, recreate
>>> our old extended version (whatever that was/means, I'm not sure what it requires).
>>>
>>> Thoughts? Here's a related bug report:
>>>
>>> - http://bugs.php.net/48707
>>>
>>> Richard? Kalle?
>>>
>>> Regards,
>>> Philip
>>
>> I'll take this one. I'm creating another format
>> Package_PHP_EnhancedCHM. This extends Package_PHP_CHM to handle
>> retrieval of the all.bz2 file and adding the notes to the bottom of
>> the page in a fashion similar to the online documentation.
>>
>> Once I'm done, I'll commit to trunk for you all to see.
>>
>> Richard.
>
> See http://svn.php.net/viewvc?view=revision&revision=308462
>
> The bzip2.exe binary isn't available from bzip.org. The makefile.msc
> for this app needs a minor amendment to include the manifest file into
> the binary, so the binary can be moved as a single file and not rely
> on the external manifest file.
>
> Changing ...
>
> bzip2: lib
> $(CC) $(CFLAGS) -o bzip2 bzip2.c libbz2.lib setargv.obj
> $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c
>
> to
>
> bzip2: lib
> $(CC) $(CFLAGS) -o bzip2 bzip2.c libbz2.lib setargv.obj
> $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c
> mt -manifest bzip2.exe.manifest -outputresource:bzip2.exe;1
> mt -manifest bzip2recover.exe.manifest -outputresource:bzip2recover.exe;1
>
> will fix that. I can supply the binary if needed (though I'm sure
> anyone with interest in php-windows can compile it if necessary).
>
> I don't know where the windows phd build process resides, but it would
> need to be altered so that --format=enhancedchm was included in the
> build process.
>
> And then the documentation download page to allow for another CHM format.
>
> I've got 4 CHMs if anyone wants to see them without having to build
> them (NormalStyleNoNotes, NormalStyleNotes, NewStyleNoNotes,
> NewStyleNotes).
>
> The file sizes are
>
>
> 11,463,271 NewStyleNoNotes.chm
> 27,283,503 NewStyleNotes.chm
> 11,468,193 NormalStyleNoNotes.chm
> 27,284,901 NormalStyleNotes.chm
>
> An extra 16MB for the notes.
>
> So. If anyone wants to take a look or needs more info, please let me know..
>
> Richard.
http://imagebin.org/138591 shows all 4 combinations.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY