5 Repos
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 ist eine JavaScript-Bibliothek für Lazy Loading von Bildern, die die initiale Seitenladezeit verbessert, indem der Download von Bildern verzögert wird, bis sie in den Viewport des Browsers gelangen. Sie fungiert als responsiver Bild-Selektor, der basierend auf Browser-Unterstützung und Pixeldichte des Geräts die am besten geeignete Bildquelle identifiziert. Die Bibliothek nutzt ein System für responsive Bildauslieferung, das Datenattribute auswertet, um optimale Quellen auszuwählen. Sie enthält einen Mechanismus für dynamisches Content-Tracking, der das Dokument auf neu hinzugefügte Bilder überwacht, um sicherzustellen, dass diese automatisch zur Lade-Queue hinzugefügt werden. Das Projekt bietet Sichtbarkeits-Tracking über die Intersection Observer API und enthält ein Utility, um manuelle Viewport-Refreshes zu erzwingen. Zudem verfügt es über einen Event-Emitter, der es ermöglicht, benutzerdefinierte Logik über Lifecycle-Hooks vor und nach der Aktualisierung von Bildquellen auszuführen.
Implements a system to select the optimal image URL by evaluating custom HTML attributes against device pixel ratios.
Pagefind is a static site search engine that indexes HTML files to provide a browser-based search experience without the need for a backend server or API. It consists of a multilingual search indexer and a set of prebuilt, customizable user interface components for rendering search inputs and result lists. The system is designed for global content, utilizing a multilingual search indexer that detects page languages and creates independent index bundles to provide language-specific stemming and results. It further optimizes performance by using a compressed index and offloading query execution
Includes the values of specified HTML attributes as searchable text inline with the element content.