- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for mimetypes (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/resources/crawler/mimetype.xml
Shinsuke Sugaya <******@****.***> 1769245593 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 369 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java
final String mimeType; if (response instanceof HtmlResponse) { mimeType = "text/html"; } else if (response instanceof JsonResponse) { mimeType = "application/json"; } else if (response instanceof XmlResponse) { mimeType = "text/xml"; } else if (response instanceof StreamResponse) { mimeType = "application/octet-stream";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
* @param mimeType The MIME type of the content. * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown. */ protected String getExtensionFromMimeType(final String mimeType) { if (mimeType == null) { return ""; } return switch (mimeType) { case "image/gif" -> ".gif";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final String mimeType = responseData.getMimeType(); if (logger.isDebugEnabled()) { logger.debug("mimeType: {}", mimeType); } if (mimeType == null) { response.contentTypeOctetStream(); return; } if (mimeType.startsWith("text/")) { final String charset = responseData.getCharSet();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
stream(config.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p))); defaultDataMap.put(fessConfig.getIndexFieldRole(), roleTypeList); // mimetype defaultDataMap.put(fessConfig.getIndexFieldMimetype(), mimeType); // title // content // cache // digest // host // site // url // anchor
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (0) -
src/main/webapp/js/chat.js
/** * Get file type icon based on URL or mimetype */ function getFileTypeIcon(url, mimetype) { if (mimetype) { if (mimetype.indexOf('pdf') !== -1) return 'fa-file-pdf-o'; if (mimetype.indexOf('word') !== -1 || mimetype.indexOf('document') !== -1) return 'fa-file-word-o'; if (mimetype.indexOf('excel') !== -1 || mimetype.indexOf('spreadsheet') !== -1) return 'fa-file-excel-o';Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
src/main/assemblies/files/generate-thumbnail
#!/bin/bash cmd_type=$1 url=$2 output_file=$3 mimetype=${4:-} image_size=100x100 target_file=$(echo "$url" | sed -e "s#^file:/*#/#g") check_command() { cmd=$1 cmd_path=$(command -v "${cmd}") if [[ ! -e "${cmd_path}" ]] ; then echo "${cmd} does not exist." exit 1 fi } # Get ImageMagick command (magick for v7, convert for v6) get_imagemagick_cmd() { if command -v magick >/dev/null 2>&1; thenCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
*/ protected boolean isImageMimeType(final ResponseData responseData) { final String mimeType = responseData.getMimeType(); if (mimeType == null) { return true; } return switch (mimeType) { case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true; default -> false; }; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0) -
MIGRATION.md
# Transform to Fess format fess_doc = { "url": doc.get("url", ""), "title": doc.get("title", ""), "content": doc.get("content", ""), "mimetype": doc.get("mimetype", "text/html"), "filetype": doc.get("filetype", "html"), "created": doc.get("@timestamp", ""), "timestamp": doc.get("@timestamp", ""), # Add custom fields as neededCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 12:40:11 GMT 2025 - 23.2K bytes - Click Count (0) -
src/test/resources/thumbnail/test_generate_thumbnail.sh
echo -e "${GREEN}PASSED${NC}" ((TESTS_PASSED++)) else echo -e "${RED}FAILED${NC}" ((TESTS_FAILED++)) fi echo "" echo "--- Mimetype argument tests ---" echo -n "Testing: mimetype is 4th argument... " if grep -q 'mimetype=\${4:-}' "${GENERATE_THUMBNAIL}"; then echo -e "${GREEN}PASSED${NC}" ((TESTS_PASSED++)) else echo -e "${RED}FAILED${NC}" ((TESTS_FAILED++)) fiCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 7.9K bytes - Click Count (0)