Forum Navigation
You need to log in to create posts and topics.

De-Archiving (continued, XCode)

Posted by: artlythere <artlythere@...>

On Dec 9, 2011, at 2:48 AM, Robert Covington wrote:


Below is the gist from some open source (Zip further on down, 115k)
Now in the case of the one archive, it processes it just fine. But in the case of the one with SubFrameArchives inside...it does not.

 

Ok, so there was this one archive from a photographer's book and resume site, and his unique uses of frames was bypassedin WebArchiveExtractor.
So, I added a loop for the SubFrameArchives (now showing the correct number of 5 in NSLog, I did this piecemeal) and processed them recursively as subarchives, found the right number of resources , and voila...now working.
 
WebArchiveExtractor is flawed (incomplete) in that it only seeks the main resource and sub resources, it does not seek SubFrameArchives. (wrote the author)
 
First Cocoa anything I've ever 'fixed' though. 
Thanks for XIBEdit Bernie, but that's rocket science, I am lost in that puppy.  
rc

To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]