mysociety / mysociety/caps

Improved search and deep linking

Open
#129 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

project:cape
Dominant language
HTML
Stars
12
Forks
2
Avg merge
13d 3h
Merged PRs (30d)
1

Description

Copying from a notes document:

One of the user interviews was disappointed that the search couldn’t link to individual pages, and this feels a fixable issue with a little R&D time. Similarly there are some existing tools for table of contents extraction that paired with deep linking would make PDFs much more useful without needing to fully understand the content. Structured understanding of tables of contents could improve search, and provide a light form of structured content for comparing documents.

Chrome supports both linking to a specific page of a PDF url, and also linking to specific text fragments on an html page. Could use this to validate if it's useful.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by validating Chrome's support for links to specific PDF pages and HTML text fragments, then review the linked pdf.tocgen tool for table-of-contents extraction. Done would require a concrete scope and implementation plan for page-level search links, TOC structure, and document comparison.

Written by the indexing model from the issue text.

Assessment

Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.