private Map<String, String> extractFieldsFromOneFile(File f, WebSite webSite)
			throws FileNotFoundException, JSONException {
		JSONObject jsonObject = new JSONObject(new JSONTokener(
				new FileReader(f)));
		Map<String, String> resultingFieldMap = new HashMap<>();

		String content = jsonObject.getString("content");
		Parser parser = new AutoDetectParser();
		InputStream is = null;
		try {
			Metadata metadata = new Metadata();
			// metadata.set(Metadata.AUTHOR, "空号");
			// metadata.set(Metadata.RESOURCE_NAME_KEY, f.getName());
			is = new ByteArrayInputStream(content.getBytes("UTF-8"));
			// ContentHandler handler = new BodyContentHandler();
			CompositeHandler handler = initHandler(webSite, metadata);
			ParseContext context = new ParseContext();
			context.set(Parser.class, parser);
			context.set(HtmlMapper.class, new MyHtmlMapper());
			parser.parse(is, handler, metadata, context);
			resultingFieldMap = handler.getParsedResults();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (SAXException e) {
			e.printStackTrace();
		} catch (TikaException e) {
			e.printStackTrace();
		} finally {
			try {
				if (is != null)
					is.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		resultingFieldMap.put("url", jsonObject.getString("url"));
		return resultingFieldMap;
	}