{"id":15022958,"url":"https://github.com/jeremenichelli/eleventy-xml-plugin","last_synced_at":"2025-09-08T14:43:53.041Z","repository":{"id":35012493,"uuid":"196458857","full_name":"jeremenichelli/eleventy-xml-plugin","owner":"jeremenichelli","description":"👩‍🔬 Useful set of Liquid filters for XML files composition in Eleventy projects","archived":false,"fork":false,"pushed_at":"2024-09-30T12:52:02.000Z","size":12,"stargazers_count":6,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T00:35:58.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremenichelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-11T20:10:14.000Z","updated_at":"2024-09-30T12:50:57.000Z","dependencies_parsed_at":"2024-11-16T18:16:39.120Z","dependency_job_id":null,"html_url":"https://github.com/jeremenichelli/eleventy-xml-plugin","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":0.6666666666666667,"last_synced_commit":"af3cbf3de4b76944b465c3ecd3803ec1fa81d474"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremenichelli%2Feleventy-xml-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremenichelli%2Feleventy-xml-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremenichelli%2Feleventy-xml-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremenichelli%2Feleventy-xml-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremenichelli","download_url":"https://codeload.github.com/jeremenichelli/eleventy-xml-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233992044,"owners_count":18762568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T19:58:34.790Z","updated_at":"2025-01-15T04:15:14.238Z","avatar_url":"https://github.com/jeremenichelli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eleventy-xml-plugin\n\n[![Build Status](https://travis-ci.org/jeremenichelli/eleventy-xml-plugin.svg?branch=master)](https://travis-ci.org/jeremenichelli/eleventy-xml-plugin)\n\n👩‍🔬 Useful set of Liquid filters for XML files composition in Eleventy projects.\n\n_This plugins automatically adds a set of filters that Jekyll adds to the already built-in ones in Liquid template language to help you compose XML files like RSS feeds or sitemaps._\n\n## Install\n\n```sh\n# npm\nnpm i eleventy-xml-plugin --save\n\n# yarn\nyarn add eleventy-xml-plugin\n```\n\n## Add plugin\n\nInclude it as a plugin in your [Eleventy](//11ty.io) project.\n\n```js\n// .eleventy.js\nconst xmlFiltersPlugin = require('eleventy-xml-plugin')\n\nmodule.exports = function(eleventyConfig) {\n  eleventyConfig.addPlugin(xmlFiltersPlugin)\n}\n```\n\n## Filters\n\n### `date_to_rfc822`\n\nUsed in RSS feed as a valid publish date format.\n\n```liquid\n\u003cpubDate\u003e{{ post.date | 'date_to_rfc822' }}\u003c/pubDate\u003e\n```\n\n### `date_to_xmlschema`\n\nUsed in sitemaps as valid last modified date format.\n\n```liquid\n\u003clastmod\u003e{{ page.date | 'date_to_xmlschema' }}\u003c/lastmod\u003e\n```\n\n### `xml_escape`\n\nUsed to safely escape HTML entities in XML files.\n\n```liquid\n\u003ctitle\u003e{{ post.data.title | 'xml_escape' }}\u003c/title\u003e\n```\n\n_This filter uses the [html-entities](https://www.npmjs.com/package/html-entities) package under-the-hood_.\n\n\n## Contributing\n\nTo contribute [Node.js](//nodejs.org) and [yarn](//yarnpkg.com) are required.\n\nBefore commit make sure to follow [conventional commits](//www.conventionalcommits.org) specification and check all tests pass by running `yarn test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremenichelli%2Feleventy-xml-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremenichelli%2Feleventy-xml-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremenichelli%2Feleventy-xml-plugin/lists"}