Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Configuring Sitemap Files for Primo VE

    Primo VE allows you to expose your library's unique materials to search engines (such as Google) so that users are directed back your Primo VE interface. Sitemap files allow Web crawling tools (such as Google) to find Primo records that are dynamic (as a result of search queries) and to index them. The following publishing profiles allow you to define up to three sitemap files that allow you create back links to different views or domain names within your Primo VE environment:

    • Publish Primo VE records to Google – I

    • Publish Primo VE records to Google – II

    • Publish Primo VE records to Google – III

    Each of the above jobs will create or update the following files on your UI's server:

    1. robots.txt – This is the main file that Web crawlers (such as for Google) may use use to index Web sites. It contains a link to your institution's siteindex.xml file that contains the links to your sitemap.xml files.

      sitemap: https://myu.primo.exlibrisgroup.com/view/scholar/siteindex.xml

       

      User-agent: *

      Allow: /

      Example robots.txt File

      To view the contents of the robots.txt file, enter the following URL in your browser: 

      <Primo_VE_domain>/robots.txt

      For example: https://mylibrary.primo.exlibrisgroup.com/robots.txt

    2. siteindex.xml – This file contains links to each of the publishing profile's sitemap files, which contain the links to records in Primo.

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">    
          <sitemap>
              <loc>https://myu.primo.exlibrisgroup.com/view/scholar/PrimoVE-I/sitemap?map=2</loc>
              <lastmod>2020-05-20</lastmod>
          </sitemap>
          <sitemap>
              <loc>https://myu.primo.exlibrisgroup.com/view/scholar/PrimoVE-I/sitemap?map=1</loc>
              <lastmod>2020-05-20</lastmod>
          </sitemap>
          <sitemap>
              <loc>https://myu.primo.exlibrisgroup.com/view/scholar/PrimoVE-II/sitemap?map=2</loc>
              <lastmod>2020-05-20</lastmod>
          </sitemap>
          <sitemap>
              <loc>https://myu.primo.exlibrisgroup.com/view/scholar/PrimoVE-II/sitemap?map=1</loc>
              <lastmod>2020-05-20</lastmod>
          </sitemap>
      </sitemapindex>

      Example siteindex.xml File

      To view the contents of a sitemap.xml file, enter its URL in a browser. For example: 

      https://myu.primo.exlibrisgroup.com/view/scholar/PrimoVE-I/sitemap?map=2
    3. sitemap.xml – These files contain the links to each record's full display page. Each sitemap.xml file holds a maximum of 10,000 URLs. To support multiple sitemap.xml files, each file contains a mapping index (map=1, 2, and so forth).

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <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/site....9/sitemap.xsd">
          <url>
              <loc>myu.primo.exlibrisgroup.com/discovery/fulldisplay/alma991000604839702971/01MY_INST:TBD</loc>
      </url>        
      <url>
              <loc>myu.primo.exlibrisgroup.com/discovery/fulldisplay/alma991006851269702971/01MY_INST:TBD</loc>
      </url>        
      <url>
              <loc>myu.primo.exlibrisgroup.com/discovery/fulldisplay/alma991008042979702971/01MY_INST:TBD</loc>
      </url>
      </urlset>

      Example sitemap.xml File
     
    To configure a sitemap file:
    1. Open the Publishing Profiles page (Configuration Menu > Discovery > Publishing > Publishing Profiles).

      PVE_PubProfilesPage.png

      Publishing Profiles Page
    2. Edit a Publish Primo VE records to Google – <x> publishing profile.

      PVE_PubPVE_To_Google.png

      Publish Sitemap Files for Indexing by Internet Search Engines
    3. In the Publishing Parameters section, specify the following fields:

      • Status – Select the status of the publishing profile job: Active or Inactive.

      • Hostname – Specify your Primo VE domain to which you want crawled and linked back to by search engines,

      • View – Select the view to which you want crawled and linked back to by search engines.

      • Scheduling – With this release, you must run the job manually as needed. Scheduling will become available in a future release.

    4. In the Content section, specify the following field:

      • Search profile – Select the search profile that you want to include in the sitemap file.

        • For consortia, include only search profiles from local institutions.

        • It is recommended to publish your library's unique materials (such as special collections, dissertations, and so forth) since search engines will most likely not publish your entire catalog.

    5. Select Save.

    • Was this article helpful?