The problem with the code is that different web servers will spit out different 
HTML for a directory listing. It works for CrossWire & I stopped at that. There 
is probably a better way of doing it all, but I have up at that point cause my 
c++ skills are way too rusty & I'd prefer to rewrite it all in ObjC instead. 
Which I'll do at some point, if I ever have time. And do it properly ;)

Sent from my phone, hence this email may be short...

On 26/06/2013, at 23:25, Greg Hellings <greg.helli...@gmail.com> wrote:

> 
> 
> 
> On Wed, Jun 26, 2013 at 8:21 AM, Jaak Ristioja <j...@ristioja.ee> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> The greatest bug here is that it tries to parse the webserver
>> directory listing output (which is what I think it does).
>> 
>>   V E R Y   V E R Y   B A D   P R A C T I C E ! ! !
> 
> Parsing server output is bad practice? How in the world did you reach that 
> over-zealous conclusion?
> 
> --Greg
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to