Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oarepo-sitemaps

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oarepo-sitemaps

OARepo rdm records data model

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

OARepo sitemaps

image image image image

Instalation

    pip install oarepo-sitemaps

Usage

OARepo module that creates sitemap for a repository. Sitemap includes only records, that are in state "published" and can be viewed by public. Created sitemap is accessible on server/sitemap.xml url.

Configuration

Default number of record per one sitemap is 10000, this can be changed in configuration with 'SITEMAP_MAX_URL_COUNT set to a different number.

Example

<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
 <url>
  <loc>http://localhost:5000/cesnet/records/1</loc>
  <lastmod>2021-05-24</lastmod>
  <changefreq>weakly</changefreq>
  <priority>1</priority>
 </url>
 <url>
  <loc>http://localhost:5000/cesnet/records/2</loc>
  <lastmod>2021-05-24</lastmod>
  <changefreq>weakly</changefreq>
  <priority>1</priority>
 </url>
</urlset>

Changes

Version 1.0.0

  • Initial public release.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc