Quote:
Originally Posted by araevin
I've been here for a bit and I've been going over the work you guys have been doing and I wonder does FF.net have an API? I've been mulling over some of whats been said on this forum for some time and I've really had no luck with stanza I've all but quit.
I've actually got an idea for an iPhone app but was wondering how to interface with the site. What I had wanted to do is quite similar exempt this will be a native app not a php or cgi script.
What I wanted was to be able to basically pull the site down and display it optimized for iPhone screen sizes. cache stories for offline reading or just for speed using CoreData. Basically since FF.net will not optimize their site with css for small screens I want the user to have the option of pulling the whole site into something like a SSB (site specific browser).
Any thoughts or ideas?
|
Alas, no API. Just plain scraping.
If you're willing to give Stanza another try, though, I've coded some
PHP scripts that automatically generates Stanza compatible RSS feeds and calls FLAG to convert stories to EPUB format.
Imho, it's much easier to accomplish things via server side scripting instead of coding an actual Apple-sanctioned iPhone app. For one thing, I believe you need to be running OS X for the iPhone SDK, then there's the whole mystical Apple review process. Even what you want to accomplish can be done via server side scripting. I've actually done something similar, but only for a full browser (basically, the script injects links for epub, lit, mobi and plain/printable html formats). Albeit, I'm planning on modifying the PHP scripts to create an iPhone-friendly output, too. Server-side scripting also makes it faster and easier to release updates for when FanFiction.Net changes something on their website. Much to my dismay, they tend to do that quite a bit.