5 个仓库
Extracting values from custom HTML data attributes to use as data for indexing, searching, or sorting.
Distinct from Custom Callback Attribute Mapping: Unlike candidate [f0_mt5] which maps attributes to logic callbacks, this is about extracting data values for search indexing.
Explore 5 awesome GitHub repositories matching web development · HTML Data Attribute Extraction. Refine with filters or upvote what's useful.
list.js is a JavaScript search and sort library used to add real-time filtering, sorting, and pagination to HTML lists and tables without backend dependencies. It functions as a DOM data indexer and template-driven HTML renderer, allowing developers to manage how data is displayed and discovered on the client side. The library distinguishes itself through a fuzzy string matching engine that handles approximate matches and typos, and a DOM data indexer that extracts values directly from HTML data attributes to build a searchable internal index. It uses a template-driven rendering system to gen
Extracts values from custom HTML data attributes to build a searchable internal index of list items.
Pup is a command line tool for extracting and filtering data from HTML documents using CSS selectors. It functions as a parser and selector engine that isolates specific elements based on tags, IDs, classes, and attributes. The project provides utilities for converting selected HTML nodes into plain text, attribute values, or structured JSON objects. It includes a markup formatter that corrects missing tags and applies consistent indentation to improve the readability of HTML documents. The tool handles the retrieval of text content and attributes through a CSS selector engine, supporting co
Retrieves the values of specific attribute keys from all selected HTML nodes.
htmlq is a suite of command-line utilities for querying and extracting data from HTML documents using CSS selectors. It functions as a query language tool for HTML structures and attributes, providing a way to retrieve specific information from documents via the terminal. The tool provides capabilities for extracting text content, specific HTML attributes, and document fragments. It includes an HTML document formatter for cleaning and reformatting output with consistent indentation, as well as utilities for stripping tags to isolate plain text. The software handles structural HTML processing
Retrieves the values of specific HTML attributes from elements matching a CSS selector.
layzr.js 是一个 JavaScript 图像懒加载库,旨在通过延迟图像下载直到其进入浏览器视口来提高初始页面加载速度。它作为一个响应式图像选择器,根据浏览器支持和设备像素比识别最合适的图像源。 该库采用响应式图像交付系统,评估数据属性以选择最佳源。它包含一个动态内容跟踪机制,监控文档中新添加的图像,以确保它们自动添加到加载队列中。 该项目通过 Intersection Observer API 提供可见性跟踪,并包含一个强制手动视口刷新的实用工具。它还具有一个事件发射器,允许在图像源更新前后通过生命周期钩子执行自定义逻辑。
Implements a system to select the optimal image URL by evaluating custom HTML attributes against device pixel ratios.
Pagefind 是一个静态网站搜索引擎,可索引 HTML 文件以提供基于浏览器的搜索体验,无需后端服务器或 API。它由一个多语言搜索索引器和一套用于渲染搜索输入和结果列表的预构建、可定制 UI 组件组成。 该系统专为全球内容设计,利用多语言搜索索引器检测页面语言并创建独立的索引包,以提供特定语言的词干提取和结果。它通过使用压缩索引并将查询执行卸载到 Web Worker 来进一步优化性能,以保持用户界面的响应速度。 该工具涵盖了广泛的索引和检索功能,包括处理 PDF 和 JSON 等多样化内容类型的能力,以及基于自定义元数据的分面搜索过滤。它提供了结果相关性调整、用于提高准确性的页面分段,以及包含模态框、过滤面板和术语高亮显示的综合 UI 套件。 该项目包括用于本地站点服务和诊断游乐场导出的开发者工具,以调试索引行为。
Includes the values of specified HTML attributes as searchable text inline with the element content.