Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 14, 2025

This PR adds comprehensive support for ISFDB (Internet Speculative Fiction Database) identifiers across all entity types in Open Library.

Changes Made

Added ISFDB Support for Authors

Added ISFDB Support for Works

  • Added ISFDB identifier configuration for works/titles with URL pattern: https://www.isfdb.org/cgi-bin/title.cgi?{ID}

Updated ISFDB Support for Editions

  • Updated existing ISFDB configuration for editions to use HTTPS instead of HTTP
  • Maintains existing URL pattern: https://www.isfdb.org/cgi-bin/pl.cgi?{ID}

About ISFDB

The Internet Speculative Fiction Database (ISFDB) is a comprehensive database of science fiction and fantasy authors and works. It serves as an invaluable resource for both users and librarians to:

  • Verify works, editions, and authors
  • Find book covers
  • Access tables of contents
  • Research bibliographic information for speculative fiction

Implementation Details

The implementation follows Open Library's existing identifier system by updating the YAML configuration files:

  • openlibrary/plugins/openlibrary/config/author/identifiers.yml
  • openlibrary/plugins/openlibrary/config/edition/identifiers.yml
  • openlibrary/plugins/openlibrary/config/work/identifiers.yml

Each identifier includes appropriate metadata:

  • Human-readable label
  • URL pattern with @@@ placeholder for the ID
  • Website reference
  • Usage notes where applicable

All changes maintain alphabetical ordering within the configuration files and follow existing conventions.

Fixes #11136.

Copy link
Contributor Author

Copilot AI commented Aug 14, 2025

@mekarpeles 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Co-authored-by: mekarpeles <978325+mekarpeles@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Internet Speculative Fiction Database (ISFDB) identifiers Add ISFDB (Internet Speculative Fiction Database) identifiers support Aug 14, 2025
Copilot AI requested a review from mekarpeles August 14, 2025 21:36
Copilot finished work on behalf of mekarpeles August 14, 2025 21:36
@mekarpeles mekarpeles marked this pull request as ready for review August 14, 2025 22:39
@Copilot Copilot AI review requested due to automatic review settings August 14, 2025 22:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive support for ISFDB (Internet Speculative Fiction Database) identifiers across all entity types in Open Library, enabling users to link authors, works, and editions to this specialized database for science fiction and fantasy materials.

  • Adds new ISFDB identifier configuration for authors and works
  • Updates existing ISFDB configuration for editions to use HTTPS
  • Maintains alphabetical ordering and follows existing configuration patterns

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
openlibrary/plugins/openlibrary/config/author/identifiers.yml Adds ISFDB support for authors with appropriate URL pattern and metadata
openlibrary/plugins/openlibrary/config/edition/identifiers.yml Updates existing ISFDB configuration to use HTTPS instead of HTTP
openlibrary/plugins/openlibrary/config/work/identifiers.yml Adds ISFDB support for works/titles with URL pattern for title lookup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- label: Internet Speculative Fiction Database
name: isfdb
notes: Should be a number
url: https://www.isfdb.org/cgi-bin/title.cgi?@@@
Copy link

Copilot AI Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL pattern uses '@@@' as placeholder while other identifiers in the codebase use '{ID}' format as mentioned in the PR description. Consider using consistent placeholder format across all identifier configurations.

Copilot uses AI. Check for mistakes.
- label: Internet Speculative Fiction Database
name: isfdb
notes: Should be a number
url: https://www.isfdb.org/cgi-bin/ea.cgi?@@@
Copy link

Copilot AI Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL pattern uses '@@@' as placeholder while the PR description mentions '{ID}' format. Consider using consistent placeholder format across all identifier configurations.

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot added the Needs: Response Issues which require feedback from lead label Aug 15, 2025
@mekarpeles mekarpeles merged commit 3527fa1 into master Aug 25, 2025
7 checks passed
@mekarpeles mekarpeles deleted the copilot/fix-11136 branch August 25, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Response Issues which require feedback from lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Internet Speculative Fiction Database (ISFDB) identifiers

2 participants