-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathen-US.dtd
More file actions
1 lines (1 loc) · 2.7 KB
/
en-US.dtd
File metadata and controls
1 lines (1 loc) · 2.7 KB
1
<!ENTITY site.title "The DTLite Project"><!ENTITY logo "img/logo.png"><!ENTITY site.tagline "Bringing Document Type Definitions to the Modern and Legacy Web."><!ENTITY site.brag "Verification: This entire page is rendered via DTLite. View the source to see the entities in action!"><!ENTITY sec.how.title "How It Works"><!ENTITY sec.how.desc "DTLite scans the HTML Document Object Model (DOM) for custom entities defined in an external DTD file. It uses a recursive resolution engine to replace placeholders (e.g., &example;) with their defined values across text nodes and attributes."><!ENTITY sec.feat.title "Features"><!ENTITY feat.1 "Zero-Dependency: No libraries or frameworks required."><!ENTITY feat.2 "Recursive Resolution: Entities can contain other entities."><!ENTITY feat.3 "Attribute Injection: Works in href, title, alt, and placeholder tags."><!ENTITY feat.4 "Small Footprint: Under 1KB minified."><!ENTITY sec.comp.title "Compatibility"><!ENTITY comp.desc "DTLite is engineered for extreme cross-browser compatibility. It is functional on all modern browsers and Firefox 52. Support is planned to arrive soon for:"><!ENTITY comp.list "Internet Explorer 6+, Netscape Navigator 7, Firefox 1.0+, and all other legacy browsers."><!ENTITY sec.uses.title "Use Cases"><!ENTITY use.1 "Localization: Maintain one HTML file for multiple languages."><!ENTITY use.2 "Theming: Manage design tokens (colors, URLs) in a single source of truth."><!ENTITY use.3 "Minification: Reduce payload size by aliasing repetitive structures and long strings."><!ENTITY sec.start.title "Quick Start Guide"><!ENTITY start.step1 "1. Add the script to your <head>:"><!ENTITY start.code1 "<script src="https://worldmicrotechnologies.github.io/DTLite/dtlite.min.js"></script>"><!ENTITY start.step2 "2. Either link an external DTD file:"><!ENTITY start.code2 "<link rel="dtd" href="en-US.dtd">"><!ENTITY start.step3 "3. Or use an inline block for zero-file magic:"><!ENTITY start.code3 "<script type="text/dtd"><!ENTITY hi "Hello"></script>"><!ENTITY sec.limit.title "Limitations"><!ENTITY limit.1 "Initial Flash: On very large pages, raw entities may be visible for a split second before the script executes."><!ENTITY fix "(fixed)"><!ENTITY limit.2 "Reserved Symbols: Standard HTML entities (like &copy;) are ignored to prevent browser conflicts."><!ENTITY sec.os.title "Open Source"><!ENTITY os.desc "DTLite is open-source software. We believe in a free, accessible, and decentralized web."><!ENTITY error "404 Not Found"><!ENTITY error.desc "The requested URL was not found on this server."><!ENTITY year "2026"><!ENTITY wmt "World Micro Technologies, Inc."><!ENTITY site.footer "© &year; &wmt;">