Skip to main content

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.

Metadata

Release files for oarepo-sitemaps 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oarepo-sitemaps 1.0.0
File Size Uploaded
oarepo_sitemaps-1.0.0.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oarepo-sitemaps 1.0.0
File Interpreter ABI Platform
oarepo_sitemaps-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / oarepo_sitemaps-1.0.0.tar.gz

Download URL oarepo_sitemaps-1.0.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f030d02e3cc28b48e14004f23f03968f15cd39375e04e3bca2336e4893c6bf8
BLAKE2b-256 checksum
How to use checksums
1d1897009486d2f9cbbdaa8e138edda020b2a3ea46d80f633abccb759dfe24f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release files / oarepo_sitemaps-1.0.0-py3-none-any.whl

Download URL oarepo_sitemaps-1.0.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6578a0ba4faf03f8f7f0cdc6a444278f2f699c9e082d42f399f76eb52fdd754
BLAKE2b-256 checksum
How to use checksums
39f849ec7ef44be1e8b928bc699ebd832c2458178d4751fdf4fb722e3bedeb47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page