https://github.com/data-miner00/sitemap.pretty
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: aps.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: data-miner00
- License: mit
- Language: XSLT
- Default Branch: master
- Homepage: https://data-miner00.github.io/sitemap.pretty/
- Size: 604 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
sitemap.pretty
sitemap.pretty is a collection of stylesheets for sitemap.xml and sitemapindex.xml that adheres to the sitemap protocol.
![]()
Usages
To use the stylesheet, just add the following one liner in the top of your XML file after the XML declaration header.
xml
<?xml-stylesheet href="..." type="text/xsl"?>
The href attribute is where it points to the XSLT stylesheet file. Here are the 3 ways you can do that.
- By CDN.
xml <?xml-stylesheet href="https://cdn.jsdelivr.net/npm/@mumk/sitemap.pretty@latest/dist/vogue.xsl" type="text/xsl"?> - By base 64. The digest can be found in
vogue-encoded.txtthat starts withdata:text/xsl;base64in the release artifact.xml <?xml-stylesheet href="data:text/xsl;base64,PD94b...D4NCg==" type="text/xsl"?> - Host the stylesheet yourself. You can download either
vogue.xslorbasic.xsland host it in your hosting provider.
Getting Started
- Install packages with
npm i. - Build the artifacts with
npm run build. - Run tests with
npm test - Run dev server with
npm run watch:cssandnpm run dev
Technologies
- Grunt.js
- TailwindCSS
- XSLT
- HTML
XSLT
XSLT is the stylesheet for XML files. There are 3 versions:
Despite the fact that XSLT 3.0 is the latest version, most of the browsers only support XSLT 1.0.
The code below prints the XSLT version when opened in the browser:
xml
<p>
XSLT version: <xsl:value-of select="system-property('xsl:version')"/>
</p>
Moreover, in Firefox, it can support XSLT extensions like EXSLT but Chrome does not.
License
Distributed under the MIT License. See LICENSE for more information.
Resources
- Grunt.js
- sitemap.org
- Build and submit a sitemap
- URL Encode and Decode
- XSLT Cheat Sheet
- XSLT 2.0 Cheat Sheet
- cs16.css
- XML Sitemap Stylesheet
- XSLT User Defined Function
- Video Sitemaps
- XSL Transform
- Format a date string with XSLT
- Free Online XSLT Test Tool
- XSLT Tutorial
- Formatting Dates and Times
- XSLT XPath Tutorial
- Introduction to XSLT and XQuery
- https://www.w3schools.com/xml/xsl_elementref.asp
Owner
- Name: Shaun Chong
- Login: data-miner00
- Kind: user
- Location: undefined, Mars
- Company: Experian
- Website: https://mumk.dev/
- Twitter: Has66771004
- Repositories: 76
- Profile: https://github.com/data-miner00
Full Queue Developer
GitHub Events
Total
- Release event: 3
- Delete event: 4
- Public event: 1
- Push event: 12
- Pull request event: 9
- Create event: 10
Last Year
- Release event: 3
- Delete event: 4
- Public event: 1
- Push event: 12
- Pull request event: 9
- Create event: 10
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 10
- Average time to close issues: N/A
- Average time to close pull requests: about 4 hours
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 10
- Average time to close issues: N/A
- Average time to close pull requests: about 4 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- data-miner00 (10)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- npm 5 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
npmjs.org: @mumk/sitemap.pretty
A collection of stylesheets for sitemap.xml
- Homepage: https://data-miner00.github.io/sitemap.pretty
- License: MIT
-
Latest release: 0.4.1
published over 1 year ago