https://github.com/data-miner00/sitemap.pretty

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
Last synced: 10 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

sitemap.pretty

sitemap.pretty is a collection of stylesheets for sitemap.xml and sitemapindex.xml that adheres to the sitemap protocol.

thumbnail for the project

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.

  1. By CDN. xml <?xml-stylesheet href="https://cdn.jsdelivr.net/npm/@mumk/sitemap.pretty@latest/dist/vogue.xsl" type="text/xsl"?>
  2. By base 64. The digest can be found in vogue-encoded.txt that starts with data:text/xsl;base64 in the release artifact. xml <?xml-stylesheet href="data:text/xsl;base64,PD94b...D4NCg==" type="text/xsl"?>
  3. Host the stylesheet yourself. You can download either vogue.xsl or basic.xsl and host it in your hosting provider.

Getting Started

  1. Install packages with npm i.
  2. Build the artifacts with npm run build.
  3. Run tests with npm test
  4. Run dev server with npm run watch:css and npm 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

Owner

  • Name: Shaun Chong
  • Login: data-miner00
  • Kind: user
  • Location: undefined, Mars
  • Company: Experian

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

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 68
  • Total Committers: 1
  • Avg Commits per committer: 68.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 68
  • Committers: 1
  • Avg Commits per committer: 68.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Shaun Chong d****0 68

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

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5 Last month
Rankings
Forks count: 12.4%
Stargazers count: 17.0%
Average: 22.7%
Dependent repos count: 25.1%
Dependent packages count: 36.3%
Maintainers (1)
Last synced: 11 months ago