An API for index.html contents?
An API for index.html contents?
- Subject: An API for index.html contents?
- From: Lorenzo <email@hidden>
- Date: Fri, 24 Jun 2005 16:03:37 +0200
Hi,
I have been trying to get the content list of a folder on my web site using
url = [NSURL URLWithString:@"http://www.mydomain.com/myFolder/"];
index = [NSString stringWithContentsOfURL:url];
but I get an HTML tagged file and not a mere text list of the content as
..
file_a.jpg
file_b.jpg
folder_a
xfile_c.jpg
Basically I have to scan myFolder and (eventually) its subfolders in order
to get all the files with extensions jpg. And yes, myFolder lets me list its
content. It should be fine to have an API like
[manager directoryContentsAtPath:myfolderPath]
but working even with URL. Do you know how to do?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden