Quote:
Originally Posted by AtomicDryad
ID files are supported already via your friendly neighborhood unix shell: fflag -f epub `cat mylistofurls.txt`
|
I'm ashamed that I've forgot about that one. Then again, my main use for that syntax is: cat `which braindead-script.sh` on a particularly frustrating AIX server.
Quote:
Originally Posted by AtomicDryad
I'm mostly concerned with the cruddy state of the various regexp used; I've only just looked into php and it's quirky regex functionality (compared to perl). I'm thinking that a true HTML parser should be used for alot of this stuff as using css selectors is probably more reliable.
|
Agreed. Something like:
PHP Code:
$doc = new DOMDocument();
$doc->loadHTML($chapter_contents);
$story_text = $doc->getElementById('storytext');
or something like the XPaths functions.
Quote:
Originally Posted by AtomicDryad
I'm curious to hear from erayd about the possibility of throwing this up on code.google.com svn, and collaborative coding in general.
|
Seconded.
N.