-
Notifications
You must be signed in to change notification settings - Fork 0
USE 364 - mitlibwebsite targeted fulltext extraction #268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ghukill
merged 3 commits into
main
from
USE-364-mitlibwebsite-targeted-fulltext-extraction
Jan 30, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # CODEOWNERS file (from GitHub template at | ||
| # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) | ||
| # Each line is a file pattern followed by one or more owners. | ||
|
|
||
| ############################################################################## | ||
| # These owners will be the default owners for everything in the repo. Unless a | ||
| # later match takes precedence, @ghukill will be requested for review | ||
| # when someone opens a pull request.This is commented out in favor of using a | ||
| # team as the default (see below). It is left here as a comment to indicate | ||
| # the primary expert for this code. | ||
| # * @ghukill | ||
|
|
||
| # Teams can be specified as code owners as well. Teams should be identified in | ||
| # the format @org/team-name. Teams must have explicit write access to the | ||
| # repository. | ||
| * @mitlibraries/dataeng | ||
|
|
||
| # We set the senior engineer in the team as the owner of the CODEOWNERS file as | ||
| # a layer of protection for unauthorized changes. | ||
| /.github/CODEOWNERS @ghukill |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <html> | ||
| <head> | ||
| <meta property="og:description" content="Test description"> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Header content to ignore</h1> | ||
| </header> | ||
| <div class="s-lib-header">Staff Directory Header</div> | ||
| <div class="s-lib-main"> | ||
| <p>Libguides directory content here.</p> | ||
| </div> | ||
| <footer> | ||
| <h1>Footer content to ignore</h1> | ||
| </footer> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <html> | ||
| <head> | ||
| <meta property="og:description" content="Test description"> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Header content to ignore</h1> | ||
| </header> | ||
| <div class="content-main"> | ||
| <p>WordPress main content here.</p> | ||
| </div> | ||
| <footer> | ||
| <h1>Footer content to ignore</h1> | ||
| </footer> | ||
| </body> | ||
| </html> |
16 changes: 16 additions & 0 deletions
16
tests/fixtures/mitlibwebsite/fulltext_wordpress_no_content.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <html> | ||
| <head> | ||
| <meta property="og:description" content="Test description"> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Header content</h1> | ||
| </header> | ||
| <div class="some-other-class"> | ||
| <p>Content without expected class.</p> | ||
| </div> | ||
| <footer> | ||
| <h1>Footer content</h1> | ||
| </footer> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very helpfully formatted fixture!