When HTML santization fails, use the original HTML instead of crashing.
Don't display read icons for access-restricted items.

An item is considered as access-restricted if any of its files is private.

Also switcheed from using meta.xml to metadata API.
Switched to new affiliate program of AbeBooks.
Fixed the unicode error in sanitinizng html.

avoid sanitinization on error and just returning the original html.
Ok, the error was caused by Genshi. Failing over to BeautifulSoup in case of UnicodeDecodeError.
Fixed an error.
Fixed the sitemap generation script.

Now it takes the dump as input.
siteindex is not at /static/sitemaps/siteindex.xml.gz
minor change
Simplified the sitemaps script.

It takes dump as input and writes the sitemap files to sitemaps/ dir.
removed obsolete sitemap.sh script
Made links https safe.

* Repalced http://archive.org/ and http:/www.archive.org/ links with //archive.org
* Replaced http://openlibrary.org/ links with /
More https fixes
Fix redirects with https.
Using protocol relative URLs for linking covers.
redirect to https://archive.org/.. when the large cover is requested via https.
https middleware for coverstore-server.
Fixed https_middleware that was setting url_scheme to https always.
fixed https middleware in coverstore-server.
Fixed recaptcha on https.

Using protocol relative URL for recaptcha.