Fix a rare case where we'd get two "end" stories.
Now we don't look for the end until we're done collecting links,
and we always rewrite the last link to be "end".
Handle POST queries and HTML format output.
Eventually we'll be able to run this as a CGI,
to run feedme on a remote server and download only the
small simplified HTML files.
Fix a misindentation problem:
URLs on the device weren't getting stored because
somehow that line had gotten indented too much.